[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205799: blackened: Please switch to gettext-based debconf templates



Package: blackened
Version: unavailable; reported 2003-08-13
Severity: wishlist
Tags: patch

This package being orphaned, I intent to do a QA upload as soon as I get the
french translation reviewed. I will also try to get the spanish translation
of debconf templates (104003) back into the package : it seems to have been
lost somewhere.


(this text is generic for "po-debconf switch" bug reports. If something is
specific to your package, look at the end of this BR)

Using the "new" gettext format for debconf templates helps for templates
translations. For instance, detecting outdated or untranslated strings 
becomes considerably easier. It also keeps track of who did which translation.

The attached patch does the required modifications :
- debian/control modification for dependencies (see below)
- execute "debconf-gettextize debian/*templates*"
- removed files left by debconf-gettextize (*.templates.old which are the
  old-style templates and *.templates.xx which are the former translated
  templates
- french translation proofreading (the file is debian/po/fr.po) if a french 
  translation (partial or not) already existed for the templates


Then diff file creation....

I, in the same time, started to work on a french translation if none
was there. In such case, the fr.po file will be sent to you through
another BR.

If you want to reproduce this by yourself instead of applying the
patch, you have to do:

-install po-debconf on your system
-go to the debian directory
-read man po-debconf..:-)
-run "debconf-gettextize *.templates"
-read the output
-change Build-Depends or Build-Depends-Indep (see below)

Then you will pick up the fr.po file from my own patch (I often make small
corrections to existing french translations to make them conformant to
the existing standards of the Debian french l10n team).


Build Dependencies of the package have to become the following :

Build-Depends(-Indep) should list "debhelper (>= 4.1.16)" (debhelper
depends upon po-debconf) if you use debhelper, or "po-debconf"
directly if you don't (but, then, please look at po-debconf man page)

For more details, see po-debconf documentation, especially "man 7 po-debconf"

Read this if you're concerned with backports :
--------------------------------------------

Please note that the suggested modifications will make your
package a little bit harder to backport to earlier Debian releases. If
this is a concern to you, you may try to adopt the method used by the
openssh package and detailed by Colin Watson in
http://lists.debian.org/debian-i18n/2003/debian-i18n-200307/msg00026.html";.

This patch does not includes this method as this would make it too
invasive, IMHO. So, preserving backportability is up to you...

Additional notes, specific to this package :
--------------------------------------------



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mykerinos 2.4.21 #1 jeu jui 24 08:36:17 CEST 2003 i686
Locale: LANG=fr_FR.ISO-8859-1, LC_CTYPE=fr_FR.ISO-8859-1 (ignored: LC_ALL set)

diff -Nru blackened-1.8.1.ori/debian/control blackened-1.8.1/debian/control
--- blackened-1.8.1.ori/debian/control	2003-08-01 09:57:38.000000000 +0200
+++ blackened-1.8.1/debian/control	2003-08-07 08:53:33.000000000 +0200
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 4), libncurses-dev
+Build-Depends: debhelper (>= 4.1.16), libncurses-dev
 Standards-Version: 3.5.8
 
 Package: blackened
