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