GNU bug report logs - #75763
is the "note " particle in sort.c needed?

Previous Next

Package: coreutils;

Reported by: Benno Schulenberg <bensberg <at> telfort.nl>

Date: Wed, 22 Jan 2025 15:32:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75763 in the body.
You can then email your comments to 75763 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-coreutils <at> gnu.org:
bug#75763; Package coreutils. (Wed, 22 Jan 2025 15:32:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benno Schulenberg <bensberg <at> telfort.nl>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 22 Jan 2025 15:32:03 GMT) Full text and rfc822 format available.

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

From: Benno Schulenberg <bensberg <at> telfort.nl>
To: bug-coreutils <at> gnu.org
Subject: is the "note " particle in sort.c needed?
Date: Wed, 22 Jan 2025 16:31:23 +0100
[Message part 1 (text/plain, inline)]
Hi,

In src/sort.c there is this piece of code:

      error (0, 0,
             _("%snumbers use %s as a decimal point in this locale"),
             tab == decimal_point ? "" : _("note "),
             quote (((char []) {decimal_point, 0})));

What does "note " here mean?  Is it an adjective or a verb? Or
maybe something else?  And is it needed at all?

The thing is: it makes translating both strings hard, as it's
unclear for translators that they belong together.  Please
consider dropping the "note ", or changing the code to use
two separate, full messages, without fill-in words.


Benno
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Wed, 22 Jan 2025 18:00:01 GMT) Full text and rfc822 format available.

Notification sent to Benno Schulenberg <bensberg <at> telfort.nl>:
bug acknowledged by developer. (Wed, 22 Jan 2025 18:00:02 GMT) Full text and rfc822 format available.

Message #10 received at 75763-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Benno Schulenberg <bensberg <at> telfort.nl>, 75763-done <at> debbugs.gnu.org
Subject: Re: is the "note " particle in sort.c needed?
Date: Wed, 22 Jan 2025 17:59:20 +0000
On 22/01/2025 15:31, Benno Schulenberg wrote:
> 
> Hi,
> 
> In src/sort.c there is this piece of code:
> 
>         error (0, 0,
>                _("%snumbers use %s as a decimal point in this locale"),
>                tab == decimal_point ? "" : _("note "),
>                quote (((char []) {decimal_point, 0})));
> 
> What does "note " here mean?  Is it an adjective or a verb? Or
> maybe something else?  And is it needed at all?
> 
> The thing is: it makes translating both strings hard, as it's
> unclear for translators that they belong together.  Please
> consider dropping the "note ", or changing the code to use
> two separate, full messages, without fill-in words.

"note" (which is a verb in this context), intended
to change the message from the standard warning output by --debug
to an informational message.

But there are other informational messages output by --debug
without "note", so we can drop it.

I pushed a change to do that.

Marking this as done.

cheers,
Pádraig




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 20 Feb 2025 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 21 days ago.

Previous Next


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