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

Bug#578657: apt-cache policy should use TABs in format string to ease l10n



severity 578657 wishlist
tag 578657 wontfix
thanks

On Wed, Apr 21, 2010 at 05:23:28PM +0200, RalfGesellensetter wrote:
> Package: apt
> Version: 0.7.25.3
> Severity: normal
> Tags: squeeze
> 
> The original English output of apt-cache policy looks like this (example):
> 
> apt:
>   Installed: 0.7.25.3
>   Candidate: 0.7.25.3
>   ...
> 
> By chance, "installed" and "candidate" have the same length, hence 
> versions start in the same column, which enhances readability.
> 
> If using other locales (e.g. German/de), this will be different:
> 
> apt:
>   Installiert: 0.7.25.3
>   Kandidat: 0.7.25.3
>   
> .... suffering readability. Hence I suggest using TABs in the original format string, 
> as you cannot assume that same word lengths will be given for any locale. 
> The current state means discrimination of non-English languages ;)

We have users parsing the output of apt-cache policy, so changing the
output format is not an option. We have the same problem in progress
reporting which looks much more organized in English than in German,
due to the length("Get") != length("Hole").

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgprrLJAHMN3l.pgp
Description: PGP signature


Reply to: