Bugfix. i18n is attr, not variable.
This commit is contained in:
parent
d4502d6e6f
commit
1d6f2dbe5a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user