diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-08-03 10:29:32 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-08-03 10:29:32 +0000 |
commit | 771c24ee98fac713a732b71aeaeea09bdf7783a6 (patch) | |
tree | 9086a6de074bb20d34a2ec939f42293584e61068 /langs.inc.php | |
parent | 8be0fec9cb8dd4c231bdff73018b736df8bd2db6 (diff) | |
download | www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar.gz www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar.bz2 www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar.xz www-771c24ee98fac713a732b71aeaeea09bdf7783a6.zip |
allow mixed markers for untranslated strings
Diffstat (limited to 'langs.inc.php')
-rw-r--r-- | langs.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/langs.inc.php b/langs.inc.php index 9055f44e9..d9e1d6ecc 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -174,7 +174,7 @@ function _d($s = null, $opt = null) { $ret = array_key_exists($s, $_t) ? $_t[$s] : $s; - return trim(str_replace('{ok}', '', $ret)); + return trim(str_replace(array('{ok}', '{OK}', '{Ok}', '{oK}'), '', $ret)); } /** |