mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[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:
		| @@ -98,7 +98,7 @@ js_catalog_template = r""" | |||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   django.ngettext = function (singular, plural, count) { |   django.ngettext = function (singular, plural, count) { | ||||||
|     value = django.catalog[singular]; |     var value = django.catalog[singular]; | ||||||
|     if (typeof(value) == 'undefined') { |     if (typeof(value) == 'undefined') { | ||||||
|       return (count == 1) ? singular : plural; |       return (count == 1) ? singular : plural; | ||||||
|     } else { |     } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user