{% extends "rosetta/base.html" %} {% load rosetta i18n %} {% block title %}{{block.super}} - {{MESSAGES_SOURCE_LANGUAGE_NAME}} - {{rosetta_i18n_lang_name}} ({{ rosetta_i18n_pofile.percent_translated|floatformat:0 }}%){% endblock %} {% block content_subtitle %} / {{MESSAGES_SOURCE_LANGUAGE_NAME}} {% blocktrans %}to {{rosetta_i18n_lang_name}}{% endblocktrans %}{% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block extrastyle %} {{ block.super }} {# Dirty hack because rosetta uses messages for the object list instead of object_list ... argh. #} {% endblock %} {% block breadcrumbs %} {% 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 content-class %}change-list content-flexible{% endblock %} {% block main %}
{% trans "Filter" %}

{% rosetta_csrf_token %}
{% if messages %}
{% if main_language %} {% endif %} {% for message in messages %} {% if message.msgid_plural %} {% else %} {% if main_language %}{% endif %} {% endif %} {% 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}}
{% if message.msgctxt %} {% trans "Context hint" %}: {{message.msgctxt}} {% else %} {% if message.comment %} {% trans "Context hint" %}: {{message.comment}} {% endif %} {% endif %}
{% for k, msgstr in message.msgstr_plural.items|dictsort:"0" %} {% endfor %} {{ message.msgid|format_message|linebreaksbr }} {% if message.msgctxt %} {% trans "Contextual hint" %}: "{{message.msgctxt}}" {% else %} {% if message.comment %} {% trans "Context hint" %}: {{message.comment}} {% endif %} {% endif %} {{ 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 %}
{% endif %}

{% endblock %}