Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #21347 -- Added missing JS variable declaration.

Thanks szymon.barglowski at gmail.com for the report.
  • Loading branch information...
commit 0b1d425a4128928291bfaa2c2582e715ef60937d 1 parent 9fde42a
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/i18n.py
View
2  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 {

1 comment on commit 0b1d425

@claudep
Collaborator

I'd vote for backporting this one to 1.6

Please sign in to comment.
Something went wrong with that request. Please try again.