From b830d839f0ad886cd861ccd5f5b45fa853845b8e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Mar 2017 13:27:38 +0100 Subject: [PATCH] added a space Signed-off-by: Roland Haeder --- util/po2php.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/po2php.php b/util/po2php.php index f26e93e510..34142c6691 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -99,7 +99,7 @@ function po2php_run(&$argv, &$argc) { } if ($ink) { - $k .= trim($l,"\"\r\n"); + $k .= trim($l, "\"\r\n"); $k = preg_replace_callback($escape_s_exp, 'escape_s', $k); //$out .= '$a->strings['.$k.'] = '; } @@ -107,14 +107,14 @@ function po2php_run(&$argv, &$argc) { if (substr($l, 0, 6) == "msgid ") { if ($inv) { $inv = false; - $out .= '"'.$v.'"'; + $out .= '"' . $v . '"'; } if ($k != "") { /// @TODO Maybe add parentheses here? $out .= $arr ? ");\n" : ";\n"; } $arr = false; - $k = str_replace("msgid ","",$l); + $k = str_replace("msgid ", "", $l); if ($k != '""') { $k = trim($k, "\"\r\n"); } else { -- 2.39.5