Subject: bug#75763: closed (Re: is the "note " particle in sort.c needed?)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 22 Jan 2025 18:00:02 +0000

Your bug report

#75763: is the "note " particle in sort.c needed?

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75763: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75763
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: is the "note " particle in sort.c needed?
From: Pádraig Brady <[email-masked]>
To: Benno Schulenberg <[email-masked]>, [email-masked]
Date: Wed, 22 Jan 2025 17:59:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: is the "note " particle in sort.c needed?
From: Benno Schulenberg <[email-masked]>
To: [email-masked]
Date: Wed, 22 Jan 2025 16:31:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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