diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-05-29 22:47:11 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-05-29 22:47:11 +0000 |
commit | f39b7a5699939610cf452eccb0b8d37dd5c4f7f4 (patch) | |
tree | 811e47bd2039f071eea997dd63ae5fa18ecae9a4 /langs/lib.php | |
parent | ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e (diff) | |
download | www-f39b7a5699939610cf452eccb0b8d37dd5c4f7f4.tar www-f39b7a5699939610cf452eccb0b8d37dd5c4f7f4.tar.gz www-f39b7a5699939610cf452eccb0b8d37dd5c4f7f4.tar.bz2 www-f39b7a5699939610cf452eccb0b8d37dd5c4f7f4.tar.xz www-f39b7a5699939610cf452eccb0b8d37dd5c4f7f4.zip |
Lang helpers small reorg.
- moved several functions in i18n class: _e(), _t(), _d(), _h(),
_lang_load() and _lang_return().
- kept shorthand helpers redirecting to it when needed.
- updated doc for these functions.
Diffstat (limited to 'langs/lib.php')
-rw-r--r-- | langs/lib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/langs/lib.php b/langs/lib.php index 716404fd7..db1fc21f5 100644 --- a/langs/lib.php +++ b/langs/lib.php @@ -20,8 +20,8 @@ include '../langs.inc.php'; */ function _lang_diff($a, $b) { - $fa = _lang_return($a); - $fb = _lang_return($b); + $fa = i18n::_lang_return($a); + $fb = i18n::_lang_return($b); $ret = array( 'aCount' => count($fa), |