mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
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];
|
||||
$outfile = dirname($pofile)."/strings.php";
|
||||
|
||||
if (strstr($outfile,'util'))
|
||||
if (strstr($outfile,'util')) {
|
||||
$lang = 'en';
|
||||
else
|
||||
} else {
|
||||
$lang = str_replace('-','_',basename(dirname($pofile)));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue