mirror of
https://github.com/django/django.git
synced 2026-02-09 02:49:25 +08:00
[5.2.x] Fixed #36681 -- Removed English pluralization bias from example in docs/topics/i18n/translation.txt.
Backport of 0ea01101c3 from main.
This commit is contained in:
committed by
Jacob Walls
parent
71267c97db
commit
368f955c37
1
AUTHORS
1
AUTHORS
@@ -1049,6 +1049,7 @@ answer newbie questions, and generally made Django that much better:
|
||||
Unai Zalakain <unai@gisa-elkartea.org>
|
||||
Valentina Mukhamedzhanova <umirra@gmail.com>
|
||||
valtron
|
||||
Varun Kasyap Pentamaraju <varunkasyap@hotmail.com>
|
||||
Vasiliy Stavenko <stavenko@gmail.com>
|
||||
Vasil Vangelovski
|
||||
Vibhu Agarwal <vibhu-agarwal.github.io>
|
||||
|
||||
@@ -715,7 +715,7 @@ An example:
|
||||
.. code-block:: html+django
|
||||
|
||||
{% blocktranslate count counter=list|length %}
|
||||
There is only one {{ name }} object.
|
||||
There is {{ counter }} {{ name }} object.
|
||||
{% plural %}
|
||||
There are {{ counter }} {{ name }} objects.
|
||||
{% endblocktranslate %}
|
||||
|
||||
Reference in New Issue
Block a user