From 9957a6d6d8eb38067eaafdd8377a4801edc2d59f Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 25 Jul 2020 06:54:28 +0200 Subject: [PATCH] po: use custom ITS rules when extracting messages This way the custom rules for translating MIME types are used, and thus the MIME type XML files are properly extracted. Signed-off-by: Pino Toscano --- po/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/po/Makefile.am b/po/Makefile.am index cbcef40..e02353a 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -41,7 +41,8 @@ SED_PO_FIXUP_ARGS = \ $(NULL) virt-viewer.pot: - $(XGETTEXT) -o $(POTFILE)-t $(XGETTEXT_ARGS) \ + GETTEXTDATADIR=$(top_srcdir)/data/gettext \ + $(XGETTEXT) -o $(POTFILE)-t $(XGETTEXT_ARGS) \ --files-from=$(abs_srcdir)/POTFILES $(SED) $(SED_PO_FIXUP_ARGS) < $(POTFILE)-t > $(POTFILE) rm -f $(POTFILE)-t