projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2baa501
)
Pman.Tab.AdminTranslations.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 04:19:35 +0000
(12:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 04:19:35 +0000
(12:19 +0800)
Pman.Tab.AdminTranslations.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminTranslations.js
b/Pman.Tab.AdminTranslations.js
index
81a341f
..
4678ace
100644
(file)
--- a/
Pman.Tab.AdminTranslations.js
+++ b/
Pman.Tab.AdminTranslations.js
@@
-363,13
+363,7
@@
Pman.Tab.AdminTranslations = new Roo.util.Observable({
return true;
}
-
- var tl = e.record.get('id').split('/')[0];
-
- tl = (tl == 'zh_HK') ? 'zh-TW' : tl;
- tl = tl.replace('_', '-');
- var rec = e.record;
-
+
Pman.gtranslate(e.record.get('lval_en'), 'en', tl, function(result) {