Changes between Initial Version and Version 1 of Ticket #29825
- Timestamp:
- Oct 4, 2018, 3:28:26 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29825 – Description
initial v1 1 1 When ngettext is called with a msgid and that msgid has a msgstr that is also a valid msgid in the same catalog, the return value is not the msgstr, but instead is a single character from the msgstr. The problem seems to be that the msgstr is passed back into ngettext and since it has a valid value in the catalog, the code breaks into the else block and returns the 0 index character... 2 2 3 {{{#!python 3 4 django.ngettext = function(singular, plural, count) { 4 5 var value = django.catalog[singular]; … … 9 10 } 10 11 }; 12 }}} 11 13 12 14 The example in OpenStack Horizon (see link below) is that the French bundle contains the following: