X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FPhpToPo.php;h=4a3caf4bc22583d5b9393664a0678e0e6efcdd49;hb=7efde8e334d6ca52fd1608fb9a78babcea4bdc9f;hp=76cf1643445e5172c4781ea1c99a17aebe2e1451;hpb=a0451e1c6285212ed406b343b97e4a53859a673d;p=friendica.git diff --git a/src/Core/Console/PhpToPo.php b/src/Core/Console/PhpToPo.php index 76cf164344..4a3caf4bc2 100644 --- a/src/Core/Console/PhpToPo.php +++ b/src/Core/Console/PhpToPo.php @@ -5,7 +5,7 @@ namespace Friendica\Core\Console; /** * Read a strings.php file and create messages.po in the same directory * - * @author Hypolite Petovan + * @author Hypolite Petovan */ class PhpToPo extends \Asika\SimpleConsole\Console { @@ -27,7 +27,7 @@ Description Options -p Number of plural forms. Default: 2 - --base Path to base messages.po file. Default: util/messages.po + --base Path to base messages.po file. Default: view/lang/C/messages.po -h|--help|-? Show help information -v Show more debug information. HELP; @@ -107,7 +107,7 @@ HELP; $out .= sprintf('"Plural-Forms: nplurals=%s; plural=%s;\n"', $lang_pnum, $lang_logic) . "\n"; $out .= "\n"; - $base_path = $this->getOption('base', 'util' . DIRECTORY_SEPARATOR . 'messages.po'); + $base_path = $this->getOption('base', 'view/lang/C/messages.po'); // load base messages.po and extract msgids $base_msgids = [];