[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Problem with mixing plural and simgle form
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] Problem with mixing plural and simgle form |
Date: |
Thu, 02 Feb 2012 00:16:52 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Marian Cavojsky wrote:
> Developers mixes this ones. Really exaple is gnome-settings-daemon module
> in gnome.
>
> #: ../plugins/power/gpm-common.c:565 ../plugins/power/gpm-common.c:757
> msgid "AC adapter"
> msgid_plural "AC adapters"
> msgstr[0] "Napájacie šnúry"
> msgstr[1] "Napájacia šnúra"
> msgstr[2] "Napájacie šnúry"
>
> ../plugins/power/gpm-common.c:565
> text = ngettext ("AC adapter", "AC adapters", number);
>
> ../plugins/power/gpm-common.c:757
> return _("AC adapter");
>
> and this is no only one.
Please tell the developers that they can use contexts to avoid such
ambiguities. Documented here:
<http://www.gnu.org/software/gettext/manual/html_node/Contexts.html>
Bruno