Commit 1d6f2dbe authored by JC Brand's avatar JC Brand

Bugfix. i18n is attr, not variable.

parent d4502d6e
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
_.extend(this, _.pick(settings, whitelist)); _.extend(this, _.pick(settings, whitelist));
var __ = $.proxy(function (str) { var __ = $.proxy(function (str) {
if (i18n === undefined) { if (this.i18n === undefined) {
return str; return str;
} }
var t = this.i18n.translate(str); var t = this.i18n.translate(str);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment