added more curly braces + a bit more usage of dbm::is_result()

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-01-25 15:59:27 +01:00 committed by Roland Haeder
parent 55e2411f07
commit 3849e7c9ff
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
5 changed files with 160 additions and 97 deletions

View file

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