From a49daeefa37ea5b48d0b4fb856d7773cc164f063 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Sep 2011 10:48:44 +0800 Subject: [PATCH] Pman.I18n.js --- Pman.I18n.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Pman.I18n.js b/Pman.I18n.js index 4ecd8737..b8878f5e 100644 --- a/Pman.I18n.js +++ b/Pman.I18n.js @@ -16,7 +16,7 @@ * includes standard pulldowns. */ -Pmnan.on('load', Pman.I18n.onReady, this) + Pman.I18n = { @@ -33,7 +33,18 @@ Pman.I18n = { onReady : function() { var d = this.Data; + var lang = Pman.Login.authUser.lang; + var types = ['l','c']; + Roo.each(types, function(t) { + Roo.each(d[lang][t],function(v,i) { + if (v['code'] == '**') { + d[lang][t][i]['title'] = "Other"; + } + + }); + + }); @@ -460,4 +471,5 @@ Pman.I18n = { }; +Pmnan.on('load', Pman.I18n.onReady, Pman.I18n); -- 2.39.2