GNU bug report logs - #26621
hint for translators is missing from POT file, but is opaque anyhow

Previous Next

Package: coreutils;

Reported by: Benno Schulenberg <bensberg <at> justemail.net>

Date: Sun, 23 Apr 2017 15:18:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 26621 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Benno Schulenberg <bensberg <at> justemail.net>, 26621 <at> debbugs.gnu.org
Subject: Re: bug#26621: hint for translators is missing from POT file, but is
 opaque anyhow
Date: Mon, 24 Apr 2017 00:38:07 -0700
[Message part 1 (text/plain, inline)]
Benno Schulenberg wrote:
> Fourth, the first part of the comment begins with this:
>
>      The instances of "s" in the following formats are
>      the SI symbol "s" (meaning second), and should not be translated.
>
> Why should they not be translated?  In order to avoid problems
> with grammatical congruence in languages like Polish?

Yes. This is part of the SI standard. SI abbreviations are supposed to be 
identical in all languages, regardless of grammar issues.

> It would be nicer to use a fixed number of
> decimals so that the message doesn't unnecessarily "jump".

Yes, and since the messages you're talking about are supposed to come out once a 
second, dd should just omit everything after the decimal point.

> Sixth, the format string uses %g, which means that the
> number of seconds will be displayed in exponential form
> when the number becomes very large.  Is that intentional?

Yes, it's been that way since that code was introduced in 2004 (before 
status=progress was added). The idea I had back then was that we want more than 
1 digit when transfer times are short, and that we needn't bother with lots of 
digits when transfer times are long. I've never heard of a real-world situation 
where the exponential notation actually gets used (more than 11 days for the 
transfer, if I calculate aright) so the issue is to some extent academic.

Thanks for your other comments. I installed the attached patch, which I hope 
addresses them.
[0001-dd-status-progress-outputs-6-s-not-6.00001-s.patch (text/x-diff, attachment)]

This bug report was last modified 6 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.