GNOME Bugzilla – Bug 760202
gtkbuilder: Install gettext ITS files
Last modified: 2016-01-10 04:21:50 UTC
Recent gettext has a feature to allow consumer projects to supply their own string extraction rules for XML files, in ITS format. Gettext still ships the rule for *.ui, but it would be better maintained in the upstream project.
Created attachment 318312 [details] [review] gtkbuilder: Install gettext ITS files
Review of attachment 318312 [details] [review]: Interesting. Looks fine to me
Attachment 318312 [details] pushed as f9e6ccd - gtkbuilder: Install gettext ITS files
Hm... itsdir = $(datadir)/gettext/its which is /usr/share/gettext/its on Fedora in the mean time in gettext itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its which is /usr/share/gettext-0.19.7/its Which is it?
As briefly mentioned in the documentation: http://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html user projects should install those files under /usr/share/gettext/its, rather than /usr/share/gettext-VERSION/its, which is used exclusively by gettext and has lower priority than /usr/share/gettext/its. This is analogous to the use of /usr/share/aclocal and /usr/share/aclocal-VERSION in Automake, or /usr/share/vala/vapi and /usr/share/vala-VERSION/vapi in Vala.