From: Alan Knowles Date: Thu, 15 Sep 2011 02:43:37 +0000 (+0800) Subject: Pman.I18n.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=47973cc80ef9c5bf40b7b2d31e93b36b4b5a9ac3 Pman.I18n.js --- 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)