From: Alan Knowles Date: Tue, 20 Jul 2010 07:49:31 +0000 (+0800) Subject: Pman.I18n.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=396d2b75c55c1a6adfbf6543c5dddb428a7c085a Pman.I18n.js --- 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 {