1
0
Fork 0

addec curly braces

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-01-26 10:13:53 +01:00 committed by Roland Haeder
parent 5f71da5862
commit 9cb100228a
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

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