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

Bug#234747: marked as done (opendb: Please switch to gettext-based debconf templates)



Your message dated Mon, 20 Sep 2004 19:02:08 -0400
with message-id <E1C9XAe-0002AD-00@newraff.debian.org>
and subject line Bug#234747: fixed in opendb 0.62p9-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; 25 Feb 2004 16:23:06 +0000
>From mquinson@ens-lyon.fr Wed Feb 25 08:23:06 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 1Aw1oQ-0006Bm-00; Wed, 25 Feb 2004 08:23:06 -0800
Received: from [128.111.45.152] (helo=localhost ident=mail)
	by pompone.cs.ucsb.edu with asmtp (Exim 3.35 #1 (Debian))
	id 1Aw1oO-0004wh-00; Wed, 25 Feb 2004 08:23:04 -0800
Received: from mquinson by localhost with local (Exim 3.36 #1 (Debian))
	id 1Aw1ib-0001Bl-00; Wed, 25 Feb 2004 08:17:05 -0800
Content-Type: multipart/mixed; boundary="===============2109260193=="
MIME-Version: 1.0
From: Martin Quinson <Martin.Quinson@tuxfamily.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: opendb: Please switch to gettext-based debconf templates
X-Mailer: reportbug 2.39
Date: Wed, 25 Feb 2004 08:17:04 -0800
Message-Id: <E1Aw1ib-0001Bl-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_02_22 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_02_22
X-Spam-Level: 

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

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

Package: opendb
Version: 0.62p6-1
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*"
- removed files left by debconf-gettextize (*.templates.old which are
  the old-style templates)

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)

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 would really appreciate if you could have a look at this, and apply
the advices it contains, such as improving long descriptions to make them
understandable even by the newbies users.

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


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

diff -ruN opendb-0.62p6.ori/debian/control opendb-0.62p6/debian/control
--- opendb-0.62p6.ori/debian/control	2004-02-25 08:11:36.000000000 -0800
+++ opendb-0.62p6/debian/control	2004-02-25 08:11:49.000000000 -0800
@@ -2,7 +2,7 @@
 Section: web
 Priority: optional
 Maintainer: Benoit Joly <benoit@debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0)
+Build-Depends-Indep: debhelper (>> 4.1.16)
 Standards-Version: 3.6.1
 
 Package: opendb
diff -ruN opendb-0.62p6.ori/debian/po/POTFILES.in opendb-0.62p6/debian/po/POTFILES.in
--- opendb-0.62p6.ori/debian/po/POTFILES.in	1969-12-31 16:00:00.000000000 -0800
+++ opendb-0.62p6/debian/po/POTFILES.in	2004-02-25 08:12:12.000000000 -0800
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff -ruN opendb-0.62p6.ori/debian/po/templates.pot opendb-0.62p6/debian/po/templates.pot
--- opendb-0.62p6.ori/debian/po/templates.pot	1969-12-31 16:00:00.000000000 -0800
+++ opendb-0.62p6/debian/po/templates.pot	2004-02-25 08:12:44.000000000 -0800
@@ -0,0 +1,153 @@
+#
+#    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-02-25 08:12-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: select
+#. Choices
+#: ../templates:3
+msgid "Apache, Apache-SSL, Both, Other"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:5
+msgid "What type of Web Server are you running?"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../templates:5
+msgid ""
+"By default OPENDB supports any web server that php4 does.  This config "
+"process currently only supports Apache and Apache-SSL directly.  If you use "
+"another type you will have to handle the web ends manually.  If you chose "
+"one of the first three options, this install process will manage the "
+"configuration (or attempt to) of the Apache specific portions necessary to "
+"run opendb properly.  If you do not wish this to happen, please chose the "
+"Other option."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:17
+msgid "Configure MySQL"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:17
+msgid ""
+"Should Opendb attempt to configure MySQL automatically?  If not, see the "
+"instructions in /usr/share/doc/opendb/README.Debian. Say No if mysql-server "
+"is being installed at the same time as opendb. Read the file /usr/share/doc/"
+"mysql-serv/README.Debian to enable networking. It may be wise to set a new "
+"mysql root password when installing mysql-server."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:27
+msgid "MySQL Host"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:27
+msgid ""
+"The name or IP of the host running MySQL that will store the Opendb database."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:34
+msgid "Database admin user who can create a database"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:34
+msgid "Database admin user account capable of creating new databases."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:40
+msgid "Delete database and cover art files on purge"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:40
+msgid ""
+"Should the database and all cover art files be removed when Opendb is purged?"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:47
+msgid "Opendb database name"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:47
+msgid "Name of the opendb database."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:53
+msgid "Opendb database user"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:53
+msgid "Database user account name."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../templates:58
+msgid "Database user password"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../templates:58
+msgid "Password for the database user account."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../templates:63
+msgid "Database admin password"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../templates:63
+msgid "Password for the database admin user account."
+msgstr ""
diff -ruN opendb-0.62p6.ori/debian/templates opendb-0.62p6/debian/templates
--- opendb-0.62p6.ori/debian/templates	2004-02-25 08:11:36.000000000 -0800
+++ opendb-0.62p6/debian/templates	2004-02-25 08:12:38.000000000 -0800
@@ -1,63 +1,64 @@
 Template: opendb/webserver_type
 Type: select
-Choices: Apache, Apache-SSL, Both, Other
+_Choices: Apache, Apache-SSL, Both, Other
 Default: Apache
-Description: What type of Web Server are you running?
+_Description: What type of Web Server are you running?
  By default OPENDB supports any web server that php4 does.  This config
