Move master translation file away from util
- Rewrite translation documentation - Delete unused util/strings.php - Updated references to util/messages.po and util/strings.php
This commit is contained in:
parent
a69d010410
commit
9102a37b37
9 changed files with 50 additions and 1953 deletions
|
@ -27,7 +27,7 @@ Description
|
|||
|
||||
Options
|
||||
-p <n> Number of plural forms. Default: 2
|
||||
--base <file> Path to base messages.po file. Default: util/messages.po
|
||||
--base <file> 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 = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue