summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-12 13:58:17 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-12 13:58:17 +0200
commit714c267f5e4af98fd986c3563fc0e8e82a3dae1f (patch)
treeed034454ba2a3f052e2ffc989d3c374adb796c78
parent17a4b90196fc366b302434a0646e521a3c8b33a0 (diff)
Add internationalized debian templates
-rw-r--r--debian/control1
-rw-r--r--debian/minecproxy.templates2
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/templates.pot24
4 files changed, 27 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 3027ff8..1bb7ad4 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper-compat (= 12),
liburing-dev,
meson,
pkg-config,
+ po-debconf,
xsltproc,
xxd
Standards-Version: 4.5.0
diff --git a/debian/minecproxy.templates b/debian/minecproxy.templates
index eb1314f..811c297 100644
--- a/debian/minecproxy.templates
+++ b/debian/minecproxy.templates
@@ -1,4 +1,4 @@
Template: minecproxy/purge_database
Type: boolean
Default: false
-Description: Do you want Minecraft worlds to be removed when minecproxy is purged?
+_Description: Do you want Minecraft worlds to be removed when minecproxy is purged?
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..4961cdc
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] minecproxy.templates
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..9d2681f
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,24 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the minecproxy package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: minecproxy\n"
+"Report-Msgid-Bugs-To: minecproxy@packages.debian.org\n"
+"POT-Creation-Date: 2020-07-12 12:18+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../minecproxy.templates:1001
+msgid "Do you want Minecraft worlds to be removed when minecproxy is purged?"
+msgstr ""