Re: Do "enabled", "disabled", and "not found" need to be qualified per instance?
- From: Andre Klapper <ak-47 gmx net>
- To: GNOME i18n <gnome-i18n gnome org>
- Subject: Re: Do "enabled", "disabled", and "not found" need to be qualified per instance?
- Date: Mon, 17 May 2010 09:41:12 +0200
Am Montag, den 17.05.2010, 00:33 +0200 schrieb Wouter Bolsterlee:
> Short note about number/plurals: as far as I know, proper use of ngettext()
> and friends correctly handle this case for all languages. This pattern works
> really well for many language and is used in various Gnome modules:
>
> if (n == 1)
> message = _("There is only a single bar in the foo."));
> else
> message = sprintf(ngettext(
> "There is %d bar in the foo.",
> "There are %d bars in the foo.",
> n), n);
I am not sure about this example.
See http://live.gnome.org/TranslationProject/DevGuidelines/Plurals
andre
--
mailto:ak-47 gmx net | failed
http://www.iomc.de/ | http://blogs.gnome.org/aklapper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]