]> git.mxchange.org Git - friendica.git/commitdiff
addec curly braces
authorRoland Häder <roland@mxchange.org>
Thu, 26 Jan 2017 09:13:53 +0000 (10:13 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 18 Mar 2017 23:41:00 +0000 (00:41 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
util/po2php.php

index 5d3429796e3f27db9f46b2f47a120fc9c092f6e7..60736bf4a45f309e07a21de0b542a03cce9ac006 100644 (file)
@@ -12,10 +12,11 @@ function po2php_run(&$argv, &$argc) {
        $pofile = $argv[1];
        $outfile = dirname($pofile)."/strings.php";
 
-       if (strstr($outfile,'util'))
+       if (strstr($outfile,'util')) {
                $lang = 'en';
-       else
+       } else {
                $lang = str_replace('-','_',basename(dirname($pofile)));
+       }