Do not sort content of generated POT files alphabetically

Sorting is discouraged even by the GNU gettext documentation:
https://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html#Output-details

Alphabetical order means related messages that are close to each other
in a source file are likely to be far far away from each other in the .po
file that a translator works on.

Sorting was added in ea8849aaf6 (updated to use msgmerge, 2000-03-07)
This commit is contained in:
Lauri Nurmi
2021-01-23 23:11:06 +02:00
parent a571ec6fbb
commit 87c56c7c1d

View File

@@ -17,7 +17,7 @@ XGETTEXT=xgettext
XARGS=xargs XARGS=xargs
# common xgettext args: C++ syntax, use the specified macro names as markers # common xgettext args: C++ syntax, use the specified macro names as markers
XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -kwxGetTranslation --add-comments=TRANSLATORS: -s -j XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -kwxGetTranslation --add-comments=TRANSLATORS: -j
# implicit rules # implicit rules
%.mo: %.po %.mo: %.po