diff -Nru blackened-1.8.1.ori/debian/po/de.po blackened-1.8.1/debian/po/de.po
--- blackened-1.8.1.ori/debian/po/de.po	1970-01-01 01:00:00.000000000 +0100
+++ blackened-1.8.1/debian/po/de.po	2003-08-07 09:03:14.000000000 +0200
@@ -0,0 +1,59 @@
+#
+#    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-08-07 08:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Sebastian Feltel\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Please enter the address of your IRC server"
+msgstr "Bitte geben Sie die Adresse des IRC-Servers an"
+
+#. Description
+#: ../templates:4
+#, fuzzy
+msgid ""
+"Use the following format for your IRC server: hostname:portnum:password "
+"(with the portnum and password being optional). Please be careful to pick a "
+"server close to you. The server will be stored into /etc/irc/servers. Users "
+"can override this setting."
+msgstr ""
+"Nutzen Sie das folgende Format, um die Adresse des IRC-Servers anzugeben: "
+"hostname:portnummer:passwort. Portnummer und Passwort sind optional. Wählen "
+"Sie einen Server in Ihrer Nähe aus. Die Serverinfos werden in /etc/irc/"
+"servers gespeichert. Diese Informationen können von den Nutzern "
+"überschrieben werden."
+
+#. Description
+#: ../templates:12
+msgid "Found existing /etc/irc/servers file, and using it."
+msgstr "Die Datei /etc/irc/servers wurde gefunden."
+
+#. Description
+#: ../templates:12
+msgid ""
+"You have a file /etc/irc/servers on your system. This will be used by "
+"blackened to get its default IRC server from."
+msgstr ""
+"Sie haben eine Datei /etc/irc/servers. Diese Datei wird nun von blackened "
+"verwenden, um den Standard-IRC-Server zu bestimmen."
diff -Nru blackened-1.8.1.ori/debian/po/nl.po blackened-1.8.1/debian/po/nl.po
--- blackened-1.8.1.ori/debian/po/nl.po	1970-01-01 01:00:00.000000000 +0100
+++ blackened-1.8.1/debian/po/nl.po	2003-08-07 09:02:56.000000000 +0200
@@ -0,0 +1,58 @@
+#
+#    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-08-07 08:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Joost van Baal <joostvb@debian.org>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Please enter the address of your IRC server"
+msgstr "Geef het adres van je IRC server"
+
+#. Description
+#: ../templates:4
+#, fuzzy
+msgid ""
+"Use the following format for your IRC server: hostname:portnum:password "
+"(with the portnum and password being optional). Please be careful to pick a "
+"server close to you. The server will be stored into /etc/irc/servers. Users "
+"can override this setting."
+msgstr ""
+"Gebruik het volgende formaat voor je IRC server: hostnaam:poortnummer:"
+"paswoord (het poortnummer en het paswoord zijn optioneel). De servernaam "
+"wordt in /etc/irc/servers geschreven. Gebruikers kunnen, als ze dat willen, "
+"een andere server gebruiken."
+
+#. Description
+#: ../templates:12
+msgid "Found existing /etc/irc/servers file, and using it."
+msgstr "Het file /etc/irc/servers zal gebruikt worden door blackened."
+
+#. Description
+#: ../templates:12
+msgid ""
+"You have a file /etc/irc/servers on your system. This will be used by "
+"blackened to get its default IRC server from."
+msgstr ""
+"Er bestaat een file /etc/irc/servers op het systeem. Dit zal gebruikt worden "
+"om de default IRC server te vinden."
diff -Nru blackened-1.8.1.ori/debian/po/POTFILES.in blackened-1.8.1/debian/po/POTFILES.in
--- blackened-1.8.1.ori/debian/po/POTFILES.in	1970-01-01 01:00:00.000000000 +0100
+++ blackened-1.8.1/debian/po/POTFILES.in	2003-08-07 08:53:34.000000000 +0200
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff -Nru blackened-1.8.1.ori/debian/po/pt_BR.po blackened-1.8.1/debian/po/pt_BR.po
--- blackened-1.8.1.ori/debian/po/pt_BR.po	1970-01-01 01:00:00.000000000 +0100
+++ blackened-1.8.1/debian/po/pt_BR.po	2003-08-07 09:02:26.000000000 +0200
@@ -0,0 +1,56 @@
+#
+#    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-08-07 08:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Andre Luis Lopes\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Please enter the address of your IRC server"
+msgstr "Por favor informe o endereço de seu servidor IRC"
+
+#. Description
+#: ../templates:4
+#, fuzzy
+msgid ""
+"Use the following format for your IRC server: hostname:portnum:password "
+"(with the portnum and password being optional). Please be careful to pick a "
+"server close to you. The server will be stored into /etc/irc/servers. Users "
+"can override this setting."
+msgstr ""
+"Use o seguinte formato para seu servidor IRC : hostname:númerodaporta:senha "
+"(onde númerodaporta e senha são opcionais)."
+
+#. Description
+#: ../templates:12
+msgid "Found existing /etc/irc/servers file, and using it."
+msgstr "Encontrado arquivo /etc/irc/servers existente e usando o mesmo"
+
+#. Description
+#: ../templates:12
+msgid ""
+"You have a file /etc/irc/servers on your system. This will be used by "
+"blackened to get its default IRC server from."
+msgstr ""
+"Você tem um arquivo /etc/irc/servers em seu sistema. Ele será usado pelo "
+"backened, e é de onde ele irá obter seu servidor IRC padrão."
diff -Nru blackened-1.8.1.ori/debian/po/sv.po blackened-1.8.1/debian/po/sv.po
--- blackened-1.8.1.ori/debian/po/sv.po	1970-01-01 01:00:00.000000000 +0100
+++ blackened-1.8.1/debian/po/sv.po	2003-08-07 09:02:15.000000000 +0200
@@ -0,0 +1,58 @@
+#
+#    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-08-07 08:54+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Martin Sjögren\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Please enter the address of your IRC server"
+msgstr "Ange adressen för din IRC-server"
+
+#. Description
+#: ../templates:4
+#, fuzzy
+msgid ""
+"Use the following format for your IRC server: hostname:portnum:password "
+"(with the portnum and password being optional). Please be careful to pick a "
+"server close to you. The server will be stored into /etc/irc/servers. Users "
+"can override this setting."
+msgstr ""
+"Använd följande format för din IRC-server: datornamn:portnummer:lösenord "
+"(portnummer och lösenord är frivilliga). Välj gärna en server nära dig. "
+"Servern kommer sparas i /etc/irc/servers. Användare kan förbigå den här "
+"inställningen."
+
+#. Description
+#: ../templates:12
+msgid "Found existing /etc/irc/servers file, and using it."
+msgstr "Hittade existerande /etc/irc/servers-fil, använder den."
+
+#. Description
+#: ../templates:12
+msgid ""
+"You have a file /etc/irc/servers on your system. This will be used by "
+"blackened to get its default IRC server from."
+msgstr ""
+"Du har redan en /etc/irc/servers-fil på ditt system. Den kommer användas av "
+"blackened för att läsa standard-IRC-server från."
diff -Nru blackened-1.8.1.ori/debian/po/templates.pot blackened-1.8.1/debian/po/templates.pot
--- blackened-1.8.1.ori/debian/po/templates.pot	1970-01-01 01:00:00.000000000 +0100
+++ blackened-1.8.1/debian/po/templates.pot	2003-08-07 08:54:24.000000000 +0200
@@ -0,0 +1,51 @@
+#
+#    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-08-07 08:54+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"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Please enter the address of your IRC server"
+msgstr ""
+
+#. Description
+#: ../templates:4
+msgid ""
+"Use the following format for your IRC server: hostname:portnum:password "
+"(with the portnum and password being optional). Please be careful to pick a "
+"server close to you. The server will be stored into /etc/irc/servers. Users "
+"can override this setting."
+msgstr ""
+
+#. Description
+#: ../templates:12
+msgid "Found existing /etc/irc/servers file, and using it."
+msgstr ""
+
+#. Description
+#: ../templates:12
+msgid ""
+"You have a file /etc/irc/servers on your system. This will be used by "
+"blackened to get its default IRC server from."
+msgstr ""
diff -Nru blackened-1.8.1.ori/debian/templates blackened-1.8.1/debian/templates
--- blackened-1.8.1.ori/debian/templates	2003-08-01 09:57:38.000000000 +0200
+++ blackened-1.8.1/debian/templates	2003-08-07 08:54:21.000000000 +0200
@@ -1,16 +1,14 @@
 Template: blackened/servers
 Type: string
 Default: irc.debian.org
