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 <ptoscano@redhat.com>
This commit is contained in:
Pino Toscano 2020-07-25 06:54:28 +02:00
parent e4e6462818
commit 9957a6d6d8

View File

@ -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