projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47973cc
)
Pman.I18n.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 02:48:44 +0000
(10:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 02:48:44 +0000
(10:48 +0800)
Pman.I18n.js
patch
|
blob
|
history
diff --git
a/Pman.I18n.js
b/Pman.I18n.js
index
4ecd873
..
b8878f5
100644
(file)
--- 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);