Package: d-push Version: 1.5.2-1 Severity: normal Tags: patch Hi, d-push doesn't use po-debconf which makes translating the debconf template impossible. Attached patch fixes this. Cheers, -- Guido
-- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
>From 6839021a94cecc36cec34a5f740343764c392bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]> Date: Thu, 23 Jun 2011 14:48:55 +0200 Subject: [PATCH] Use po-debconf --- debian/control | 2 +- debian/d-push.templates | 2 +- debian/po/POTFILES.in | 1 + debian/po/templates.pot | 32 ++++++++++++++++++++++++++++++++ debian/rules | 1 + 5 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/templates.pot diff --git a/debian/control b/debian/control index 4e9dfad..e036b21 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: d-push Section: web Priority: extra Maintainer: Wolfram Quester <[email protected]> -Build-Depends: debhelper, quilt +Build-Depends: debhelper, quilt, po-debconf Standards-Version: 3.8.4 Homepage: http://z-push.sourceforge.net/soswp #Vcs-Git: git://git.debian.org/collab-maint/d-push.git diff --git a/debian/d-push.templates b/debian/d-push.templates index ee14f43..b92f66e 100644 --- a/debian/d-push.templates +++ b/debian/d-push.templates @@ -2,7 +2,7 @@ Template: d-push/reconfigure-webserver Type: multiselect Choices: apache2, apache, apache-ssl, apache-perl, lighttpd -Description: Web server to reconfigure automatically: +_Description: Web server to reconfigure automatically: Please choose the web server that should be automatically configured to run d-push. diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..1a2fa1a --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] d-push.templates diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..89a6edf --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,32 @@ +# 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@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2011-06-23 14:53+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <[email protected]>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Description +#: ../d-push.templates:1001 +msgid "Web server to reconfigure automatically:" +msgstr "" + +#. Type: multiselect +#. Description +#: ../d-push.templates:1001 +msgid "" +"Please choose the web server that should be automatically configured to run " +"d-push." +msgstr "" diff --git a/debian/rules b/debian/rules index af51de0..59c7eb2 100755 --- a/debian/rules +++ b/debian/rules @@ -23,5 +23,6 @@ clean: unpatch dh_testroot rm -f build-stamp dh_clean + debconf-updatepo build: patch -- 1.7.5.4

