[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] [bug #56919] msgcat combines strings with singular and
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] [bug #56919] msgcat combines strings with singular and plural forms incorrectly |
Date: |
Sun, 29 Sep 2019 21:14:12 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-159-generic; KDE/5.18.0; x86_64; ; ) |
Mikko Rantalainen wrote on 2019-09-23:
> I think the important difference here is that msgcat is often used to
> combine data from multiple translators. As such, the developer that runs
> the msgcat may not understand the language and may not notice that
> msgcat is losing data.
>
> If msgcat is about to combine plural forms with singular form it should
> emit plural form as the output to avoid losing data no matter which file
> was given first, or at least emit a warning about the issue.
The warning is a good suggestion. It's implemented for the next release,
even as an error so that scripts that use msgcat fail in this case.
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=e219e828ed44c2bfd00a05bc4bacfce16d22e109
Thanks for the suggestion.
Bruno