generate_ldapsaisie_pot CLI command: fix handling ___() keyword

This commit is contained in:
Benjamin Renard 2020-06-30 09:58:22 +02:00
parent 2c6b95b3d6
commit dde982f42c

View file

@ -973,7 +973,7 @@ function cli_generate_ldapsaisie_pot($command_args) {
"-o", LS_I18N_DIR_PATH."/ldapsaisie-main.pot", // Output "-o", LS_I18N_DIR_PATH."/ldapsaisie-main.pot", // Output
"--omit-header", // No POT header "--omit-header", // No POT header
"--keyword=__", // Handle custom __() translation function "--keyword=__", // Handle custom __() translation function
"--keyword=___,", // Handle custom ___() translation function "--keyword=___", // Handle custom ___() translation function
"--files=-" // Read files to parse from STDIN "--files=-" // Read files to parse from STDIN
), ),
$php_files[1] // Pass PHP files list via STDIN $php_files[1] // Pass PHP files list via STDIN