[libvirt PATCH 5/7] po: generate .pot file with strings in alphabetical order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The .po files are stored with strings in alphabetical order instead of
source file location order, because this minimizes the diffs created
when code moves around within or between files.

By default msgmerge will honour the order of strings in the .pot file
when creating a .po file, so it is useful if we also create the .pot
file with desired ordering.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 po/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/po/Makefile.am b/po/Makefile.am
index 224f16e993..a31f8ba584 100644
--- a/po/Makefile.am
+++ b/po/Makefile.am
@@ -32,6 +32,7 @@ XGETTEXT_ARGS = \
 	--package-name="$(PACKAGE_NAME)" \
 	--package-version="$(PACKAGE_VERSION)" \
 	--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
+	--sort-output \
 	$(NULL)
 
 SED_PO_FIXUP_ARGS = \
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux