diff options
author | Filip Komar <filip@mageia.org> | 2013-02-09 12:17:13 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2013-02-09 12:17:13 +0000 |
commit | 0332537f327fad8a76e80c85c996d99c09e30e20 (patch) | |
tree | a7a4f14b074ce8447f7e4c3ee4fb946202f9a7a4 /langs/lib.php | |
parent | a1d2de0339a7a3caa9eafefe3c1593bbd27b728f (diff) | |
download | www-0332537f327fad8a76e80c85c996d99c09e30e20.tar www-0332537f327fad8a76e80c85c996d99c09e30e20.tar.gz www-0332537f327fad8a76e80c85c996d99c09e30e20.tar.bz2 www-0332537f327fad8a76e80c85c996d99c09e30e20.tar.xz www-0332537f327fad8a76e80c85c996d99c09e30e20.zip |
navigation added to translation report
Diffstat (limited to 'langs/lib.php')
-rw-r--r-- | langs/lib.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/langs/lib.php b/langs/lib.php index d4293c008..716404fd7 100644 --- a/langs/lib.php +++ b/langs/lib.php @@ -100,7 +100,8 @@ if ( ! function_exists('glob_recursive')) function _lang_file_switch($s, $l) { - return $l . substr(str_replace('.en.lang', '.' . $l . '.lang', $s), 2); + $s = str_replace('en.lang', $l . '.lang', $s); + return str_replace('en/', $l . '/', $s); } function get_lang_references() |