toName: function(type, code)
{
var ret = code;
- Roo.each(Pman.Login.authUser.i18n[type], function(d) {
+ var lang = Pman.Login.authUser.lang || 'en'
+ Roo.each(Pman.I18N.Data[lang], function(d) {
if (d.code == code) {
ret = d.title;
return false;
'title'
]
},
-
+ // DEPRECIATED...
countryStore : function() { return {
// load using HTTP
}
}},
+ // DEPRECIATED...
languageStore: function() {return{
// load using HTTP
xtype: 'Store',
field: 'title', direction: 'ASC'
}
}},
+ // DEPRECIATED...
currencyStore: function() {return{
// load using HTTP
xtype: 'Store',
field: 'title', direction: 'ASC'
}
}},
-
+ // DEPRECIATED...
country: function(cfg) {
var _this = this;
cfg = cfg || {};
}, cfg);
},
+ // DEPRECIATED...
language: function(cfg) {
var _this = this;
cfg = cfg || {};
}, cfg);
},
-
+ // DEPRECIATED...
currency: function(cfg) {
var _this = this;
cfg = cfg || {};
}, cfg);
},
-
+ // DEPRECIATED...
languageList : function(cfg) {
cfg = cfg || {};
}, cfg);
},
+ // DEPRECIATED...
countryList : function(cfg) {
cfg = cfg || {};