1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

Fixed plural bug

This commit is contained in:
zhengxie 2012-10-31 11:36:49 +08:00
parent b60b27f022
commit c862991bbb
3 changed files with 14 additions and 13 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-31 00:16+0800\n"
"POT-Creation-Date: 2012-10-31 11:28+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -336,21 +336,27 @@ msgid ""
" "
msgid_plural ""
"\n"
" have new message\n"
" have new messages\n"
" "
msgstr[0] ""
"\n"
" 有新消息\n"
" "
#: templates/myhome.html:36
#, fuzzy, python-format
#, python-format
msgid ""
"\n"
" one group message has new reply\n"
" "
msgid_plural ""
"\n"
" %(counter)s group messages have new reply\n"
" %(counter)s group messages have new replies\n"
" "
msgstr[0] ""
"\n"
" %(counter)s 条群组留言有新回复\n"
" "
msgstr[0] "条群组留言有新回复"
#: templates/myhome.html:45
#, python-format
@ -364,10 +370,6 @@ msgid_plural ""
" "
msgstr[0] ""
"\n"
" 一条团体消息\n"
" "
msgstr[1] ""
"\n"
" %(counter)s 条团体消息\n"
" "
@ -779,8 +781,7 @@ msgstr "更多历史"
#, python-format
msgid "one contributor"
msgid_plural " %(counter)s contributors "
msgstr[0] "一个贡献者"
msgstr[1] " %(counter)s 个贡献者 "
msgstr[0] " %(counter)s 个贡献者 "
#: templates/repo_view_file.html:113
msgid "Open local file"

View File

@ -27,7 +27,7 @@
{% blocktrans count counter=grpmsg_list|length %}
has new message
{% plural %}
have new message
have new messages
{% endblocktrans %}
</li>
{% endif %}
@ -36,7 +36,7 @@
<li><a href="{{ SITE_ROOT }}group/reply/new/" class="no-bold">{% blocktrans count counter=grpmsg_reply_list|length %}
one group message has new reply
{% plural %}
{{ counter }} group messages have new reply
{{ counter }} group messages have new replies
{% endblocktrans %}</a></li>
{% endif %}