summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-09-11 12:08:20 +0200
committerBastien Nocera <hadess@hadess.net>2019-09-11 12:47:29 +0200
commit9a51559d8e639f4f812465886fae7c1dbe91312b (patch)
tree67f56544ecc4d2aaa55de0c611d4959f1d9009de
parenta1f8a198cca90385b7db727144f6b91676475b33 (diff)
downloadshared-mime-info-9a51559d8e639f4f812465886fae7c1dbe91312b.tar.gz
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.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 50b52705..515edeb8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -46,7 +46,7 @@ $(pkgconfig_DATA): config.status
freedesktop.org.xml: freedesktop.org.xml.in $(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
if CROSS_COMPILING
update_mime_database=$(UPDATE_MIME_DATABASE)