- process currently only supports Apache and Apache-SSL directly.  If you use
- another type you will have to handle the web ends manually.  If you chose one
- of the first three options, this install process will manage the configuration
- (or attempt to) of the Apache specific portions necessary to run opendb 
- properly.  If you do not wish this to happen, please chose the Other option.
+ process currently only supports Apache and Apache-SSL directly.  If you
+ use another type you will have to handle the web ends manually.  If you
+ chose one of the first three options, this install process will manage the
+ configuration (or attempt to) of the Apache specific portions necessary to
+ run opendb properly.  If you do not wish this to happen, please chose the
+ Other option.
 
 Template: opendb/mysql/configure
 Type: boolean
 Default: yes
-Description: Configure MySQL
+_Description: Configure MySQL
  Should Opendb attempt to configure MySQL automatically?  If not, see the
- instructions in /usr/share/doc/opendb/README.Debian. Say No if mysql-server
- is being installed at the same time as opendb. Read the file 
- /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be wise
- to set a new mysql root password when installing mysql-server.
+ instructions in /usr/share/doc/opendb/README.Debian. Say No if
+ mysql-server is being installed at the same time as opendb. Read the file
+ /usr/share/doc/mysql-serv/README.Debian to enable networking. It may be
+ wise to set a new mysql root password when installing mysql-server.
 
 Template: opendb/mysql/dbserver
 Type: string
 Default: localhost
-Description: MySQL Host
+_Description: MySQL Host
  The name or IP of the host running MySQL that will store the Opendb
  database.
 
 Template: opendb/mysql/dbadmin
 Type: string
 Default: root
-Description: Database admin user who can create a database
+_Description: Database admin user who can create a database
  Database admin user account capable of creating new databases.
 
 Template: opendb/purge
 Type: boolean
 Default: yes
-Description: Delete database and cover art files on purge
+_Description: Delete database and cover art files on purge
  Should the database and all cover art files be removed when Opendb is
  purged?
 
 Template: opendb/mysql/dbname
 Type: string
 Default: opendb
-Description: Opendb database name
+_Description: Opendb database name
  Name of the opendb database.
 
 Template: opendb/mysql/dbuser
 Type: string
 Default: opendb
-Description: Opendb database user
+_Description: Opendb database user
  Database user account name.
 
 Template: opendb/mysql/dbpass
 Type: password
-Description: Database user password
+_Description: Database user password
  Password for the database user account.
 
 Template: opendb/mysql/dbadmpass
 Type: password
-Description: Database admin password
+_Description: Database admin password
  Password for the database admin user account.

--===============2109260193==--

---------------------------------------
Received: (at 234747-close) by bugs.debian.org; 20 Sep 2004 23:08:18 +0000
>From katie@ftp-master.debian.org Mon Sep 20 16:08:18 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C9XGc-0007ax-00; Mon, 20 Sep 2004 16:08:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C9XAe-0002AD-00; Mon, 20 Sep 2004 19:02:08 -0400
From: schultmc@debian.org (Michael C. Schultheiss)
To: 234747-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#234747: fixed in opendb 0.62p9-1
Message-Id: <E1C9XAe-0002AD-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 20 Sep 2004 19:02:08 -0400
Delivered-To: 234747-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: opendb
Source-Version: 0.62p9-1

We believe that the bug you reported is fixed in the latest version of
opendb, which is due to be installed in the Debian FTP archive:

opendb_0.62p9-1.diff.gz
  to pool/main/o/opendb/opendb_0.62p9-1.diff.gz
opendb_0.62p9-1.dsc
  to pool/main/o/opendb/opendb_0.62p9-1.dsc
opendb_0.62p9-1_all.deb
  to pool/main/o/opendb/opendb_0.62p9-1_all.deb
opendb_0.62p9.orig.tar.gz
  to pool/main/o/opendb/opendb_0.62p9.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 234747@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael C. Schultheiss <schultmc@debian.org> (supplier of updated opendb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 20 Sep 2004 22:46:49 +0000
Source: opendb
Binary: opendb
Architecture: source all
Version: 0.62p9-1
Distribution: unstable
Urgency: low
Maintainer: Michael C. Schultheiss <schultmc@debian.org>
Changed-By: Michael C. Schultheiss <schultmc@debian.org>
Description: 
 opendb     - A web-based lending database written in php
Closes: 219615 234747 238927 263872
Changes: 
 opendb (0.62p9-1) unstable; urgency=low
 .
   * New upstream release (Closes: #238927)
   * debian/control:
     + New maintainer (Closes: #263872)
     + Bump debhelper version in Build-Depends-Indep
     + Update apache and php4 dependency possibilities (Closes: #219615)
     + Remove dependency on mysql-server and postfix
     + Clean up short and long descriptions
   * Switch to gettext-based debconf templates (Thanks to
     Martin Quinson. Closes: #234747)
Files: 
 a324540658ba584e66b26abac1ae5475 578 web optional opendb_0.62p9-1.dsc
 570ac559438ecef3b1d97e7a686456a3 617861 web optional opendb_0.62p9.orig.tar.gz
 a231b88f7ec3ac679326a7d9e8ae0890 7997 web optional opendb_0.62p9-1.diff.gz
 f8dfa1dd5e2f2de151007d3fbb97ba20 721052 web optional opendb_0.62p9-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBT183yJBzD6P54w4RAjUhAJ9ZdWHQxRARAHDWR1bam9RMbNMKQwCeMpGb
x2K+Dv7QY51hzVy5q7wDNGw=
=D44q
-----END PGP SIGNATURE-----



Reply to: