Fixed admindoc template errors introduced by 02fd87c821.

Also regenerated the affected translation template.

Refs #20540.
This commit is contained in:
Simon Charette 2013-06-02 00:32:29 -04:00
parent 61524b09cf
commit 590a41164e
3 changed files with 32 additions and 29 deletions

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Django\n" "Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-06-01 12:08+0200\n" "POT-Creation-Date: 2013-06-02 00:30-0400\n"
"PO-Revision-Date: 2010-05-13 15:35+0200\n" "PO-Revision-Date: 2010-05-13 15:35+0200\n"
"Last-Translator: Django team\n" "Last-Translator: Django team\n"
"Language-Team: English <en@li.org>\n" "Language-Team: English <en@li.org>\n"
@ -97,7 +97,7 @@ msgstr ""
msgid "Documentation" msgid "Documentation"
msgstr "" msgstr ""
#: templates/admin_doc/bookmarklets.html:8 #: templates/admin_doc/bookmarklets.html:8 templates/admin_doc/index.html:29
msgid "Bookmarklets" msgid "Bookmarklets"
msgstr "" msgstr ""
@ -152,16 +152,32 @@ msgstr ""
msgid "As above, but opens the admin page in a new window." msgid "As above, but opens the admin page in a new window."
msgstr "" msgstr ""
#: templates/admin_doc/index.html:17
#: templates/admin_doc/template_tag_index.html:9
msgid "Tags"
msgstr ""
#: templates/admin_doc/index.html:18 #: templates/admin_doc/index.html:18
msgid "List of all the template tags and their functions." msgid "List of all the template tags and their functions."
msgstr "" msgstr ""
#: templates/admin_doc/index.html:20
#: templates/admin_doc/template_filter_index.html:9
msgid "Filters"
msgstr ""
#: templates/admin_doc/index.html:21 #: templates/admin_doc/index.html:21
msgid "" msgid ""
"Filters are actions which can be applied to variables in a template to alter " "Filters are actions which can be applied to variables in a template to alter "
"the output." "the output."
msgstr "" msgstr ""
#: templates/admin_doc/index.html:23 templates/admin_doc/model_detail.html:16
#: templates/admin_doc/model_index.html:10
#: templates/admin_doc/model_index.html:14
msgid "Models"
msgstr ""
#: templates/admin_doc/index.html:24 #: templates/admin_doc/index.html:24
msgid "" msgid ""
"Models are descriptions of all the objects in the system and their " "Models are descriptions of all the objects in the system and their "
@ -169,6 +185,12 @@ msgid ""
"template variables" "template variables"
msgstr "" msgstr ""
#: templates/admin_doc/index.html:26 templates/admin_doc/view_detail.html:8
#: templates/admin_doc/view_index.html:9
#: templates/admin_doc/view_index.html:12
msgid "Views"
msgstr ""
#: templates/admin_doc/index.html:27 #: templates/admin_doc/index.html:27
msgid "" msgid ""
"Each page on the public site is generated by a view. The view defines which " "Each page on the public site is generated by a view. The view defines which "
@ -197,12 +219,6 @@ msgid ""
"Please ask your administrators to install <a href=\"%(link)s\">docutils</a>." "Please ask your administrators to install <a href=\"%(link)s\">docutils</a>."
msgstr "" msgstr ""
#: templates/admin_doc/model_detail.html:16
#: templates/admin_doc/model_index.html:10
#: templates/admin_doc/model_index.html:14
msgid "Models"
msgstr ""
#: templates/admin_doc/model_detail.html:21 #: templates/admin_doc/model_detail.html:21
#, python-format #, python-format
msgid "Model: %(name)s" msgid "Model: %(name)s"
@ -259,10 +275,6 @@ msgstr ""
msgid "Back to Documentation" msgid "Back to Documentation"
msgstr "" msgstr ""
#: templates/admin_doc/template_filter_index.html:9
msgid "Filters"
msgstr ""
#: templates/admin_doc/template_filter_index.html:12 #: templates/admin_doc/template_filter_index.html:12
msgid "Template filters" msgid "Template filters"
msgstr "" msgstr ""
@ -283,10 +295,6 @@ msgid ""
"using the filter." "using the filter."
msgstr "" msgstr ""
#: templates/admin_doc/template_tag_index.html:9
msgid "Tags"
msgstr ""
#: templates/admin_doc/template_tag_index.html:12 #: templates/admin_doc/template_tag_index.html:12
msgid "Template tags" msgid "Template tags"
msgstr "" msgstr ""
@ -307,14 +315,9 @@ msgid ""
"the tag." "the tag."
msgstr "" msgstr ""
#: templates/admin_doc/view_detail.html:8
#: templates/admin_doc/view_index.html:9
#: templates/admin_doc/view_index.html:12
msgid "Views"
msgstr ""
#: templates/admin_doc/view_detail.html:12 #: templates/admin_doc/view_detail.html:12
msgid "View: {{ name }}" #, python-format
msgid "View: %(name)s"
msgstr "" msgstr ""
#: templates/admin_doc/view_detail.html:23 #: templates/admin_doc/view_detail.html:23

View File

@ -14,19 +14,19 @@
<h1>{% trans 'Documentation' %}</h1> <h1>{% trans 'Documentation' %}</h1>
<div id="content-main"> <div id="content-main">
<h3><a href="tags/">{% trans 'Tags</a></h3> <h3><a href="tags/">{% trans 'Tags' %}</a></h3>
<p>{% trans 'List of all the template tags and their functions.' %}</p> <p>{% trans 'List of all the template tags and their functions.' %}</p>
<h3><a href="filters/">{% trans 'Filters</a></h3> <h3><a href="filters/">{% trans 'Filters' %}</a></h3>
<p>{% trans 'Filters are actions which can be applied to variables in a template to alter the output.' %}</p> <p>{% trans 'Filters are actions which can be applied to variables in a template to alter the output.' %}</p>
<h3><a href="models/">{% trans 'Models</a></h3> <h3><a href="models/">{% trans 'Models' %}</a></h3>
<p>{% trans 'Models are descriptions of all the objects in the system and their associated fields. Each model has a list of fields which can be accessed as template variables' %}.</p> <p>{% trans 'Models are descriptions of all the objects in the system and their associated fields. Each model has a list of fields which can be accessed as template variables' %}.</p>
<h3><a href="views/">{% trans 'Views</a></h3> <h3><a href="views/">{% trans 'Views' %}</a></h3>
<p>{% trans 'Each page on the public site is generated by a view. The view defines which template is used to generate the page and which objects are available to that template.' %}</p> <p>{% trans 'Each page on the public site is generated by a view. The view defines which template is used to generate the page and which objects are available to that template.' %}</p>
<h3><a href="bookmarklets/">{% trans 'Bookmarklets</a></h3> <h3><a href="bookmarklets/">{% trans 'Bookmarklets' %}</a></h3>
<p>{% trans 'Tools for your browser to quickly access admin functionality.' %}</p> <p>{% trans 'Tools for your browser to quickly access admin functionality.' %}</p>
</div> </div>

View File

@ -9,7 +9,7 @@
&rsaquo; {{ name }} &rsaquo; {{ name }}
</div> </div>
{% endblock %} {% endblock %}
{% block title %}{% trans 'View: {{ name }}' %}{% endblock %} {% block title %}{% blocktrans %}View: {{ name }}{% endblocktrans %}{% endblock %}
{% block content %} {% block content %}