Changes between Initial Version and Version 1 of Ticket #29825


Ignore:
Timestamp:
Oct 4, 2018, 3:28:26 PM (6 years ago)
Author:
Jeremy Moffitt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29825 – Description

    initial v1  
    11When 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...
    22
     3{{{#!python
    34    django.ngettext = function(singular, plural, count) {
    45      var value = django.catalog[singular];
     
    910      }
    1011    };
     12}}}
    1113
    1214The example in OpenStack Horizon (see link below) is that the French bundle contains the following:
Back to Top