Opened 15 years ago
Closed 15 years ago
#11988 closed (invalid)
Wrong translated result count text on admin search form block when LANGUAGE_CODE = 'zh-CN'
Reported by: | twinsant | Owned by: | nobody |
---|---|---|---|
Component: | Translations | Version: | 1.1 |
Severity: | Keywords: | search_form | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
1 result/{{ coutner }} results always will be "1 个结果", which means 1 result in Chinese.
We have two solution for this bug, just see attached files.
Attachments (2)
Change History (4)
by , 15 years ago
Attachment: | django_search_form_po_zh.patch added |
---|
comment:1 by , 15 years ago
forgot the bug code block: django/contrib/admin/templates/admin/search_form.html
{% if show_result_count %}
<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>
{% endif %}
comment:2 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
It's no help giving us two solutions - we don't speak chinese, so we aren't in a position to judge the correctness of the solution.
Closing invalid - please reopen if you want to make a single recommendation.
solution one