projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ca4761f
)
add currency map to i18n data
author
Alan Knowles
<alan@roojs.com>
Tue, 8 Sep 2020 08:02:24 +0000
(16:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 8 Sep 2020 08:02:24 +0000
(16:02 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
12ed22d
..
101cdda
100644
(file)
--- 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 '<PRE>';print_r($ar);
header('Content-type: text/javascript');
echo "Roo.namespace('Pman.I18n');";