]> git.mxchange.org Git - friendica.git/commitdiff
added a space
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 12:27:38 +0000 (13:27 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 12:27:52 +0000 (13:27 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
util/po2php.php

index f26e93e51044922e26a598c866596af0e82e82d1..34142c66911efdb48d7c6ae5af50bfbd8729fbbb 100644 (file)
@@ -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 {