Re: Translations singular/plural
- From: Peter Bloomfield <peterbloomfield bellsouth net>
- To: Balsa-List <balsa-list gnome org>
- Cc: Christian Rose <menthos menthos com>
- Subject: Re: Translations singular/plural
- Date: Sun, 10 Jul 2005 19:31:23 +0000
On 07/10/2005 01:02:54 PM, Jean-Luc Coulon (f5ibh) wrote:
Hi,
There are some templates which are similar in singular an plural form
in English but diffetrent in other languages.
So the translation is not very good for them.
In the Mailbox et Message menus, you have:
Mailbox:
Hide messages -> Deleted, Replied, ...
but everything is plural as messages is.
Message:
Toggl Flag -> Deleted, ...
It is the same tempaltes as before, but in this case they apply to
the selected message.. which is not plurHide messages -> Deleted,
Replied, ...al.
Is there a way to have two different templates?
In some cases, ngettext() can be used to provide separate translations
for singular and plural forms. But it can't be used for these strings,
as they are initializations. The only way that I see is to include the
noun in the string:
Hide messages -> Deleted messages, Replied messages, ...
Toggle Flag -> Deleted flag, ...
(though the latter is dubious: the flag isn't deleted, it flags a
deleted message !-).
Best,
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]