Permalink
Browse files

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

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

Backport of 0b1d425 from master
  • Loading branch information...
1 parent d774cb2 commit 5217d01b77188d79387bb7fa333e5349f66a8efe @timgraham timgraham committed Oct 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/views/i18n.py
@@ -98,7 +98,7 @@ def get_formats():
};
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 {

0 comments on commit 5217d01

Please sign in to comment.