add localization to unknown variable error

pull/3/merge
Manuel Menezes de Sequeira 2014-10-14 17:58:57 +01:00
rodzic 5f3279990b
commit dda2d48f16
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -3003,9 +3003,9 @@ VariableFrame.prototype.find = function (name) {
var frame = this.silentFind(name);
if (frame) {return frame; }
throw new Error(
'a variable of name \''
localize('a variable of name \'')
+ name
+ '\'\ndoes not exist in this context'
+ localize('\'\ndoes not exist in this context')
);
};
@ -3070,9 +3070,9 @@ VariableFrame.prototype.getVar = function (name) {
return '';
}
throw new Error(
'a variable of name \''
localize('a variable of name \'')
+ name
+ '\'\ndoes not exist in this context'
+ localize('\'\ndoes not exist in this context')
);
};