aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-08-03 10:29:32 +0000
committerRomain d'Alverny <rda@mageia.org>2012-08-03 10:29:32 +0000
commit771c24ee98fac713a732b71aeaeea09bdf7783a6 (patch)
tree9086a6de074bb20d34a2ec939f42293584e61068
parent8be0fec9cb8dd4c231bdff73018b736df8bd2db6 (diff)
downloadwww-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar
www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar.gz
www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar.bz2
www-771c24ee98fac713a732b71aeaeea09bdf7783a6.tar.xz
www-771c24ee98fac713a732b71aeaeea09bdf7783a6.zip
allow mixed markers for untranslated strings
-rw-r--r--langs.inc.php2
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));
}
/**