include all argparse strings in translation template

The Python argparse library has its own strings, which are translatable
via gettext.  This gets those sources strings from the library, and
includes them in this project.  Since gettext is invoked and configured
in fdroidserver, fdroidserver needs to handle the translations for the
libraries it uses.
This commit is contained in:
Hans-Christoph Steiner 2017-10-13 14:50:22 +02:00
parent ccc3fb8b2e
commit 6a8152af15
2 changed files with 252 additions and 3 deletions

View file

@ -1,5 +1,8 @@
FILES = ../fdroid $(wildcard ../fdroidserver/*.py)
FILES = ../fdroid $(wildcard ../fdroidserver/*.py) \
$(wildcard /usr/lib/python3.*/argparse.py) \
$(wildcard /usr/lib/python3.*/optparse.py) \
$(wildcard /usr/lib/python3.*/getopt.py)
# these are the supported languages
ALL_LINGUAS = de es pt_BR pt_PT tr zh_Hans zh_Hant