From 0892bd2a238509a1a984007cf85c9197ec7e7cba Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 8 Sep 2020 16:02:24 +0800 Subject: [PATCH] add currency map to i18n data --- I18n.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/I18n.php b/I18n.php index 12ed22dd..101cdda4 100644 --- a/I18n.php +++ b/I18n.php @@ -200,6 +200,10 @@ class Pman_Core_I18n extends Pman $i = DB_DataObject::Factory('I18n'); $ar[$lang]['m'] = $i->toTransList('m', $rlang); } + require_once 'I18Nv2/CurrencyMap.php'; + + $ar['currency_map'] = I18Nv2_CurrencyMap::$s_map; + //echo '
';print_r($ar);
         header('Content-type: text/javascript');
         echo "Roo.namespace('Pman.I18n');";
-- 
2.39.2