[HEAD PATCH] Use ngettext where appropriate

Werner Koch wk at gnupg.org
Wed Dec 2 18:12:51 CET 2015


On Tue, 20 Oct 2015 09:08, ineiev at gnu.org 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.




More information about the Gnupg-i18n mailing list