POTFILES.in should not contain src/python/__init__.py file as it
is not present in the committed tree. It has its respective .in file
which is present instead.
This commit further ensures po/POTFILES.in generator avoids such
files that Git ignores (using git-check-ignore during find).
Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
$(MAKE) -C po update-po
po/POTFILES.in: Makefile
- find $(abs_srcdir)/src | \
- grep -E "\.(in|py)$$" | sed -e "s@$(abs_srcdir)/@@g" | sort > $@
+ find $(abs_srcdir)/src -type f \( -name '*.in' -o -name '*.py' \) \
+ \! -exec git check-ignore -q {} \; -print | \
+ sed -e "s@$(abs_srcdir)/@@g" | LC_ALL=C sort > $@
EXTRA_DIST += \
examples/private-key.pem \
systemd,
xsltproc <!nodoc>,
docbook-xsl <!nodoc>,
+ git,
Rules-Requires-Root: no
Homepage: https://location.ipfire.org/
Vcs-Git: https://git.ipfire.org/pub/git/location/libloc.git
src/libloc.pc.in
+src/python/__init__.py.in
src/python/database.py
src/python/downloader.py
src/python/export.py
src/python/i18n.py
src/python/importer.py
-src/python/__init__.py
-src/python/__init__.py.in
src/python/location-importer.in
src/python/location.in
src/python/logger.py
msgstr ""
"Project-Id-Version: libloc 0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-08-04 15:44+0000\n"
+"POT-Creation-Date: 2021-04-15 11:29+0000\n"
"PO-Revision-Date: 2018-02-01 14:05+0000\n"
"Last-Translator: Michael Tremer <michael.tremer@ipfire.org>\n"
"Language-Team: German\n"
msgid "AS%(asn)s belongs to %(name)s"
msgstr ""
-#, python-format
-msgid "The datase has recently be updated recently (%s)"
+msgid "The database has been updated recently"
msgstr ""
msgid "You must at least pass one flag"