throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
}
- $a = get_app();
-
$pofile = realpath($this->getArgument(0));
if (!file_exists($pofile)) {
$outfile = dirname($pofile) . DIRECTORY_SEPARATOR . 'strings.php';
- if (strstr($outfile, 'util')) {
+ if (basename(dirname($pofile)) == 'C') {
$lang = 'en';
} else {
$lang = str_replace('-', '_', basename(dirname($pofile)));
}
if ($inv) {
- $inv = false;
$out .= '"' . $v . '"';
}
}
if ($inv) {
- $inv = false;
$out .= '"' . $v . '"';
}