Re: [HEAD PATCH] Use ngettext where appropriate

Werner Koch <[email protected]> Wed, 02 Dec 2015 18:12:51 +0100
Newsgroups gmane.comp.encryption.gpg.internationalization
Message-ID <[email protected]>
On Tue, 20 Oct 2015 09:08, [email protected] said:
> I attach a patch against current HEAD to make use
> of ngettext in some places; it also marks two more messages
> localizable.

At the cost of translating a lot more and quite similar strings.  This
breaks too many other translations.  Although not being correct, it is
better to not apply your patch.  Sorry.

Where possible I try to use a table format to avoid plural issues.  BTW,
for that reason this hunk would be wrong:

> -  log_info (_("permanently loaded certificates: %u\n"),
> +  log_info (ngettext(" permanently loaded certificate: %u\n",
> +                     "permanently loaded certificates: %u\n",
> +                     total_loaded_certificates),


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.