From 396d2b75c55c1a6adfbf6543c5dddb428a7c085a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 20 Jul 2010 15:49:31 +0800 Subject: [PATCH] Pman.I18n.js --- Pman.I18n.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Pman.I18n.js b/Pman.I18n.js index 2bd1c492..6bb161a3 100644 --- a/Pman.I18n.js +++ b/Pman.I18n.js @@ -96,6 +96,8 @@ Pman.I18n = { ] }, + + /** * * these should use generally.. @@ -116,6 +118,14 @@ Pman.I18n = { * */ + dataToProxy : function(type) + { + var lang = Pman.Login.authUser.lang || 'en'; + return Pman.I18n.Data[lang][type]; + + }, + + // DEPRECIATED... countryStore : function() { return { -- 2.39.2