[Mesa-dev] [PATCH 00/14] translations updates
Dylan Baker
dylan at pnwbakers.com
Fri Oct 26 17:23:29 UTC 2018
This series has two distinct changes in it, but that would require enough
rebasing to land on top of the other I didn't want to send the separately.
The first change is to add support to meson to generate driric translations.
This is the v2 of that, with changes requested by Emil addressed, namely
android, autotools, and meson all use the same layout and there are no special
paths in gen_xml for meson anymore.
The second change is to update gen_xmlpool.py to write files directly instead of
using shell redirection. This allows the script to work correctly even on
systems that have LANG=C or some other restriction of unicode characters in the
shell.
Dylan Baker (14):
util/gen_xmlpool: use argparse for argument handling
meson: add support for generating translation mo files
util/gen_xmlpool: Add a --meson switch
meson: use meson generated translation files
autotools,android: Use meson layout (including .gmo)
util/gen_xmlpool: Remove --meson option for gen_xmlpool
docs/meson: Add note about update translations
util/gen_xmlpool: Use more standard style
util/gen_xmlpool: Use print function instad of sys.stderr.write
util/gen_xmlpool: use a main function
util/gen_xmlpool: use with statement to open file
util/gen_xmlpool: Don't write via shell redirection
util/gen_xmlpool: Don't use len to test for container emptiness
util/gen_xmlpool: Make use of python's foreach loop
docs/meson.html | 7 +
src/util/Android.mk | 6 +-
src/util/xmlpool/LINGUAS | 1 +
src/util/xmlpool/Makefile.am | 16 ++-
src/util/xmlpool/POTFILES | 1 +
src/util/xmlpool/SConscript | 2 +-
src/util/xmlpool/gen_xmlpool.py | 243 +++++++++++++++-----------------
src/util/xmlpool/meson.build | 6 +-
8 files changed, 141 insertions(+), 141 deletions(-)
create mode 100644 src/util/xmlpool/LINGUAS
create mode 100644 src/util/xmlpool/POTFILES
--
2.19.1
More information about the mesa-dev
mailing list