Hello everybody,

during the revision phase of the Italian .po files for gettext,
another Italian translator (Daniele Forsi) suggested improvements for
the getopt error strings [1].

1. We have:
"%s: invalid option -- '%c'\n"
"%s: option requires an argument -- '%c'\n"
Whereas other error messages have a fluent syntax (eg "option '%s%s'
is ambiguous"), the two messages above could be improved.
Daniele suggested to change them to something like:
"%s: option '%c' is invalid\n"
"%s: option '%c' requires an argument\n"

2.Daniele also noted that we have
"%s: option '%s%s' is ambiguous\n"
"%s: unrecognized option '%s%s'\n"
He suggested to use a uniform syntax, for example changing the latter
to something like
"%s: option '%s%s' is unrecognized\n"

--
Michele

[1] https://lists.linux.it/pipermail/tp/2024-October/029606.html

Reply via email to