Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 5217d01b77188d79387bb7fa333e5349f66a8efe 1 parent d774cb2
Tim Graham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/i18n.py
2  django/views/i18n.py
View
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.