GNOME Bugzilla – Bug 272567
Evolution message needs ngettext support
Last modified: 2010-04-01 17:23:21 UTC
#: mail/mail-errors.xml.h:53 msgid "Are you sure you want to open {0} messages at once?" This message no doubt needs ngettext() support (http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals). I realize that this may currently not be possible since this string is stored in an XML file, but still, somehow this message needs to have ngettext support arranged, even if it means having to move it to a C file.
adding dependency
actually i dont think it does, it only occurs for n >= 10.
It does, please see: http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals Quoting: So use ngettext even for situations where you know the number will always be greater than one, or even much greater than one, as in the example below. g_printf (ngettext ("You tried to move %d folder at once. You can't move more than 256 folders at once.", "You tried to move %d folders at once. You can't move more than 256 folders at once.", nbr_of_folders), nbr_of_folders); This example, and the extra piece of code involved, probably looks both weird and unnecessary to most people that are accustomed to the English way of using plural, but please keep in mind that you, as pointed out above, cannot assume anything about what type of plural will be used in other languages even in these cases, so use of ngettext is still required here. -- (well, since my language requires this, I can give you more practical examples, but this should suffice)
the problem is that there are languages that do not use the plural form when there's n >= 2, but for example n >= 5 or stuff like that (hmm... iirc there was something with russian around or so, don't remember exactly). even if it only occurs for n >= 10 there should be a translator comment :-) still valid in 2.3.8/cvs, targetting to 2.5, adding string keyword
Andre: actually (if you really care about details :), it usually depends on the last digit or last two digits of a number. So 4, 74, 104, 1754 all use one form, while 1, 71, 101, 1751 use another, etc.
removing old target milestone.
Created attachment 73541 [details] [review] Translator comment added. ngettext support is not required here coz this warning message is not displayed when only one message is opened.
ushveen, did you read the comments at all? if so, re-read them. this NEEDS gettext support. NEEDS. a translator comment is totally useless and a waste of time, to a translator it's more than obvious what that message means.
Created commit 0d66851 in evo master (2.31.1+)