From: Alan Knowles Date: Thu, 15 Sep 2011 02:48:44 +0000 (+0800) Subject: Pman.I18n.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a49daeefa37ea5b48d0b4fb856d7773cc164f063 Pman.I18n.js --- 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);