projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f3a85f
)
Pman.I18n.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 03:20:20 +0000
(11:20 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 03:20:20 +0000
(11:20 +0800)
Pman.I18n.js
patch
|
blob
|
history
diff --git
a/Pman.I18n.js
b/Pman.I18n.js
index
4c1a6c1
..
e44de6b
100644
(file)
--- a/
Pman.I18n.js
+++ b/
Pman.I18n.js
@@
-20,35
+20,7
@@
Pman.I18n = {
Pman.I18n = {
- /**
- * onReady: called on page load to fix 'other' translation.
- *
- * We have a special country/languages called 'other', which is used to handle
- * odd situations.
- *
- * To enable it to be translated, we need to change it's value after the pages is loaded..
- * The trigger is at the bottom of this file. (eg.Pman.on('load'))
- *
- */
- 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";
- }
-
- });
-
- });
-
-
- },
/**
* turn zh_HK,en => into Chinese(HK) , English
/**
* turn zh_HK,en => into Chinese(HK) , English
@@
-470,6
+442,4
@@
Pman.I18n = {
};
};
-
-Pmnan.on('load', Pman.I18n.onReady, Pman.I18n);
-
+