From 714c267f5e4af98fd986c3563fc0e8e82a3dae1f Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sun, 12 Jul 2020 13:58:17 +0200 Subject: Add internationalized debian templates --- debian/control | 1 + debian/minecproxy.templates | 2 +- debian/po/POTFILES.in | 1 + debian/po/templates.pot | 24 ++++++++++++++++++++++++ 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/templates.pot 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 , 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 \n" +"Language-Team: LANGUAGE \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 "" -- cgit v1.2.3