mirror of https://github.com/django/django.git
Merge pull request #14 from matthewwithanm/js-i18n-patch-2
Corrected i18n javascript_catalog Reference Error
This commit is contained in:
commit
c2055ee161
|
@ -125,7 +125,7 @@ LibFormatFoot = """
|
||||||
function get_format(format_type) {
|
function get_format(format_type) {
|
||||||
var value = formats[format_type];
|
var value = formats[format_type];
|
||||||
if (typeof(value) == 'undefined') {
|
if (typeof(value) == 'undefined') {
|
||||||
return msgid;
|
return format_type;
|
||||||
} else {
|
} else {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue