php2po.php unify quote/unquote

This commit is contained in:
Max Kostikov 2018-09-13 21:28:15 +02:00
parent f9d43479f2
commit 240d4704aa

View file

@ -35,7 +35,7 @@
if (!preg_match("/^msgstr\[[1-9]/",$l)) {
if ($k!="" && (substr($l,0,7)=="msgstr " || substr($l,0,8)=="msgstr[0")){
$ink = False;
$k = stripslashes($k);
$k = stripcslashes($k);
$v = "";
if (isset(App::$strings[$k])) {
$v = App::$strings[$k];