• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

自分用にカスタマイズしたshared-mime-infoのソース


Commit MetaInfo

Révision9a51559d8e639f4f812465886fae7c1dbe91312b (tree)
l'heure2019-09-11 19:47:29
AuteurBastien Nocera <hadess@hade...>
CommiterBastien Nocera

Message de Log

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.

Change Summary

Modification

--- a/Makefile.am
+++ b/Makefile.am
@@ -46,7 +46,7 @@ $(pkgconfig_DATA): config.status
4646
4747 freedesktop.org.xml: freedesktop.org.xml.in $(top_srcdir)/po/*.po its/shared-mime-info.its
4848 $(MAKE) -C po update-gmo
49- $(AM_V_GEN)$(ITSTOOL) -j $< -o $@ $(top_srcdir)/po/*.gmo
49+ $(AM_V_GEN)$(ITSTOOL) --its $(top_srcdir)/its/shared-mime-info.its -j $< -o $@ $(top_srcdir)/po/*.gmo
5050
5151 if CROSS_COMPILING
5252 update_mime_database=$(UPDATE_MIME_DATABASE)