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

Bug#595657: marked as done (apt: Incorrect space in unit display)



Your message dated Sat, 16 Oct 2010 21:33:23 +0200
with message-id <AANLkTi=Z9YroYNZ3sukcPV7qohLse6qv=W97JonQGBzx@mail.gmail.com>
and subject line Re: Bug#595657: Progress on wrong unit in apt?
has caused the Debian Bug report #595657,
regarding apt: Incorrect space in unit display
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
595657: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595657
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.1
Severity: normal
Tags: l10n
X-Debbugs-CC: Holger Wansing <linux@wansing-online.de>

When running apt in German locale, I see lines like the following:

Es wurden 1.514k B in 3 s geholt (388k B/s)
               ~~~                   ~~~~~
There is an extra space between the unit prefix ("k") and the unit
itself. This seems to be a common case in apts output.

The correct output would be:
Es wurden 1.514 kB in 3 s geholt (388 kB/s)
               ~~~                   ~~~~~

Unfortunately this is *not* an l10n issue, but rather an i18n issue.
In the po file I see:
#: cmdline/acqprogress.cc:135
#, c-format
msgid "Fetched %sB in %s (%sB/s)\n"
msgstr "Es wurden %s B in %s geholt (%s B/s)\n"

It looks like the prefix is contained in "%s". So until this is fixed,
for de.po the space before the unit should be removed in all
applicable strings, since it is much less confusing, although 
Es wurden 1.514kB in 3 s geholt (388kB/s)
              ~~~                  ~~~~~
is still wrong but IMHO only less confusing ("less wrong") than the
current behaviour.

It would be great if this bandaid could be applied for Squeeze (the
translator is CC:ed) if the proper fix for Squeeze is not possible.


-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 0.8.3

On Sat, Oct 16, 2010 at 21:06, Helge Kreutzmann <debian@helgefjell.de> wrote:
> Hello Holger,
> do you have any ETA for the upload of this bandaid fix for the wrong unit
> display in apt (in German at least)?


Holgers update was included in 0.8.3 which should show:

Es wurden 1.514kB in 3 s geholt (388kB/s)


Version 0.8.6 implements the SI-required space between number and
unit, so the output should be

Es wurden 1.514 kB in 3 s geholt (388 kB/s)

now. (See also #598352)


> It is for Squeeze, correct?

As 0.8.6 is already in squeeze i hope it was intended to be in. ;)


All in all: Looks like someone forgot to close the bug,
so i am doing that now, but let me add:
Thanks Helge for pointing it out (and the nagging) and
thanks Holger for quick-fixing it!


Best regards

David Kalnischkies


--- End Message ---

Reply to: