Package: pdbv Version: N/A Severity: wishlist Tags: patch Hello,
The gettext format helps the translators to translate the debconf templates. The attached patch does the required modifications : this is what I've done : - change debhelper dependency to 4.1.16 (according to man po-debconf), - run debconf-gettextize, - rewrite some strings in debian/templates, - remove old templates file, - run diff -Nur packagename/ packagename.new/ > po-debconf.patch. Please, could you switch to the gettext format for this package ? Regards, -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux kayak 2.4.22 #1 mer sep 3 09:02:18 CEST 2003 i686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to [EMAIL PROTECTED])
diff -Nur pdbv-2.0.5/debian/control pdbv-2.0.5.new/debian/control --- pdbv-2.0.5/debian/control 2003-05-11 21:58:35.000000000 +0200 +++ pdbv-2.0.5.new/debian/control 2003-09-21 08:46:59.000000000 +0200 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Mathieu Roy <[EMAIL PROTECTED]> Uploaders: Florian M. Weps <[EMAIL PROTECTED]> -Build-Depends-Indep: gettext, debhelper (>= 3.0.18) +Build-Depends-Indep: debhelper (>= 4.1.16) Standards-Version: 3.5.9.0 Package: pdbv diff -Nur pdbv-2.0.5/debian/po/POTFILES.in pdbv-2.0.5.new/debian/po/POTFILES.in --- pdbv-2.0.5/debian/po/POTFILES.in 1970-01-01 01:00:00.000000000 +0100 +++ pdbv-2.0.5.new/debian/po/POTFILES.in 2003-09-21 08:47:10.000000000 +0200 @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff -Nur pdbv-2.0.5/debian/po/templates.pot pdbv-2.0.5.new/debian/po/templates.pot --- pdbv-2.0.5/debian/po/templates.pot 1970-01-01 01:00:00.000000000 +0100 +++ pdbv-2.0.5.new/debian/po/templates.pot 2003-09-22 12:50:30.000000000 +0200 @@ -0,0 +1,137 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-09-22 12:50+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n" +"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Choices +#: ../templates:3 +msgid "basic" +msgstr "" + +#. Description +#: ../templates:5 +msgid "Listing type" +msgstr "" + +#. Description +#: ../templates:5 +msgid "Which type of listing should be generated?" +msgstr "" + +#. Description +#: ../templates:5 +msgid "This has no effect currently with pdbv 2.0.x." +msgstr "" + +#. Description +#: ../templates:13 +msgid "Directory for generated output" +msgstr "" + +#. Description +#: ../templates:13 +msgid "The default value, /var/www/pdbv, is a public area." +msgstr "" + +#. Description +#: ../templates:19 +msgid "Remove generated data?" +msgstr "" + +#. Description +#: ../templates:19 +msgid "Do you want pdbv to remove any generated data when deinstalled?" +msgstr "" + +#. Choices +#: ../templates:24 +msgid "hourly, daily, no cron job" +msgstr "" + +#. Description +#: ../templates:26 +msgid "Frequency for running pdbv via cron" +msgstr "" + +#. Description +#: ../templates:26 +msgid "" +"With pdbv 2.x, hourly is fine. \"No cron job\" means that no cron job will " +"run pdbv." +msgstr "" + +#. Default +#: ../templates:32 +msgid "no" +msgstr "" + +#. Description +#: ../templates:33 +msgid "Forced locale" +msgstr "" + +#. Description +#: ../templates:33 +msgid "" +"Sometimes, cron fails to identify the appropriate LC and LANG settings. You " +"can force the use of a specific locale by choosing anything else than the " +"default \"no\" value. For instance, choose fr_FR for forcing the use of a " +"french locale." +msgstr "" + +#. Description +#: ../templates:42 +msgid "Should pdbv sleep for 7 seconds?" +msgstr "" + +#. Description +#: ../templates:42 +msgid "" +"Pdbv usually sleeps for 7 seconds in order to avoid a GNU find bug. The pdbv " +"output generation is faster without this but it will not use more system " +"resources." +msgstr "" + +#. Description +#: ../templates:42 +msgid "" +"You should not remove the sleep behaviour unless you really know the details " +"of this problem." +msgstr "" + +#. Description +#: ../templates:53 +msgid "Skip tests and regenerate the whole output?" +msgstr "" + +#. Description +#: ../templates:53 +msgid "" +"This option allows pdbv to skip tests and always regenerate the whole output." +msgstr "" + +#. Description +#: ../templates:53 +msgid "Do not change this unless you have a very specific reason for doing so." +msgstr "" diff -Nur pdbv-2.0.5/debian/templates pdbv-2.0.5.new/debian/templates --- pdbv-2.0.5/debian/templates 2003-05-11 14:03:57.000000000 +0200 +++ pdbv-2.0.5.new/debian/templates 2003-09-22 12:50:26.000000000 +0200 @@ -1,8 +1,8 @@ Template: pdbv/listing Type: select +_Choices: basic Default: basic -Choices: basic -Description: +_Description: Listing type Which type of listing should be generated? . This has no effect currently with pdbv 2.0.x. @@ -10,51 +10,47 @@ Template: pdbv/output_dir Type: string Default: /var/www/pdbv -Description: - Where do you want output to be generated? - . - By default, /var/www/pdbv is selected, which is a public area. +_Description: Directory for generated output + The default value, /var/www/pdbv, is a public area. Template: pdbv/clean_output_dir Type: boolean Default: true -Description: +_Description: Remove generated data? Do you want pdbv to remove any generated data when deinstalled? Template: pdbv/cron Type: select +_Choices: hourly, daily, no cron job Default: hourly -Choices: hourly, daily, no -Description: - Do you want pdbv to be run by cron on a hourly or daily basis? - . - With pdbv 2.x, hourly is fine. No means that no cronjob will run pdbv. +_Description: Frequency for running pdbv via cron + With pdbv 2.x, hourly is fine. "No cron job" means that no cron job + will run pdbv. Template: pdbv/cron_lang Type: string -Default: no -Description: +_Default: no +_Description: Forced locale Sometimes, cron fails to identify the appropriate LC and LANG settings. - You can force usage of a particular locale by choosing something different - from no. For instance, fr_FR for French locale. + You can force the use of a specific locale by choosing anything else + than the default "no" value. For instance, choose fr_FR for forcing + the use of a french locale. Template: pdbv/sleep Type: boolean Default: true -Description: - Pdbv usually sleep 7 sec to avoid a bug of GNU find. If you set this to false - the pdbv output generation will be faster but it will take no more no less - resources. +_Description: Should pdbv sleep for 7 seconds? + Pdbv usually sleeps for 7 seconds in order to avoid a GNU find bug. + The pdbv output generation is faster without this but it will not + use more system resources. . - You should let this setting to true unless you really know details of this - problem. - + You should not remove the sleep behaviour unless you really know the details + of this problem. Template: pdbv/force Type: boolean Default: false -Description: - Do you want pdbv to skip tests and regenerate the whole output everytime. +_Description: Skip tests and regenerate the whole output? + This option allows pdbv to skip tests and always regenerate the whole output. . - Unless you have a particular reason to select this behavior, you should - let this setting to false. + Do not change this unless you have a very specific reason for doing so.
