space-time season continues ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
239dfea4e6
commit
566cfb8418
|
@ -92,8 +92,10 @@ function po2php_run(&$argv, &$argc) {
|
|||
.preg_replace_callback($escape_s_exp,'escape_s',$match[2]) .",\n";
|
||||
}
|
||||
|
||||
if (substr($l,0,6)=="msgid_") { $ink = False; $out .= '$a->strings["'.$k.'"] = '; };
|
||||
|
||||
if (substr($l, 0, 6) == "msgid_") {
|
||||
$ink = false;
|
||||
$out .= '$a->strings["' . $k . '"] = ';
|
||||
}
|
||||
|
||||
if ($ink) {
|
||||
$k .= trim($l,"\"\r\n");
|
||||
|
@ -107,6 +109,7 @@ function po2php_run(&$argv, &$argc) {
|
|||
$out .= '"'.$v.'"';
|
||||
}
|
||||
if ($k != "") {
|
||||
/// @TODO Maybe add parentheses here?
|
||||
$out .= $arr ? ");\n" : ";\n";
|
||||
}
|
||||
$arr = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user