]> git.ipfire.org Git - thirdparty/gettext.git/commit
Provide XML schemas for .its and .loc files.
authorBruno Haible <bruno@clisp.org>
Sun, 29 Sep 2024 14:47:30 +0000 (16:47 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 29 Sep 2024 15:34:35 +0000 (17:34 +0200)
commit2ba96bb87e6d106cf67d01431c8586ff3486b835
tree4c755a48a9b653506c1025b6fec103f5a9a7dec4
parente77142809a59385912fb436b6ca3ff62f3f809d1
Provide XML schemas for .its and .loc files.

Suggested by Martin Blanchard <tchaik@gmx.com>
at <https://savannah.gnu.org/bugs/?56519>.

* gettext-tools/src/its.xsd: New file, reverse-engineered from its.c.
* gettext-tools/src/its-extensions.xsd: New file, reverse-engineered from its.c.
* gettext-tools/src/locating-rules.xsd: New file, reverse-engineered from
locating-rules.c.
* gettext-tools/src/Makefile.am (schemadir): New variable.
(schema_DATA): New variable.
(EXTRA_DIST): Distribute all of schema_DATA.
* gettext-tools/configure.ac: Check for xmllint, and set XMLLINT.
* gettext-tools/its/Makefile.am (ITS_FILES, LOC_FILES): New variables.
(dist_its_DATA): Rewrite.
(check-local): New rule.
* gettext-tools/doc/gettext.texi (Preparing ITS Rules): Split into two
subsections. Mention which schema the files have to obey.
* HACKING: Mention xmllint as maintainer prerequisite.
* PACKAGING: Mention the $prefix/share/gettext/schema/ directory.
* NEWS: Mention the change.
HACKING
NEWS
PACKAGING
gettext-tools/configure.ac
gettext-tools/doc/gettext.texi
gettext-tools/its/Makefile.am
gettext-tools/src/Makefile.am
gettext-tools/src/its-extensions.xsd [new file with mode: 0644]
gettext-tools/src/its.xsd [new file with mode: 0644]
gettext-tools/src/locating-rules.xsd [new file with mode: 0644]