]> git.ipfire.org Git - location/libloc.git/commitdiff
po: Update translations
authorValters Jansons <valter.jansons@gmail.com>
Thu, 15 Apr 2021 11:42:13 +0000 (14:42 +0300)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Apr 2021 10:32:24 +0000 (10:32 +0000)
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>
Makefile.am
debian/control
po/POTFILES.in
po/de.po

index e8ee791d57366088e9bcf9919e5eb8db4980f39d..dbdfd8efcb803395fae2514a80d04968e60db346 100644 (file)
@@ -79,8 +79,9 @@ update-po: po/POTFILES.in
        $(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 \
index dc40927c41a904ac9971960635456df6fc794e4f..118a1113814b1da8b58118ff2d24e00c9d071e1d 100644 (file)
@@ -16,6 +16,7 @@ Build-Depends:
  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
index 9088986018b5f721802cd14d7c137535daa03822..5d2cc46cb74d6df89279de9d4852223d70c136e6 100644 (file)
@@ -1,11 +1,10 @@
 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
index c35f34875c520b28abfd821ffbba7cd0dfb6e071..3b073d6e3e3fd1784389033d91b5d60a7d3a4e00 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 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"
@@ -217,8 +217,7 @@ msgstr ""
 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"