Commit 9a51559d authored by Bastien Nocera's avatar Bastien Nocera

build: Load the shared-mime-info.its file when running itstool

Whereas gettext automatically gets the its file loaded through the
GETTEXTDATADIRS environment variable, itstool needs the path to the its
file passed manually.

This fixes some fields being translated even though the its file
declares them as not translatable.
parent a1f8a198
......@@ -46,7 +46,7 @@ $(pkgconfig_DATA): config.status $(top_srcdir)/po/*.po its/shared-mime-info.its
$(MAKE) -C po update-gmo
$(AM_V_GEN)$(ITSTOOL) -j $< -o $@ $(top_srcdir)/po/*.gmo
$(AM_V_GEN)$(ITSTOOL) --its $(top_srcdir)/its/shared-mime-info.its -j $< -o $@ $(top_srcdir)/po/*.gmo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment