Bug#201250: mifluz: Please switch to gettext-based debconf templates
Package: mifluz
Version: unavailable; reported 2003-07-13
Severity: wishlist
Tags: patch
(as the package is orphaned, I plan a NMU for correcting this)
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)
Then diff file creation....
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 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"
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mykerinos 2.4.20 #1 mer jan 29 09:30:35 CET 2003 i686
Locale: LANG=fr_FR.ISO-8859-1, LC_CTYPE=fr_FR.ISO-8859-1 (ignored: LC_ALL set)
diff -Nru mifluz-0.24.0.ori/debian/control mifluz-0.24.0/debian/control
--- mifluz-0.24.0.ori/debian/control 2003-07-13 09:54:20.000000000 +0200
+++ mifluz-0.24.0/debian/control 2003-07-13 09:54:42.000000000 +0200
@@ -2,7 +2,7 @@
Section: utils
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>> 3.0.0), flex, libz-dev, texinfo, tetex-bin, autotools-dev, autoconf
+Build-Depends: debhelper (>> 4.1.16), flex, libz-dev, texinfo, tetex-bin, autotools-dev, autoconf
Standards-Version: 3.5.9.0
Package: libmifluz0
diff -Nru mifluz-0.24.0.ori/debian/mifluz.templates mifluz-0.24.0/debian/mifluz.templates
--- mifluz-0.24.0.ori/debian/mifluz.templates 2003-07-13 09:54:20.000000000 +0200
+++ mifluz-0.24.0/debian/mifluz.templates 2003-07-13 10:00:01.000000000 +0200
@@ -1,39 +1,18 @@
Template: mifluz/create_index_dir
Type: string
Default: /var/lib/mifluz
-Description: Index directory ?
- This is the place where you want mifluz to store generated indexes
-Description-de: Index-Verzeichnis?
- Dies ist das Verzeichnis, im dem die erstellten Indexes gespeichert werden.
-Description-fr: Répertoire des Index ?
- C'est l'endroit où vous souhaitez que mifluz stocke les index générés
-Description-ru: éÎÄÅËÓÎÙÊ ËÁÔÁÌÏÇ?
- üÔÏ ÍÅÓÔÏ, × ËÏÔÏÒÏÍ mifluz ÈÒÁÎÉÔ ÓÇÅÎÅÒÉÒÏ×ÁÎÎÙÅ ÉÎÄÅËÓÙ.
+_Description: Index directory
+ Indexes will be stored in this directory.
Template: mifluz/create_cache_dir
Type: string
Default: /var/cache/mifluz
-Description: Cache directory ?
- This is the place where you want mifluz to store cache file when
- creating indexes
-Description-de: Cache-Verzeichnis?
- Dies ist das Verzeichnis, im dem die Cache-Dateien, die beim erstellen des
- Index entstehen, zwischengespeichert werden.
-Description-fr: Répertoire cache ?
- C'est l'endroit où vous souhaitez que mifluz stocke les fichiers de
- cache lors de la création d'un index.
-Description-ru: ëÁÔÁÌÏÇ ËÅÛÁ?
- üÔÏ ÍÅÓÔÏ, × ËÏÔÏÒÏÍ mifluz ÈÒÁÎÉÔ ËÅÛ-ÆÁÊÌÙ ÐÒÉ ÓÏÚÄÁÎÉÉ ÉÎÄÅËÓÏ×.
+_Description: Cache directory
+ Cached files will be kept in this directory.
Template: mifluz/remove_question
Type: boolean
Default: true
-Description: Do you want to remove the directories ?
- Do you want to automatically remove cache and index directories when
- purging the package ?
-Description-ru: èÏÔÉÔÅ ÕÄÁÌÉÔØ ËÁÔÁÌÏÇÉ?
- ÷Ù ÈÏÔÉÔÅ Á×ÔÏÍÁÔÉÞÅÓËÉ ÕÄÁÌÉÔØ ËÁÔÁÌÏÇÉ ËÅÛÁ É ÉÎÄÅËÓÏ× ÐÒÉ
- ÕÎÉÞÔÏÖÅÎÉÉ ÐÁËÅÔÁ?
-Description-fr: Voulez-vous supprimer les répertoires ?
- Souhaitez-vous supprimer automatiquement les répertoires de cache et
- d'index lors de la purge du paquetage ?
+_Description: Do you want to remove the directories when purging the package?
+ Do you want to automatically remove the cache and index directories when
+ purging the package?
diff -Nru mifluz-0.24.0.ori/debian/po/de.po mifluz-0.24.0/debian/po/de.po
--- mifluz-0.24.0.ori/debian/po/de.po 1970-01-01 01:00:00.000000000 +0100
+++ mifluz-0.24.0/debian/po/de.po 2003-07-13 10:04:39.000000000 +0200
@@ -0,0 +1,71 @@
+#
+# 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-07-13 10:04+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=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../mifluz.templates:4
+#, fuzzy
+msgid "Index directory"
+msgstr "Index-Verzeichnis?"
+
+#. Description
+#: ../mifluz.templates:4
+msgid "Indexes will be stored in this directory."
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:10
+#, fuzzy
+msgid "Cache directory"
+msgstr "Cache-Verzeichnis?"
+
+#. Description
+#: ../mifluz.templates:10
+msgid "Cached files will be kept in this directory."
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:16
+msgid "Do you want to remove the directories when purging the package?"
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:16
+msgid ""
+"Do you want to automatically remove the cache and index directories when "
+"purging the package?"
+msgstr ""
+
+#~ msgid "This is the place where you want mifluz to store generated indexes"
+#~ msgstr ""
+#~ "Dies ist das Verzeichnis, im dem die erstellten Indexes gespeichert "
+#~ "werden."
+
+#~ msgid ""
+#~ "This is the place where you want mifluz to store cache file when "
+#~ "creating indexes"
+#~ msgstr ""
+#~ "Dies ist das Verzeichnis, im dem die Cache-Dateien, die beim erstellen "
+#~ "des Index entstehen, zwischengespeichert werden."
diff -Nru mifluz-0.24.0.ori/debian/po/fr.po mifluz-0.24.0/debian/po/fr.po
--- mifluz-0.24.0.ori/debian/po/fr.po 1970-01-01 01:00:00.000000000 +0100
+++ mifluz-0.24.0/debian/po/fr.po 2003-07-13 10:09:00.000000000 +0200
@@ -0,0 +1,57 @@
+#
+# 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.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mifluz 0.24.0-8\n"
+"POT-Creation-Date: 2003-07-13 10:04+0200\n"
+"PO-Revision-Date: 2003-07-13 10:08+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../mifluz.templates:4
+msgid "Index directory"
+msgstr "Répertoire des index"
+
+#. Description
+#: ../mifluz.templates:4
+msgid "Indexes will be stored in this directory."
+msgstr "Les index seront conservés dans ce répertoire."
+
+#. Description
+#: ../mifluz.templates:10
+msgid "Cache directory"
+msgstr "Répertoire cache"
+
+#. Description
+#: ../mifluz.templates:10
+msgid "Cached files will be kept in this directory."
+msgstr "Les fichiers mis en cache seront conservés dans ce répertoire."
+
+#. Description
+#: ../mifluz.templates:16
+msgid "Do you want to remove the directories when purging the package?"
+msgstr "Souhaitez-vous effacer les répertoires lors de la purge du paquet ?"
+
+#. Description
+#: ../mifluz.templates:16
+msgid ""
+"Do you want to automatically remove the cache and index directories when "
+"purging the package?"
+msgstr ""
+"Souhaitez-vous supprimer automatiquement les répertoires de cache et d'index "
+"lors de la purge (c'est-à-dire la suppression complète) du paquet ?"
diff -Nru mifluz-0.24.0.ori/debian/po/POTFILES.in mifluz-0.24.0/debian/po/POTFILES.in
--- mifluz-0.24.0.ori/debian/po/POTFILES.in 1970-01-01 01:00:00.000000000 +0100
+++ mifluz-0.24.0/debian/po/POTFILES.in 2003-07-13 09:56:44.000000000 +0200
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] mifluz.templates
diff -Nru mifluz-0.24.0.ori/debian/po/ru.po mifluz-0.24.0/debian/po/ru.po
--- mifluz-0.24.0.ori/debian/po/ru.po 1970-01-01 01:00:00.000000000 +0100
+++ mifluz-0.24.0/debian/po/ru.po 2003-07-13 10:04:40.000000000 +0200
@@ -0,0 +1,76 @@
+#
+# 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-07-13 10:04+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=KOI8-R\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../mifluz.templates:4
+#, fuzzy
+msgid "Index directory"
+msgstr "éÎÄÅËÓÎÙÊ ËÁÔÁÌÏÇ?"
+
+#. Description
+#: ../mifluz.templates:4
+msgid "Indexes will be stored in this directory."
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:10
+#, fuzzy
+msgid "Cache directory"
+msgstr "ëÁÔÁÌÏÇ ËÅÛÁ?"
+
+#. Description
+#: ../mifluz.templates:10
+msgid "Cached files will be kept in this directory."
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:16
+#, fuzzy
+msgid "Do you want to remove the directories when purging the package?"
+msgstr ""
+"÷Ù ÈÏÔÉÔÅ Á×ÔÏÍÁÔÉÞÅÓËÉ ÕÄÁÌÉÔØ ËÁÔÁÌÏÇÉ ËÅÛÁ É ÉÎÄÅËÓÏ× ÐÒÉ "
+"ÕÎÉÞÔÏÖÅÎÉÉ ÐÁËÅÔÁ?"
+
+#. Description
+#: ../mifluz.templates:16
+#, fuzzy
+msgid ""
+"Do you want to automatically remove the cache and index directories when "
+"purging the package?"
+msgstr ""
+"÷Ù ÈÏÔÉÔÅ Á×ÔÏÍÁÔÉÞÅÓËÉ ÕÄÁÌÉÔØ ËÁÔÁÌÏÇÉ ËÅÛÁ É ÉÎÄÅËÓÏ× ÐÒÉ "
+"ÕÎÉÞÔÏÖÅÎÉÉ ÐÁËÅÔÁ?"
+
+#~ msgid "This is the place where you want mifluz to store generated indexes"
+#~ msgstr "üÔÏ ÍÅÓÔÏ, × ËÏÔÏÒÏÍ mifluz ÈÒÁÎÉÔ ÓÇÅÎÅÒÉÒÏ×ÁÎÎÙÅ ÉÎÄÅËÓÙ."
+
+#~ msgid ""
+#~ "This is the place where you want mifluz to store cache file when "
+#~ "creating indexes"
+#~ msgstr "üÔÏ ÍÅÓÔÏ, × ËÏÔÏÒÏÍ mifluz ÈÒÁÎÉÔ ËÅÛ-ÆÁÊÌÙ ÐÒÉ ÓÏÚÄÁÎÉÉ ÉÎÄÅËÓÏ×."
+
+#~ msgid "Do you want to remove the directories ?"
+#~ msgstr "èÏÔÉÔÅ ÕÄÁÌÉÔØ ËÁÔÁÌÏÇÉ?"
diff -Nru mifluz-0.24.0.ori/debian/po/templates.pot mifluz-0.24.0/debian/po/templates.pot
--- mifluz-0.24.0.ori/debian/po/templates.pot 1970-01-01 01:00:00.000000000 +0100
+++ mifluz-0.24.0/debian/po/templates.pot 2003-07-13 10:04:40.000000000 +0200
@@ -0,0 +1,57 @@
+#
+# 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-07-13 10:04+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
+#: ../mifluz.templates:4
+msgid "Index directory"
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:4
+msgid "Indexes will be stored in this directory."
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:10
+msgid "Cache directory"
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:10
+msgid "Cached files will be kept in this directory."
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:16
+msgid "Do you want to remove the directories when purging the package?"
+msgstr ""
+
+#. Description
+#: ../mifluz.templates:16
+msgid ""
+"Do you want to automatically remove the cache and index directories when "
+"purging the package?"
+msgstr ""
Reply to: