Debian Bug report logs - #169868
debconf: Choices field may sometimes be sorted according to translated values

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <[email protected]>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: Denis Barbier <[email protected]>

Date: Wed, 20 Nov 2002 09:18:23 UTC

Severity: normal

Merged with 251417

Found in version 1.0.32

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Joey Hess <[email protected]>, [email protected]:
Bug#169868; Package debconf. (full text, mbox, link).


Acknowledgement sent to Denis Barbier <[email protected]>:
New Bug report received and forwarded. Copy sent to Joey Hess <[email protected]>, [email protected]. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Denis Barbier <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: debconf: Choices field may sometimes be sorted according to translated values
Date: Wed, 20 Nov 2002 10:21:46 +0100
Package: debconf
Version: 1.0.32
Severity: wishlist

Hi,

when displaying list of country names, languages, cities, etc. it is
very inconvenient to see translated entries sorted according to their
English names; frontends should be told to change display order.

Denis

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux imacs 2.4.18-386 #2 Sun Apr 14 10:38:08 EST 2002 i586
Locale: LANG=fr, LC_CTYPE=fr_FR

Versions of packages debconf depends on:
ii  fileutils                     4.1-10     GNU file management utilities
ii  perl-base                     5.6.1-7    The Pathologically Eclectic Rubbis




Merged 169868 251417. Request was from Christian Perrier <[email protected]> to [email protected]. (full text, mbox, link).


Information forwarded to [email protected], Joey Hess <[email protected]>:
Bug#169868; Package debconf. (full text, mbox, link).


Acknowledgement sent to Margarita Manterola <[email protected]>:
Extra info received and forwarded to list. Copy sent to Joey Hess <[email protected]>. (full text, mbox, link).


Message #12 received at [email protected] (full text, mbox, reply):

From: Margarita Manterola <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Sorting options is really important in long lists.
Date: Mon, 31 May 2004 18:09:00 -0300
severity 169868 normal
thanks

As it's been noted before, not being able to sort options with the
translated criteria is a real drawback of debconf.

In case of non-latin languages, where the translation differs
significantly from the English version, it's a complete mess of options
with no order at all.

I'm raising the severity of the bug due to Konstantinos request.  I hope
it can be fixed.

-- 
Love,
Marga.



Severity set to `normal'. Request was from Margarita Manterola <[email protected]> to [email protected]. (full text, mbox, link).


Information forwarded to [email protected]:
Bug#169868; Package debconf. (full text, mbox, link).


Acknowledgement sent to Joey Hess <[email protected]>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #19 received at [email protected] (full text, mbox, reply):

From: Joey Hess <[email protected]>
To: [email protected]
Subject: Re: Bug#169868: Sorting options is really important in long lists.
Date: Mon, 31 May 2004 21:30:13 -0300
[Message part 1 (text/plain, inline)]
Margarita Manterola wrote:
> As it's been noted before, not being able to sort options with the
> translated criteria is a real drawback of debconf.
> 
> In case of non-latin languages, where the translation differs
> significantly from the English version, it's a complete mess of options
> with no order at all.
> 
> I'm raising the severity of the bug due to Konstantinos request.  I hope
> it can be fixed.

I sppose one way to do this would be to add a new field to the template,
which turns on sorting. Of course this needs to happen in cdebconf too.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Joey Hess <[email protected]>:
Bug#169868; Package debconf. (full text, mbox, link).


Acknowledgement sent to [email protected] (Denis Barbier):
Extra info received and forwarded to list. Copy sent to Joey Hess <[email protected]>. (full text, mbox, link).


Message #24 received at [email protected] (full text, mbox, reply):

From: [email protected] (Denis Barbier)
To: [email protected]
Subject: Re: Bug#169868: Sorting options is really important in long lists.
Date: Tue, 1 Jun 2004 08:12:02 +0200
On Mon, May 31, 2004 at 09:30:13PM -0300, Joey Hess wrote:
> Margarita Manterola wrote:
> > As it's been noted before, not being able to sort options with the
> > translated criteria is a real drawback of debconf.
> > 
> > In case of non-latin languages, where the translation differs
> > significantly from the English version, it's a complete mess of options
> > with no order at all.
> > 
> > I'm raising the severity of the bug due to Konstantinos request.  I hope
> > it can be fixed.
> 
> I sppose one way to do this would be to add a new field to the template,
> which turns on sorting. Of course this needs to happen in cdebconf too.

There are 2 distinct cases: sorting can be done at run-time or hardcoded
into templates files.  The former was implemented in cdebconf 0.48
and the latter in cdebconf 0.54 (at the same time, run-time sorting
support had been removed), see changelog for details.

The situation with debconf is a little bit different since locales are
installed when debconf is run, so run-time sorting can be done. But
the Listorder field added in cdebconf 0.48 has a minor glitch, an
exclamation mark was prepended to entries which are not sorted, and a
comment in PO files was supposed to tell translators how to deal with
such entries.  It seems that translators do not always understand such
comments, so a better idea would be to add another field to list
items which do not have to be sorted, e.g.
    Listorder: lexicographic
    _Choices: ${FOO}, !Other[ You only have to translate Other, remove the exclamation mark and this comment between brackets]
may be replaced with
    Listorder: lexicographic
    _Choices: ${FOO}, Other
    Listunsorted: Other

Denis



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu Nov 14 10:33:42 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.