projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9335809
)
Pman.I18n.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 04:09:16 +0000
(12:09 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 04:09:16 +0000
(12:09 +0800)
Pman.I18n.js
patch
|
blob
|
history
diff --git
a/Pman.I18n.js
b/Pman.I18n.js
index
2318aa4
..
2622d2b
100644
(file)
--- a/
Pman.I18n.js
+++ b/
Pman.I18n.js
@@
-44,6
+44,13
@@
Pman.I18n = {
{
var ret = code;
var lang = Pman.Login.authUser.lang || 'en'
+ if (code.indexOf('_') > -1) {
+ var clang = code.split('_').shift();
+ var cc = code.split('_').pop();
+ return this.toName('l', clang) + ' (' + this.toName('c', cc) + ')';
+ }
+
+
Roo.each(Pman.I18n.Data[lang], function(d) {
if (d.code == code) {
ret = d.title;