addec curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
5f71da5862
commit
9cb100228a
1 changed files with 3 additions and 2 deletions
|
@ -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)));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue