FIX: Activate account page JS error with I18n
This commit is contained in:
parent
07d3f0fc26
commit
c4ca6b9934
|
@ -1,4 +1,5 @@
|
|||
(function() {
|
||||
if (typeof I18n !== "undefined") {
|
||||
var oldI18nlookup = I18n.lookup;
|
||||
I18n.lookup = function(scope, options) {
|
||||
return oldI18nlookup.apply(this, ["js." + scope, options]);
|
||||
|
@ -17,4 +18,5 @@
|
|||
return I18n.t(String(this), options);
|
||||
};
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue