mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
generate_ldapsaisie_pot CLI command: fix handling ___() keyword
This commit is contained in:
parent
2c6b95b3d6
commit
dde982f42c
1 changed files with 2 additions and 2 deletions
|
@ -862,7 +862,7 @@ function cli_generate_lang_file($command_args) {
|
|||
* @param[in] $opts array List of global available options
|
||||
*
|
||||
* @retval array List of available options for the word to autocomplete
|
||||
**/
|
||||
**/
|
||||
function cli_generate_lang_file_args_autocompleter($comp_words, $comp_word_num, $comp_word, $opts) {
|
||||
global $available_withouts, $available_onlys;
|
||||
switch ($comp_words[$comp_word_num-1]) {
|
||||
|
@ -973,7 +973,7 @@ function cli_generate_ldapsaisie_pot($command_args) {
|
|||
"-o", LS_I18N_DIR_PATH."/ldapsaisie-main.pot", // Output
|
||||
"--omit-header", // No POT header
|
||||
"--keyword=__", // Handle custom __() translation function
|
||||
"--keyword=___,", // Handle custom ___() translation function
|
||||
"--keyword=___", // Handle custom ___() translation function
|
||||
"--files=-" // Read files to parse from STDIN
|
||||
),
|
||||
$php_files[1] // Pass PHP files list via STDIN
|
||||
|
|
Loading…
Reference in a new issue