[hamradio-commits] [xastir] 02/04: Use po-debconf to manage debconf prompt translations
Iain Learmonth
irl-guest at moszumanska.debian.org
Thu Apr 2 22:37:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
irl-guest pushed a commit to branch master
in repository xastir.
commit 809fae3b6ef331028151532ef5b42f682abef6f9
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Thu Apr 2 22:30:33 2015 +0100
Use po-debconf to manage debconf prompt translations
---
debian/changelog | 2 ++
debian/control | 3 ++-
debian/po/POTFILES.in | 1 +
debian/po/templates.pot | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
debian/templates | 2 +-
5 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 72cd330..8366687 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ xastir (2.0.6-2) UNRELEASED; urgency=medium
- Add festival (alongside festival-dev) as build dependency to enable
festival support to be compiled.
- Moved festival from Suggests to Recommends.
+ - Add po-debconf as a build dependency for handling debconf prompt
+ translations.
* debian/rules:
- Use dh_autoreconf.
- Stop configure being run twice by just using dh_auto_configure.
diff --git a/debian/control b/debian/control
index 18394bd..0b3495b 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,8 @@ Build-Depends: debhelper (>= 9),
libdb-dev,
libgeotiff-dev,
dh-autoreconf,
- automake
+ automake,
+ po-debconf
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-hamradio/xastir.git/
Vcs-Git: http://anonscm.debian.org/git/pkg-hamradio/xastir.git
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..cef83a3
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..e8b1569
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,51 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: xastir\n"
+"Report-Msgid-Bugs-To: xastir at packages.debian.org\n"
+"POT-Creation-Date: 2015-04-02 22:27+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at 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
+#: ../templates:1001
+msgid "Should non-superusers be able to use native AX.25 from Xastir?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"Xastir can be installed in a way that allows members of the \"xastir-ax25\" "
+"system group to use a native Linux AX.25 interface from within Xastir. This "
+"is recommended over the alternative of running Xastir as root, as this "
+"configuration will attempt to use Linux capabilities to limit the privileges "
+"available to Xastir to only those required. Note that if Linux capabilities "
+"are not available, the binary will be installed setuid."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"For more detailed information please see /usr/share/doc/xastir/README.Debian."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"Enabling this feature may be a security risk, so it is disabled by default. "
+"If in doubt, it is suggested to leave it disabled."
+msgstr ""
diff --git a/debian/templates b/debian/templates
index 492785a..e77f7eb 100644
--- a/debian/templates
+++ b/debian/templates
@@ -1,7 +1,7 @@
Template: xastir/install-setuid
Type: boolean
Default: false
-Description: Should non-superusers be able to use native AX.25 from Xastir?
+_Description: Should non-superusers be able to use native AX.25 from Xastir?
Xastir can be installed in a way that allows members of the "xastir-ax25"
system group to use a native Linux AX.25 interface from within Xastir. This
is recommended over the alternative of running Xastir as root, as this
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/xastir.git
More information about the pkg-hamradio-commits
mailing list