From: Roland Haeder Date: Sat, 25 Mar 2017 12:25:33 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1d48801d70100378d22a9f3858249f16e988c4f8;p=friendica.git Continued: - added spaces - made a code block even Signed-off-by: Roland Haeder --- diff --git a/util/po2php.php b/util/po2php.php index 199d79ed3b..f26e93e510 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -86,10 +86,11 @@ function po2php_run(&$argv, &$argc) { } $match = array(); preg_match("|\[([0-9]*)\] (.*)|", $l, $match); - $out .= "\t". - preg_replace_callback($escape_s_exp,'escape_s',$match[1]) - ." => " - .preg_replace_callback($escape_s_exp,'escape_s',$match[2]) .",\n"; + $out .= "\t" + . preg_replace_callback($escape_s_exp, 'escape_s', $match[1]) + . " => " + . preg_replace_callback($escape_s_exp, 'escape_s', $match[2]) + . ",\n"; } if (substr($l, 0, 6) == "msgid_") { @@ -99,7 +100,7 @@ function po2php_run(&$argv, &$argc) { if ($ink) { $k .= trim($l,"\"\r\n"); - $k = preg_replace_callback($escape_s_exp,'escape_s',$k); + $k = preg_replace_callback($escape_s_exp, 'escape_s', $k); //$out .= '$a->strings['.$k.'] = '; }