aboutsummaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-02-09 12:32:32 +0000
committerFilip Komar <filip@mageia.org>2013-02-09 12:32:32 +0000
commit96c2421c11f38dc0f024b71b383d384d8d1369bb (patch)
treedee48423a486af3f2a3be0fdc48ee0a276bc8a0c /lib.php
parent77bfd9c976d6bd6bab7009c9e622b775cebd3cfe (diff)
downloadnav-96c2421c11f38dc0f024b71b383d384d8d1369bb.tar
nav-96c2421c11f38dc0f024b71b383d384d8d1369bb.tar.gz
nav-96c2421c11f38dc0f024b71b383d384d8d1369bb.tar.bz2
nav-96c2421c11f38dc0f024b71b383d384d8d1369bb.tar.xz
nav-96c2421c11f38dc0f024b71b383d384d8d1369bb.zip
added possibility to use intended untranslated strings in navigation
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.php b/lib.php
index 8398f07..52df169 100644
--- a/lib.php
+++ b/lib.php
@@ -179,6 +179,7 @@ P;
global $_t;
+ $_t[$s] = trim(str_replace(array('{ok}', '{OK}', '{Ok}', '{oK}'), '', $_t[$s]));
return array_key_exists($s, $_t) ? $_t[$s] : $s;
}
}