]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
po: Import translation strings
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Jun 2020 19:08:00 +0000 (19:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Jun 2020 19:08:00 +0000 (19:08 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
.gitignore
Makefile.am
configure.ac
po/POTFILES.in
po/de.po

index 7f4e33b0e789c6828b02d5059c3cbb0a4a3d2ef1..4dd8c86539e4b696a92e157eb1610916cab436d6 100644 (file)
@@ -1,6 +1,7 @@
 *.db
 *.db.xz
 *.log
+*.mo
 *.o
 *.tar.xz
 .deps/
index 9f520cc6079bd4b91d7414257673fc7c2d024931..7deecfec192f2c41fec351ec7246a7ad526bf3de 100644 (file)
@@ -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 \
index ecd375043528525aa9eb363df9f38cf78f39db1f..418c1b7fefd82d29f791b294d16c3a20b89dcfc7 100644 (file)
@@ -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)
 
index 9d7af9f9d92c82835b13339fd97c04c5db722f66..b965a64234fe6644afc925a19dbd9c09cba5e78f 100644 (file)
@@ -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
index afb8c7ec6725aa8e5ff4998627269e7a68e532d9..12b3229340d9d3dbc44d13e7dd3d86468a0df270 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: 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 <michael.tremer@ipfire.org>\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 ""