diff options
author | Ross Burton <ross.burton@intel.com> | 2019-01-04 17:07:33 +0000 |
---|---|---|
committer | Sergey Udaltsov <sergey.udaltsov@gmail.com> | 2019-04-19 23:11:29 +0100 |
commit | e8026f673ec49c109212acc4c35b492b3e30f48f (patch) | |
tree | d45c8e81707ccdbe82257aac810148fa1e7b3c3f /po/Makevars | |
parent | 0fb8b664a9a49b299ac3f7851df8cd9b9121e445 (diff) | |
download | xkeyboard-config-e8026f673ec49c109212acc4c35b492b3e30f48f.tar.gz |
Port away from intltool to plain gettext
intltool isn't maintained and gettext can now handle arbitrary XML files.
Drop intltool from autogen.sh and configure.ac.
Add po/LINGUAS file, replacing ALL_LINGUAS in configure.ac.
Unlike intltool, gettext doesn't need special markup in XML files, so rename
base.xml.in to base.xml and replace <_description> with <description>.
Update rules/Makefile.am to remove .xml.in rules and intltool references.
Add rules/xkb.its to tell gettext what elements contain translatable strings,
and pass it to gettext in po/Makevars.
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/143
Diffstat (limited to 'po/Makevars')
-rw-r--r-- | po/Makevars | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/Makevars b/po/Makevars index 03f092c..170bb13 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --its=../rules/xkb.its # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding |