summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2012-04-28 14:40:07 -0700
committerAdrian Holovaty <adrian@holovaty.com>2012-04-28 14:40:07 -0700
commitc2055ee1610e610c372cc17c34e4e1686fcb2011 (patch)
tree7b80b13ebb8ed99017675001bd674447a29c0b87
parent93624136703546883dafcb3f72527dedfcb250ad (diff)
parent97502a96f4c51131e4e4c11bf8824de23ad5246f (diff)
Merge pull request #14 from matthewwithanm/js-i18n-patch-2
Corrected i18n javascript_catalog Reference Error
-rw-r--r--django/views/i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/i18n.py b/django/views/i18n.py
index 140dc543e3..5d1ecb99ea 100644
--- a/django/views/i18n.py
+++ b/django/views/i18n.py
@@ -125,7 +125,7 @@ LibFormatFoot = """
function get_format(format_type) {
var value = formats[format_type];
if (typeof(value) == 'undefined') {
- return msgid;
+ return format_type;
} else {
return value;
}