mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
Fixed #21347 -- Added missing JS variable declaration.
Thanks szymon.barglowski at gmail.com for the report.
This commit is contained in:
parent
9fde42a69a
commit
0b1d425a41
@ -98,7 +98,7 @@ js_catalog_template = r"""
|
||||
};
|
||||
|
||||
django.ngettext = function (singular, plural, count) {
|
||||
value = django.catalog[singular];
|
||||
var value = django.catalog[singular];
|
||||
if (typeof(value) == 'undefined') {
|
||||
return (count == 1) ? singular : plural;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user