bugfix
This commit is contained in:
parent
980176d973
commit
0ae12e86ff
@ -28,9 +28,7 @@ bricks.I18n = class {
|
|||||||
_(txt, obj){
|
_(txt, obj){
|
||||||
var outt, mt;
|
var outt, mt;
|
||||||
var msgs = this.lang_msgs[this.lang].msgs;
|
var msgs = this.lang_msgs[this.lang].msgs;
|
||||||
if (msgs.hasOwnProperty(txt)){
|
|
||||||
mt = msgs[txt] || txt;
|
mt = msgs[txt] || txt;
|
||||||
}
|
|
||||||
if (obj instanceof Object){
|
if (obj instanceof Object){
|
||||||
outt = obj_fmtstr(obj, mt);
|
outt = obj_fmtstr(obj, mt);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user