]> git.mxchange.org Git - friendica.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 12:25:33 +0000 (13:25 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 12:25:51 +0000 (13:25 +0100)
- added spaces
- made a code block even

Signed-off-by: Roland Haeder <roland@mxchange.org>
util/po2php.php

index 199d79ed3b3b9d22e40b2a658b400098edc21ada..f26e93e51044922e26a598c866596af0e82e82d1 100644 (file)
@@ -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.'] = ';
                }