-Description: Please enter the address of your IRC server
- Use the following format for your IRC server:
- hostname:portnum:password
- (with the portnum and password being optional).
- Please be careful to pick a server close to you.
- The server will be stored into /etc/irc/servers.
+_Description: Please enter the address of your IRC server
+ Use the following format for your IRC server: hostname:portnum:password
+ (with the portnum and password being optional). Please be careful to pick
+ a server close to you. The server will be stored into /etc/irc/servers.
  Users can override this setting.
 
 Template: blackened/oldservers
 Type: note
-Description: Found existing /etc/irc/servers file, and using it.
- You have a file /etc/irc/servers on your system. This will be
- used by blackened to get its default IRC server from.
+_Description: Found existing /etc/irc/servers file, and using it.
+ You have a file /etc/irc/servers on your system. This will be used by
+ blackened to get its default IRC server from.
diff -Nru blackened-1.8.1.ori/debian/templates.de blackened-1.8.1/debian/templates.de
--- blackened-1.8.1.ori/debian/templates.de	2003-08-01 09:57:38.000000000 +0200
+++ blackened-1.8.1/debian/templates.de	1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-Template: blackened/servers
-Type: string
-Default: irc.debian.org
-Description: Please enter the address of your IRC server
- Use the following format for your IRC server:
- hostname:portnum:password
- (with the portnum and password being optional).
- Please be careful to pick a server close to you.
- The server will be stored into /etc/irc/servers.
- Users can overwrite this setting.
-Description-de: Bitte geben Sie die Adresse des IRC-Servers an
- Nutzen Sie das folgende Format, um die Adresse des
- IRC-Servers anzugeben: hostname:portnummer:passwort.
- Portnummer und Passwort sind optional. Wählen Sie
- einen Server in Ihrer Nähe aus. Die Serverinfos
- werden in /etc/irc/servers gespeichert. Diese
- Informationen können von den Nutzern überschrieben
- werden.
-
-Template: blackened/oldservers
-Type: note
-Description: Found existing /etc/irc/servers file, and using it.
- You have a file /etc/irc/servers on your system. This will be
- used by blackened to get its default IRC server from.
-Description-de: Die Datei /etc/irc/servers wurde gefunden.
- Sie haben eine Datei /etc/irc/servers. Diese Datei wird nun
- von blackened verwenden, um den Standard-IRC-Server zu bestimmen.
diff -Nru blackened-1.8.1.ori/debian/templates.nl blackened-1.8.1/debian/templates.nl
--- blackened-1.8.1.ori/debian/templates.nl	2003-08-01 09:57:38.000000000 +0200
+++ blackened-1.8.1/debian/templates.nl	1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-Template: blackened/servers
-Type: string
-Default: irc.debian.org
-Description: Please enter the address of your IRC server
- Use the following format for your IRC server:
- hostname:portnum:password
- (with the portnum and password being optional).
- Please be careful to pick a server close to you.
- The server will be stored into /etc/irc/servers.
- Users can overwrite this setting.
-Description-nl: Geef het adres van je IRC server
- Gebruik het volgende formaat voor je IRC server:
- hostnaam:poortnummer:paswoord
- (het poortnummer en het paswoord zijn optioneel).
- De servernaam wordt in /etc/irc/servers geschreven.
- Gebruikers kunnen, als ze dat willen, een andere
- server gebruiken.
-
-Template: blackened/oldservers
-Type: note
-Description: Found existing /etc/irc/servers file, and using it.
- You have a file /etc/irc/servers on your system. This will be
- used by blackened to get its default IRC server from.
-Description-nl: Het file /etc/irc/servers zal gebruikt worden door blackened.
- Er bestaat een file /etc/irc/servers op het systeem. Dit zal
- gebruikt worden om de default IRC server te vinden.
diff -Nru blackened-1.8.1.ori/debian/templates.pt_BR blackened-1.8.1/debian/templates.pt_BR
--- blackened-1.8.1.ori/debian/templates.pt_BR	2003-08-01 09:57:38.000000000 +0200
+++ blackened-1.8.1/debian/templates.pt_BR	1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-Template: blackened/servers
-Type: string
-Default: irc.debian.org
-Description: Please enter the address of your IRC server
- Use the following format for your IRC server:
- hostname:portnum:password
- (with the portnum and password being optional).
- Please be careful to pick a server close to you.
- The server will be stored into /etc/irc/servers.
- Users can overwrite this setting.
-Description-pt_BR: Por favor informe o endereço de seu servidor IRC
- Use o seguinte formato para seu servidor IRC :
- hostname:númerodaporta:senha
- (onde númerodaporta e senha são opcionais).
-
-Template: blackened/oldservers
-Type: note
-Description: Found existing /etc/irc/servers file, and using it.
- You have a file /etc/irc/servers on your system. This will be
- used by blackened to get its default IRC server from.
-Description-pt_BR: Encontrado arquivo /etc/irc/servers existente e usando o mesmo
- Você tem um arquivo /etc/irc/servers em seu sistema. Ele será usado pelo
- backened, e é de onde ele irá obter seu servidor IRC padrão.
diff -Nru blackened-1.8.1.ori/debian/templates.sv blackened-1.8.1/debian/templates.sv
--- blackened-1.8.1.ori/debian/templates.sv	2003-08-01 09:57:38.000000000 +0200
+++ blackened-1.8.1/debian/templates.sv	1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-Template: blackened/servers
-Type: string
-Default: irc.debian.org
-Description: Please enter the address of your IRC server
- Use the following format for your IRC server:
- hostname:portnum:password
- (with the portnum and password being optional).
- Please be careful to pick a server close to you.
- The server will be stored into /etc/irc/servers.
- Users can overwrite this setting.
-Description-sv: Ange adressen för din IRC-server
- Använd följande format för din IRC-server:
- datornamn:portnummer:lösenord
- (portnummer och lösenord är frivilliga).
- Välj gärna en server nära dig.
- Servern kommer sparas i /etc/irc/servers.
- Användare kan förbigå den här inställningen.
-
-Template: blackened/oldservers
-Type: note
-Description: Found existing /etc/irc/servers file, and using it.
- You have a file /etc/irc/servers on your system. This will be
- used by blackened to get its default IRC server from.
-Description-sv: Hittade existerande /etc/irc/servers-fil, använder den.
- Du har redan en /etc/irc/servers-fil på ditt system. Den kommer
- användas av blackened för att läsa standard-IRC-server från.

Reply to: