diff --git a/converse.js b/converse.js index e4d3cbf44..8cff8c083 100644 --- a/converse.js +++ b/converse.js @@ -76,7 +76,7 @@ _.extend(this, _.pick(settings, whitelist)); var __ = $.proxy(function (str) { - if (i18n === undefined) { + if (this.i18n === undefined) { return str; } var t = this.i18n.translate(str);