projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
101bd2d
)
Pman.I18n.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 4 Aug 2010 06:29:18 +0000
(14:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 4 Aug 2010 06:29:18 +0000
(14:29 +0800)
Pman.I18n.js
patch
|
blob
|
history
diff --git
a/Pman.I18n.js
b/Pman.I18n.js
index
f2f6bba
..
bf53736
100644
(file)
--- a/
Pman.I18n.js
+++ b/
Pman.I18n.js
@@
-127,7
+127,15
@@
Pman.I18n = {
return Pman.I18n.Data[lang][type];
},
-
+ simpleStoreData : function(type)
+ {
+ var lang = Pman.Login.authUser.lang || 'en';
+ var ret = [];
+ Roo.each(Pman.I18n.Data[lang][type], function (o) {
+ ret.push([ o.code, o.title ]);
+ })
+ return ret;
+ },
// DEPRECIATED... -- see dataToProxy
countryStore : function() { return {