I18n: use xgettext & msgcat --force-po argument to be sure POT files will be created even if no message is found

This commit is contained in:
Benjamin Renard 2023-11-17 08:37:09 +01:00
parent f4c75bc513
commit 6c9a2d1d3e
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -491,7 +491,7 @@ class I18n {
$result = run_external_command(array_merge(
array(
'msgcat',
"-t", "utf-8", "--use-first",
"-t", "utf-8", "--use-first", "--force-po",
"-o", "$root_path/messages.pot",
"$root_path/headers.pot",
),