Ticket #14735: search_results_plural_zh.diff

File search_results_plural_zh.diff, 4.1 KB (added by Claude Paroz, 9 years ago)

Include Chinese translations fixes

  • django/conf/locale/zh_CN/LC_MESSAGES/django.po

    diff --git a/django/conf/locale/zh_CN/LC_MESSAGES/django.po b/django/conf/locale/zh_CN/LC_MESSAGES/django.po
    index 8bba862..e0c6c31 100644
    a b msgstr "执行" 
    716716#, python-format
    717717msgid "1 result"
    718718msgid_plural "%(counter)s results"
    719 msgstr[0] "1 条结果"
    720 msgstr[1] "%(counter)s 条结果"
     719msgstr[0] "%(counter)s 条结果"
    721720
    722721#: contrib/admin/templates/admin/search_form.html:10
    723722#, python-format
  • django/conf/locale/zh_TW/LC_MESSAGES/django.po

    diff --git a/django/conf/locale/zh_TW/LC_MESSAGES/django.po b/django/conf/locale/zh_TW/LC_MESSAGES/django.po
    index 0efe779..80f7ad2 100644
    a b msgstr "去" 
    690690#, python-format
    691691msgid "1 result"
    692692msgid_plural "%(counter)s results"
    693 msgstr[0] "1 則结果"
    694 msgstr[1] "%(counter)s 則结果"
     693msgstr[0] "%(counter)s 則结果"
    695694
    696695#: contrib/admin/templates/admin/search_form.html:10
    697696#, python-format
    msgstr "如果你在這一個欄位輸入任何內容,會被視為是垃圾評 
    13811380msgid "Watch your mouth! The word %s is not allowed here."
    13821381msgid_plural "Watch your mouth! The words %s are not allowed here."
    13831382msgstr[0] "看住你的嘴!此處不允許 %s 這樣的字眼。"
    1384 msgstr[1] ""
    13851383
    13861384#: contrib/comments/models.py:23
    13871385msgid "object ID"
    msgstr "rd" 
    15661564msgid "%(value).1f million"
    15671565msgid_plural "%(value).1f million"
    15681566msgstr[0] "%(value).1f 百萬"
    1569 msgstr[1] ""
    15701567
    15711568#: contrib/humanize/templatetags/humanize.py:54
    15721569#, python-format
    15731570msgid "%(value).1f billion"
    15741571msgid_plural "%(value).1f billion"
    15751572msgstr[0] "%(value).1f 十億"
    1576 msgstr[1] ""
    15771573
    15781574#: contrib/humanize/templatetags/humanize.py:57
    15791575#, python-format
    15801576msgid "%(value).1f trillion"
    15811577msgid_plural "%(value).1f trillion"
    15821578msgstr[0] "%(value).1f 兆"
    1583 msgstr[1] ""
    15841579
    15851580#: contrib/humanize/templatetags/humanize.py:73
    15861581msgid "one"
    msgid "Please enter valid %(self)s IDs. The value %(value)r is invalid." 
    36933688msgid_plural ""
    36943689"Please enter valid %(self)s IDs. The values %(value)r are invalid."
    36953690msgstr[0] "請輸入有效的 %(self)s ID。輸入值 %(value)r 是錯誤的。"
    3696 msgstr[1] ""
    36973691
    36983692#: forms/fields.py:54
    36993693msgid "This field is required."
    msgstr "或" 
    40674061msgid "year"
    40684062msgid_plural "years"
    40694063msgstr[0] "年"
    4070 msgstr[1] "年"
    40714064
    40724065#: utils/timesince.py:22
    40734066msgid "month"
    40744067msgid_plural "months"
    40754068msgstr[0] "月"
    4076 msgstr[1] "月"
    40774069
    40784070#: utils/timesince.py:23
    40794071msgid "week"
    40804072msgid_plural "weeks"
    40814073msgstr[0] "週"
    4082 msgstr[1] "週"
    40834074
    40844075#: utils/timesince.py:24
    40854076msgid "day"
    40864077msgid_plural "days"
    40874078msgstr[0] "天"
    4088 msgstr[1] "天"
    40894079
    40904080#: utils/timesince.py:25
    40914081msgid "hour"
    40924082msgid_plural "hours"
    40934083msgstr[0] "小時"
    4094 msgstr[1] "小時"
    40954084
    40964085#: utils/timesince.py:26
    40974086msgid "minute"
    40984087msgid_plural "minutes"
    40994088msgstr[0] "分鐘"
    4100 msgstr[1] "分鐘"
    41014089
    41024090#: utils/timesince.py:43
    41034091#, fuzzy
  • django/contrib/admin/templates/admin/search_form.html

    diff --git a/django/contrib/admin/templates/admin/search_form.html b/django/contrib/admin/templates/admin/search_form.html
    index 4133cb8..3e14a11 100644
    a b  
    77<input type="text" size="40" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar" />
    88<input type="submit" value="{% trans 'Search' %}" />
    99{% if show_result_count %}
    10     <span class="small quiet">{% blocktrans count cl.result_count as counter %}1 result{% plural %}{{ counter }} results{% endblocktrans %} (<a href="?{% if cl.is_popup %}pop=1{% endif %}">{% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %}</a>)</span>
     10    <span class="small quiet">{% blocktrans count cl.result_count as counter %}{{ counter }} result{% plural %}{{ counter }} results{% endblocktrans %} (<a href="?{% if cl.is_popup %}pop=1{% endif %}">{% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %}</a>)</span>
    1111{% endif %}
    1212{% for pair in cl.params.items %}
    1313    {% ifnotequal pair.0 search_var %}<input type="hidden" name="{{ pair.0 }}" value="{{ pair.1 }}"/>{% endifnotequal %}
Back to Top