From 1d48801d70100378d22a9f3858249f16e988c4f8 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Mar 2017 13:25:33 +0100 Subject: [PATCH] Continued: - added spaces - made a code block even Signed-off-by: Roland Haeder --- util/po2php.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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.'] = '; }