Better message

This commit is contained in:
Michal Čihař 2012-03-02 15:02:23 +01:00
parent 0f1607e73d
commit 3ae0f7089e
2 changed files with 28 additions and 18 deletions

View File

@ -15,13 +15,9 @@
{% for trans in object.translation_set.all %}
<li><a href="{{ trans.get_absolute_url }}">{{ trans.language.name }}
{% if trans.fuzzy %}
{% blocktrans with trans.get_translated_percent as translated and trans.get_fuzzy_percent as fuzzy %}
({{ translated }}% translated, {{ fuzzy }}% fuzzy)
{% endblocktrans %}
{% blocktrans with trans.get_translated_percent as translated and trans.get_fuzzy_percent as fuzzy %}({{ translated }}% translated, {{ fuzzy }}% fuzzy){% endblocktrans %}
{% else %}
{% blocktrans with trans.get_translated_percent as translated %}
({{ translated }}% translated)
{% endblocktrans %}
{% blocktrans with trans.get_translated_percent as translated %}({{ translated }}% translated){% endblocktrans %}
{% endif %}
</a></li>
{% endfor %}

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-02 14:54+0100\n"
"POT-Creation-Date: 2012-03-02 15:02+0100\n"
"PO-Revision-Date: 2012-03-02 14:59+0200\n"
"Last-Translator: Michal Čihař <michal@cihar.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -81,20 +81,18 @@ msgid "Translations"
msgstr "Překlady"
#: html/subproject.html:18
#, python-format
msgid ""
#, fuzzy, python-format
msgid "(%(translated)s%% translated, %(fuzzy)s%% fuzzy)"
msgstr ""
"\n"
" (%(translated)s%% translated, %(fuzzy)s%% fuzzy)\n"
" "
msgstr "(%(translated)s%% přeloženo, %(fuzzy)s%% nejasných)\r\n"
"(%(translated)s%% přeloženo, %(fuzzy)s%% nejasných)\n"
#: html/subproject.html:22
#, python-format
msgid ""
#: html/subproject.html:20
#, fuzzy, python-format
msgid "(%(translated)s%% translated)"
msgstr ""
"\n"
" (%(translated)s%% translated)\n"
" "
msgstr "(%(translated)s%% přeloženo)"
"(%(translated)s%% přeloženo)"
#: html/subproject_info.html:6
msgid "Git repository:"
@ -320,3 +318,19 @@ msgstr ""
#: trans/views.py:140
msgid "You have reached end of translating."
msgstr ""
#~ msgid ""
#~ "\n"
#~ " (%(translated)s%% translated, %(fuzzy)s%% fuzzy)\n"
#~ " "
#~ msgstr ""
#~ "\n"
#~ "(%(translated)s%% přeloženo, %(fuzzy)s%% nejasných)\n"
#~ msgid ""
#~ "\n"
#~ " (%(translated)s%% translated)\n"
#~ " "
#~ msgstr ""
#~ "\n"
#~ "(%(translated)s%% přeloženo)"