projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
591a018
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 03:57:05 +0000
(11:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 03:57:05 +0000
(11:57 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
d3230cf
..
471ddcb
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-187,12
+187,12
@@
class Pman_Core_i18N extends Pman
$ar = array();
foreach($langs as $lang)
{
$ar = array();
foreach($langs as $lang)
{
- $lang = array_shift(explode('_', strtoupper($lang)));
+ $
r
lang = array_shift(explode('_', strtoupper($lang)));
$ar[$lang] = array(
$ar[$lang] = array(
- 'l' => $this->objToList('l', new I18Nv2_Language($lang, 'UTF-8')),
- 'c' => $this->objToList('c', new I18Nv2_Country($lang, 'UTF-8')),
- 'm' => $this->objToList('m', new I18Nv2_Currency($lang, 'UTF-8'))
+ 'l' => $this->objToList('l', new I18Nv2_Language($
r
lang, 'UTF-8')),
+ 'c' => $this->objToList('c', new I18Nv2_Country($
r
lang, 'UTF-8')),
+ 'm' => $this->objToList('m', new I18Nv2_Currency($
r
lang, 'UTF-8'))
);
}
header('Content-type: text/javascript');
);
}
header('Content-type: text/javascript');