Bug#235830: marked as done (nautilus-media: Please switch to gettext-based debconf templates)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 03 Jun 2004 13:18:15 -0700


Your message dated Thu, 03 Jun 2004 22:00:10 +0200
with message-id <E1BVyNm-0003qe-BH@localhost>
and subject line Closed in nautilus-media 0.8.0-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Mar 2004 18:09:23 +0000
>From mquinson@ens-lyon.fr Tue Mar 02 10:09:23 2004
Return-path: <mquinson@ens-lyon.fr>
Received: from pompone.cs.ucsb.edu [128.111.45.35] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AyEKZ-0001DP-00; Tue, 02 Mar 2004 10:09:23 -0800
Received: from [128.111.45.152] (helo=localhost ident=mail)
	by pompone.cs.ucsb.edu with asmtp (Exim 3.35 #1 (Debian))
	id 1AyEKY-0008Il-00; Tue, 02 Mar 2004 10:09:22 -0800
Received: from mquinson by localhost with local (Exim 3.36 #1 (Debian))
	id 1AyEKY-0005cs-00; Tue, 02 Mar 2004 10:09:22 -0800
Content-Type: multipart/mixed; boundary="===============1008846316=="
MIME-Version: 1.0
From: Martin Quinson <Martin.Quinson@tuxfamily.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nautilus-media: Please switch to gettext-based debconf templates
X-Mailer: reportbug 2.39
Date: Tue, 02 Mar 2004 10:09:22 -0800
Message-Id: <E1AyEKY-0005cs-00@localhost>
Sender: Martin Quinson <mquinson@ens-lyon.fr>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.5 required=4.0 tests=HAS_PACKAGE,
	MAILTO_TO_SPAM_ADDR autolearn=no 
	version=2.60-bugs.debian.org_2004_03_01
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1008846316==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: nautilus-media
Version: n/a
Severity: wishlist
Tags: patch l10n

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*" 
- mark the right strings as translatable in the templates (see below)
- update the style to the best current practice (see below)

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)
  They should list "debhelper (>= 4.1.16)" (debhelper depends upon 
  po-debconf) since you use debhelper.
- update the templates file to mark as translatable only the fields
  which should (ie, not the one containing stuff which cannot be
  translated such as kernel module name, and neither the one not
  shown to the users), and improve the style to follow the dstg.

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...

The rest of the story :
---------------------
While I was working on the convertion to po-debconf, I noticed that the
templates of your package may be easily improved by applying the advices
contained at the following address:

http://people.debian.org/~bubulle/dtsg.txt

I removed a reference to the UI ("say Yes"), but you may want to check again
the templates to see if they can be further improved. Don't get me wrong, I
don't want to criticize, I just want the template to reach a translatable
state (ie quite stable) rather soon.

Once the switch is achieved, and the style improvement are done, I 
guess that you will receive translations of your templates rather soon. You
may consider asking on the debian-i18n@lists.debian.org mailing list for
translations once you think that your templates are in a sort of final state
where they won't be modified in the near future.


Thanks for helping the translators, and thus your non english speaker
end-users. 

Bye, Mt.



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux galadriel 2.4.22 #1 ven nov 21 16:02:19 CET 2003 i686
Locale: LANG=fr_FR.ISO-8859-1, LC_CTYPE=fr_FR.ISO-8859-1


--===============1008846316==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="/home/mquinson/src/diff-switch-nautilus-media"

diff -ruN nautilus-media-0.3.3.1.ori/debian/control nautilus-media-0.3.3.1/debian/control
--- nautilus-media-0.3.3.1.ori/debian/control	2004-03-02 10:04:26.000000000 -0800
+++ nautilus-media-0.3.3.1/debian/control	2004-03-02 10:04:54.000000000 -0800
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: Emil Soleyman-Zomalan <emil@nishra.com>
 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Edd Dumbill <ejad@debian.org>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Dassen (Ray) <jdassen@debian.org>, Johannes Rohr <j.rohr@comlink.org>, Jordi Mallach <jordi@debian.org>, Josselin Mouette <joss@debian.org>, Rob Bradford <rob@debianplanet.org>, Robert McQueen <robot101@debian.org>, Ross Burton <ross@burtonini.com>, Sebastien Bacher <seb128@debian.org>, Takuo KITAME <kitame@debian.org>, Florian Weps <fmw@debian.org>
-Build-Depends: cdbs, gnome-pkg-tools, debhelper (>> 4.0.0), gstreamer-gconf (>= 0.6.3-1.1), libgstreamer0.6-dev, gstreamer-plugin-libs-dev (>= 0.6.3-1.1), libnautilus2-dev (>= 2.2.0), libstartup-notification0-dev (>= 0.5-4)
+Build-Depends: cdbs, gnome-pkg-tools, debhelper (>= 4.1.16), gstreamer-gconf (>= 0.6.3-1.1), libgstreamer0.6-dev, gstreamer-plugin-libs-dev (>= 0.6.3-1.1), libnautilus2-dev (>= 2.2.0), libstartup-notification0-dev (>= 0.5-4)
 Standards-Version: 3.5.9
 
 Package: nautilus-media
 Architecture: any
-Depends: ${shlibs:Depends}, nautilus (>= 2.2.0), gstreamer-plugin-apps (>> 0.6.0), gstreamer-audiofile (>> 0.6.0), gstreamer-vorbis, gstreamer-flac, gstreamer-misc (>> 0.6.0), gconf2, debconf, gstreamer-mad (>> 0.6.0)
+Depends: ${shlibs:Depends}, nautilus (>= 2.2.0), gstreamer-plugin-apps (>> 0.6.0), gstreamer-audiofile (>> 0.6.0), gstreamer-vorbis, gstreamer-flac, gstreamer-misc (>> 0.6.0), gconf2, debconf (>= 1.2.0), gstreamer-mad (>> 0.6.0)
 Description: Multimedia goodies for Nautilus
  This package contains some multimedia extensions for Nautilus, the
  Gnome file mananger.
diff -ruN nautilus-media-0.3.3.1.ori/debian/po/POTFILES.in nautilus-media-0.3.3.1/debian/po/POTFILES.in
--- nautilus-media-0.3.3.1.ori/debian/po/POTFILES.in	1969-12-31 16:00:00.000000000 -0800
+++ nautilus-media-0.3.3.1/debian/po/POTFILES.in	2004-03-02 10:05:11.000000000 -0800
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff -ruN nautilus-media-0.3.3.1.ori/debian/po/templates.pot nautilus-media-0.3.3.1/debian/po/templates.pot
--- nautilus-media-0.3.3.1.ori/debian/po/templates.pot	1969-12-31 16:00:00.000000000 -0800
+++ nautilus-media-0.3.3.1/debian/po/templates.pot	2004-03-02 10:06:37.000000000 -0800
@@ -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: 2004-03-02 10:06-0800\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"
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid "Use nautilus-media as default video thumbnailer?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"This package includes gst-thumbnail which can create thumbnail previews of "
+"certain video file types. If you have another application installed, which "
+"offers the same functionality (such as the 'totem' video player), you might "
+"want to keep it as the default thumbnailer. If not, you should select this "
+"option."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:4
+msgid ""
+"If you want to restore totem as default thumbnailer later, you can achieve "
+"this by running dpkg-reconfigure totem. Please note that this doesn't affect "
+"settings already customized by the individual users."
+msgstr ""
diff -ruN nautilus-media-0.3.3.1.ori/debian/templates nautilus-media-0.3.3.1/debian/templates
--- nautilus-media-0.3.3.1.ori/debian/templates	2004-03-02 10:04:26.000000000 -0800
+++ nautilus-media-0.3.3.1/debian/templates	2004-03-02 10:05:52.000000000 -0800
@@ -1,13 +1,13 @@
 Template: nautilus-media/thumbnailer
 Type: boolean
 Default: true
-Description: Use nautilus-media as default video thumbnailer?
- This package includes gst-thumbnail which can create thumbnail
- previews of certain video file types. If you have another application
- installed, which offers the same functionality (such as the 'totem'
- video player), you might want to keep it as the default
- thumbnailer. If not, you should say 'yes' here.
+_Description: Use nautilus-media as default video thumbnailer?
+ This package includes gst-thumbnail which can create thumbnail previews of
+ certain video file types. If you have another application installed, which
+ offers the same functionality (such as the 'totem' video player), you
+ might want to keep it as the default thumbnailer. If not, you should select
+ this option.
  .
- If you want to restore totem as default thumbnailer later, you can
- achieve this by running dpkg-reconfigure totem. Please note that this
- doesn't affect settings already customized by the individual user.
+ If you want to restore totem as default thumbnailer later, you can achieve
+ this by running dpkg-reconfigure totem. Please note that this doesn't
+ affect settings already customized by the individual users.

--===============1008846316==--

---------------------------------------
Received: (at 235830-done) by bugs.debian.org; 3 Jun 2004 20:01:33 +0000
>From j.rohr@comlink.org Thu Jun 03 13:01:33 2004
Return-path: <j.rohr@comlink.org>
Received: from xpert.comlink.org [62.145.18.234] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BVyP7-0007NZ-00; Thu, 03 Jun 2004 13:01:33 -0700
Received: from [213.61.40.83] (helo=localhost)
	by xpert.comlink.org with asmtp (Exim 4.24)
	id 1BVyP5-00086k-VL
	for 235830-done@bugs.debian.org; Thu, 03 Jun 2004 22:01:32 +0200
Received: from jr by localhost with local (Exim 4.32)
	id 1BVyNm-0003qe-BH
	for 235830-done@bugs.debian.org; Thu, 03 Jun 2004 22:00:10 +0200
To: 235830-done@bugs.debian.org
Subject: Closed in nautilus-media 0.8.0-1
Message-Id: <E1BVyNm-0003qe-BH@localhost>
From: Johannes Rohr <j.rohr@comlink.org>
Date: Thu, 03 Jun 2004 22:00:10 +0200
Delivered-To: 235830-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

our debconf translation was included into nautilus-media 0.8-1.

Thanks to the translators!

Johannes Rohr