From 47973cc80ef9c5bf40b7b2d31e93b36b4b5a9ac3 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 15 Sep 2011 10:43:37 +0800 Subject: [PATCH] Pman.I18n.js --- Pman.I18n.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Pman.I18n.js b/Pman.I18n.js index 2788cceb..4ecd8737 100644 --- a/Pman.I18n.js +++ b/Pman.I18n.js @@ -16,8 +16,29 @@ * includes standard pulldowns. */ +Pmnan.on('load', Pman.I18n.onReady, this) + Pman.I18n = { + /** + * onReady: called on page load to fix 'other' translation. + * + * We have a special country/languages called 'other', which is used to handle + * odd situations. + * + * To enable it to be translated, we need to change it's value after the pages is loaded.. + * + */ + + onReady : function() + { + var d = this.Data; + + + + + } + /** * turn zh_HK,en => into Chinese(HK) , English * @arg type type (c = country, l = lang) -- 2.39.2