bug-gawk
[Top][All Lists]
Advanced

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

Re: Typos in diagnostics


From: arnold
Subject: Re: Typos in diagnostics
Date: Wed, 11 Mar 2020 09:28:13 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Hi.

Roland Illig <address@hidden> wrote:

> Thank you for fixing all the small issues I remarked, so quickly.

You're welcome.

> While doing the translation I noticed a few more things.
>
>  > fts: first parameter is not an array
>
> In awk, variables do not have types, only values do. If you are strict
> about distinguishing parameters from arguments, the above message should
> rather be:
>
>  > %s: first argument is not an array

Fixed.

> There are still some of the "first argument is not" messages that end
> with a newline and some that don't. Since I'm using Poedit, these
> mistakes are caught reliably. Still, it would be better overall to
> follow a single style.

This is because some used the gawk api and others used fprintf.
I have fixed the latter cases.

>  > close of `%s' failed: %s.
>
> The other diagnostics don't end with a period. This applies to a few
> other diagnostics as well. These all end in "%s.".

I ran out of steam to fix this issue across the board. Instead I made
a note in the TODO file so that (I hope) I will eventually get to it.

>  > Examples:
>
> You replaced the first "gawk" with "%s", but not the second one. Why not?

Fixed.

I'll do another tar ball some time soon and then you can
update the translation again.  In the meantime, the changes
are in master.

Thanks,

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]