[1.6.x] Fixed #21347 -- Added missing JS variable declaration.

Thanks szymon.barglowski at gmail.com for the report.

Backport of 0b1d425a41 from master
This commit is contained in:
Tim Graham 2013-10-30 09:12:27 -04:00
parent d774cb219c
commit 5217d01b77
1 changed files with 1 additions and 1 deletions

View File

@ -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 {