diff --git a/django/views/i18n.py b/django/views/i18n.py
index 2078649..3cd4a84 100644
a
|
b
|
function pluralidx(count) { return (count == 1) ? 0 : 1; }
|
123 | 123 | """ |
124 | 124 | |
125 | 125 | InterPolate = r""" |
126 | | function interpolate(fmt, obj, named) { |
127 | | if (named) { |
| 126 | function interpolate(fmt, obj) { |
| 127 | if (obj.constructor.toString().indexOf('Object') != -1) { |
128 | 128 | return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); |
129 | 129 | } else { |
130 | 130 | return fmt.replace(/%s/g, function(match){return String(obj.shift())}); |