3 | | {{{ |
4 | | django.ngettext = function(singular, plural, count) { |
5 | | return (count === 1) ? singular : plural; |
6 | | }; |
7 | | }}} |
8 | | |
9 | | the tests under tests/i18n/tests.py are testing the functions from utils/translation (where trans_real.py and trans_null.py both define ngettext). I'll continue investigating to see if I can pin it down further. |
10 | | |
11 | | When the problem is occurring, the initial call into the django.ngettext (as observed via the debugger) passes in ("Image", "Images", undefined) |
| 3 | When the problem is occurring in Horizon, the initial call into the django.ngettext (as observed via the debugger) passes in ("Image", "Images", undefined) |