On 15/06/2021 07:59, David Fetter wrote:
Hi,

I thought about using the dual, but wasn't sure how many languages
support it.

        if (fail_count == 0 && fail_ignore_count == 0)
                snprintf(buf, sizeof(buf),
                                 _(" %s %d test%s passed. "),
                                 success_count == 1 ? "The" : "All",
                                 success_count,
                                 success_count == 1 ? "" : "s");

Constructing sentences like that is bad practice for translations. See https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html.

- Heikki


Reply via email to