From: Michael Tremer Date: Wed, 3 Jun 2020 19:08:00 +0000 (+0000) Subject: po: Import translation strings X-Git-Tag: 0.9.2~26 X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Flibloc.git;a=commitdiff_plain;h=7b76dffac06a919a15615a4b05cf36098d7822e2 po: Import translation strings Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore index 7f4e33b..4dd8c86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.db *.db.xz *.log +*.mo *.o *.tar.xz .deps/ diff --git a/Makefile.am b/Makefile.am index 9f520cc..7deecfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -78,9 +78,13 @@ AM_V_XSLT_0 = @echo " XSLT " $@; # ------------------------------------------------------------------------------ .PHONY: update-po -update-po: +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 > $@ + EXTRA_DIST += \ examples/private-key.pem \ examples/public-key.pem \ diff --git a/configure.ac b/configure.ac index ecd3750..418c1b7 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,10 @@ AC_PREFIX_DEFAULT([/usr]) gl_LD_VERSION_SCRIPT IT_PROG_INTLTOOL([0.40.0]) + +# Interpret embedded Python in HTML files +XGETTEXT="${XGETTEXT} -L Python --keyword=_:1,2 --keyword=N_:1,2 --no-location" + GETTEXT_PACKAGE=${PACKAGE_TARNAME} AC_SUBST(GETTEXT_PACKAGE) diff --git a/po/POTFILES.in b/po/POTFILES.in index 9d7af9f..b965a64 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1 +1,12 @@ -src/python/location-query.in +src/libloc.pc.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/location-importer.in +src/python/location.in +src/python/logger.py +src/systemd/location-update.service.in +src/systemd/location-update.timer.in diff --git a/po/de.po b/po/de.po index afb8c7e..12b3229 100644 --- 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: 2019-11-17 14:56+0000\n" +"POT-Creation-Date: 2020-06-03 19:00+0000\n" "PO-Revision-Date: 2018-02-01 14:05+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: German\n" @@ -17,81 +17,193 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../src/python/location-query.in:124 -msgid "Location Database Command Line Interface" +msgid "Location Importer Command Line Interface" msgstr "" -#: ../src/python/location-query.in:130 msgid "Enable debug output" msgstr "" -#: ../src/python/location-query.in:138 +msgid "Enable quiet mode" +msgstr "" + +msgid "Database Hostname" +msgstr "" + +msgid "HOST" +msgstr "" + +msgid "Database Name" +msgstr "" + +msgid "NAME" +msgstr "" + +msgid "Database Username" +msgstr "" + +msgid "USERNAME" +msgstr "" + +msgid "Database Password" +msgstr "" + +msgid "PASSWORD" +msgstr "" + +#. Write Database +msgid "Write database to file" +msgstr "" + +msgid "Database File" +msgstr "" + +msgid "Signing Key" +msgstr "" + +msgid "Backup Signing Key" +msgstr "" + +msgid "Sets the vendor" +msgstr "" + +msgid "Sets a description" +msgstr "" + +msgid "Sets the license" +msgstr "" + +msgid "Database Format Version" +msgstr "" + +#. Update WHOIS +msgid "Update WHOIS Information" +msgstr "" + +msgid "Update BGP Annoucements" +msgstr "" + +msgid "Route Server to connect to" +msgstr "" + +msgid "SERVER" +msgstr "" + +msgid "Update overrides" +msgstr "" + +msgid "Files to import" +msgstr "" + +msgid "Import countries" +msgstr "" + +msgid "File to import" +msgstr "" + +msgid "Location Database Command Line Interface" +msgstr "" + msgid "Path to database" msgstr "" -#: ../src/python/location-query.in:143 +msgid "Public Signing Key" +msgstr "" + +msgid "Show database version" +msgstr "" + msgid "Lookup one or multiple IP addresses" msgstr "" -#: ../src/python/location-query.in:150 +msgid "Dump the entire database" +msgstr "" + +#. Update +msgid "Update database" +msgstr "" + +msgid "Verify the downloaded database" +msgstr "" + msgid "Get information about one or multiple Autonomous Systems" msgstr "" -#: ../src/python/location-query.in:157 msgid "Search for Autonomous Systems that match the string" msgstr "" -#: ../src/python/location-query.in:164 msgid "Lists all networks in an AS" msgstr "" -#: ../src/python/location-query.in:173 msgid "Lists all networks in a country" msgstr "" -#: ../src/python/location-query.in:182 msgid "Lists all networks with flags" msgstr "" -#: ../src/python/location-query.in:185 msgid "Anonymous Proxies" msgstr "" -#: ../src/python/location-query.in:188 msgid "Satellite Providers" msgstr "" -#: ../src/python/location-query.in:191 msgid "Anycasts" msgstr "" -#: ../src/python/location-query.in:235 -#, c-format +msgid "Exports data in many formats to load it into packet filters" +msgstr "" + +msgid "Output format" +msgstr "" + +msgid "Output directory" +msgstr "" + +msgid "Specify address family" +msgstr "" + +msgid "List country codes or ASNs to export" +msgstr "" + +#, python-format msgid "Invalid IP address: %s" msgstr "" -#: ../src/python/location-query.in:244 +#, python-format msgid "Nothing found for %(address)s" msgstr "" -#: ../src/python/location-query.in:258 -msgid "%(address)s belongs to %(network)s which is a part of %(as)s" +msgid "Network" +msgstr "" + +msgid "Country" msgstr "" -#: ../src/python/location-query.in:261 -msgid "%(address)s belongs to %(network)s" +msgid "Autonomous System" msgstr "" -#: ../src/python/location-query.in:275 -#, c-format +msgid "Anonymous Proxy" +msgstr "" + +msgid "yes" +msgstr "" + +msgid "Satellite Provider" +msgstr "" + +msgid "Anycast" +msgstr "" + +#, python-format msgid "Invalid ASN: %s" msgstr "" -#: ../src/python/location-query.in:284 -#, c-format +#, python-format msgid "Could not find AS%s" msgstr "" -#: ../src/python/location-query.in:288 +#, python-format msgid "AS%(asn)s belongs to %(name)s" msgstr "" + +msgid "You must at least pass one flag" +msgstr ""