mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
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:
parent
55e2411f07
commit
3849e7c9ff
5 changed files with 160 additions and 97 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue