{% extends "rosetta/base.html" %} {% load rosetta i18n %} {% block extra_head %} {% endblock %} {% block header %} {{block.super}} {% if user.is_active and user.is_staff %}
{% trans 'Welcome,' %} {% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}. {# copied from the admin/base.html template #} {% block userlinks %} {% url django-admindocs-docroot as docsroot %} {% if docsroot %} {% trans 'Documentation' %} / {% endif %} {% url admin:password_change as password_change_url %} {% if password_change_url %} {% else %} {% endif %} {% trans 'Change password' %} / {% url admin:logout as logout_url %} {% if logout_url %} {% else %} {% endif %} {% trans 'Log out' %} {% endblock %}
{% endif %} {% block nav-global %}{% endblock %} {% endblock %} {% block pagetitle %}{{block.super}} - {{rosetta_i18n_lang_name}} ({{ rosetta_i18n_pofile.percent_translated|floatformat:0 }}%){% endblock %} {% block breadcumbs %}
{% trans "Home" %} › {% trans "Translation" %}: {{ rosetta_i18n_lang_name }}
{% if not rosetta_i18n_write %}

{% trans "File is read-only: download the file when done editing!" %}

{% endif %} {% if rosetta_last_save_error %}

{% trans "Some items in your last translation block couldn't be saved: this usually happens when the catalog file changes on disk after you last loaded it." %}

{% endif %} {% endblock %} {% block main %}

{% blocktrans %}Translate into {{rosetta_i18n_lang_name}}{% endblocktrans %}

( {% blocktrans with rosetta_i18n_pofile.percent_translated|floatformat:1 as percent_translated %}total progress: {{ percent_translated }}%{% endblocktrans %} )

{% rosetta_csrf_token %} {% if main_language %}{% endif %} {# #} {% for message in messages %} {% if message.msgid_plural %} {% else %} {% if main_language %}{% endif %} {% endif %} {% comment %} {% endcomment %} {% endfor %}
{% trans "Original" %}{{ main_language }}{{ rosetta_i18n_lang_name }} {% trans "Fuzzy" %}{% trans "Occurrences(s)" %}
{{message.msgid|format_message|linebreaksbr}} {{message.msgid_plural|format_message|linebreaksbr}}
{% for k, msgstr in message.msgstr_plural.items|dictsort:"0" %} {% endfor %} {{ message.msgid|format_message|linebreaksbr }}{{ message.main_lang|format_message|linebreaksbr }} {% if ENABLE_TRANSLATION_SUGGESTIONS %}{% trans "suggest" %}{% endif %} {% for fn,lineno in message.occurrences %} {{ fn }}:{{lineno}} {% endfor %} {% if message.occurrences|length|gt:"3" %} … ({% blocktrans count message.occurrences|length|minus:"3" as more_count %}{{more_count}} more{% plural %}{{more_count}} more{% endblocktrans %}) {% endif %}

{% if query %} {% endif %} {% if needs_pagination %} {% trans "Skip to page:" %} {% for i in page_range %} {% ifequal i '...' %} {{ i }} {% else %} {% ifequal i page %} {{i}} {% else %} {{i}} {% endifequal %} {% endifequal %} {% endfor %} {% else %} {% trans "Displaying:" %} {% endif %} {% blocktrans count rosetta_i18n_pofile|length as message_number and paginator.object_list|length as hits %}{{hits}}/{{message_number}} message{% plural %}{{hits}}/{{message_number}} messages{% endblocktrans %}

{% endblock %}