Merge pull request #42 from immensa/master

add trans - block title and block breadcrumbs in change_list.html
master
Brandon Taylor 2013-06-09 10:43:14 -07:00
commit 49865b4228
9 changed files with 33 additions and 1 deletions

View File

@ -9,6 +9,16 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: templates/adminsortable/change_list.html:15
#, python-format
msgid "Drag and drop %(model)s to change display order"
msgstr ""
#: templates/adminsortable/change_list.html:25
#, python-format
msgid "Reorder"
msgstr ""
#: templates/adminsortable/change_list.html:32
#, python-format
msgid "Drag and drop %(sort_type)s %(model)s to change their order."

View File

@ -13,6 +13,16 @@ msgstr ""
"X-Poedit-Language: Dutch\n"
"X-Poedit-Country: NETHERLANDS\n"
#: templates/adminsortable/change_list.html:15
#, python-format
msgid "Drag and drop %(model)s to change display order"
msgstr ""
#: templates/adminsortable/change_list.html:25
#, python-format
msgid "Reorder"
msgstr "Reorder"
#: templates/adminsortable/change_list.html:32
#, python-format
msgid "Drag and drop %(sort_type)s %(model)s to change their order."

View File

@ -9,6 +9,16 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: templates/adminsortable/change_list.html:15
#, python-format
msgid "Drag and drop %(model)s to change display order"
msgstr "Arraste e solte %(model)s para mudar a ordem de exibição"
#: templates/adminsortable/change_list.html:25
#, python-format
msgid "Reorder"
msgstr "Reordenar"
#: templates/adminsortable/change_list.html:32
#, python-format
msgid "Drag and drop %(sort_type)s %(model)s to change their order."

View File

@ -12,6 +12,8 @@
<script type="text/javascript" src="{{ STATIC_URL }}adminsortable/js/admin.sortable.js"></script>
{% endblock %}
{% block title %}{% blocktrans with opts.verbose_name_plural|capfirst as model %}Drag and drop {{ model }} to change display order{% endblocktrans %} | {% trans 'Django site admin' %}{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="../../../">
@ -22,7 +24,7 @@
{{ app_label|capfirst }}
</a>
&rsaquo;
Reorder
{% trans 'Reorder' %}
</div>
{% endblock %}

0
sample_project/manage.py 100644 → 100755
View File

View File