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

Bug#959406: apt-get: Language and numeric formatting in the output do not match



Control: severity -1 wishlist moreinfo

On Sat, May 02, 2020 at 02:15:00AM +0000, Bjarni Ingi Gislason wrote:
> Package: apt
> Version: 2.0.2
> Severity: normal
> 
> Dear Maintainer,
> 
>   there is an inconsistency between used language (English) in the
> output and the used punctuation marks for numbers.
> 
> LC_LANG=is_IS, decimal_point="," thousands_sep="."
> 
> LC_LANG=C, decimal_point="." thousands_sep=""
> 
> LC_LANG=C.UTF-8, decimal_point="." thousands_sep=""
> 
> 
>   Example:
> 
> Fetched 1.289 kB in 4s (302 kB/s)
> 
> Fetched 42,4 MB in 7s (5.949 kB/s)

So, this looks alright to me, could you please explain what you think
is wrong here? You gave three languages above, but I fail to see how
that relates to the output.

This is formatted simply by calling printf() variants in C library, so
if you think there is something wrong, it's probably in there.

As said, I don't see anything wrong here. Also LC_LANG does that even
affect these things, aren't they in LC_NUMERIC?


> 
> 
>   Additionally, there should be a space between a number and its units,
> here "4s" should be "4 s", "7s" be "7 s".

The formatting as is has its benefits and it makes sense to keep it.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: