diff options
author | Akira TAGOH <akira@tagoh.org> | 2018-01-06 18:53:27 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2018-01-06 18:55:00 +0900 |
commit | 97488fd72577a86ffd52bbb42d781bad0dd723cf (patch) | |
tree | 6ee27e06ccf100736e06061ea4d6a962c1deb88a /its | |
parent | 030e2e4e9473532de5ef6bf4c7905bdf653dc6ef (diff) |
export GETTEXTDATADIR to refer the local .its/.loc file instead of using --its option
Diffstat (limited to 'its')
-rw-r--r-- | its/Makefile.am | 6 | ||||
-rw-r--r-- | its/fontconfig.its | 4 | ||||
-rw-r--r-- | its/fontconfig.loc | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/its/Makefile.am b/its/Makefile.am new file mode 100644 index 00000000..87e77a1a --- /dev/null +++ b/its/Makefile.am @@ -0,0 +1,6 @@ +gettextitsdir = $(datadir)/gettext/its +gettextits_DATA = \ + fontconfig.its \ + fontconfig.loc + +-include $(top_srcdir)/git.mk diff --git a/its/fontconfig.its b/its/fontconfig.its new file mode 100644 index 00000000..9f359222 --- /dev/null +++ b/its/fontconfig.its @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/> +</its:rules> diff --git a/its/fontconfig.loc b/its/fontconfig.loc new file mode 100644 index 00000000..5bc4f6ce --- /dev/null +++ b/its/fontconfig.loc @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<locatingRules> + <locatingRule name="Fontconfig" pattern="*.conf"> + <documentRule localName="fontconfig" target="fontconfig.its"/> + </locatingRule> +</locatingRules> |