Continued:

- added spaces
- made a code block even

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-25 13:25:33 +01:00
parent 177a0c8320
commit 1d48801d70
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -86,10 +86,11 @@ function po2php_run(&$argv, &$argc) {
} }
$match = array(); $match = array();
preg_match("|\[([0-9]*)\] (.*)|", $l, $match); preg_match("|\[([0-9]*)\] (.*)|", $l, $match);
$out .= "\t". $out .= "\t"
preg_replace_callback($escape_s_exp,'escape_s',$match[1]) . preg_replace_callback($escape_s_exp, 'escape_s', $match[1])
. " => " . " => "
.preg_replace_callback($escape_s_exp,'escape_s',$match[2]) .",\n"; . preg_replace_callback($escape_s_exp, 'escape_s', $match[2])
. ",\n";
} }
if (substr($l, 0, 6) == "msgid_") { if (substr($l, 0, 6) == "msgid_") {