On Wed, Feb 13, 2008 at 01:19:21PM +0100, Luca Bruno wrote:
Well, I promised to review and commit, so no worries :) Already done :)
Please note that: if (num >= 2) { gtk_widget_set_sensitive (be, true);
(_("Batch export %d selected objects"), num));gtk_button_set_label (GTK_BUTTON(be), g_strdup_printf
(ngettext("Batch export %d selected object", "Batch export %d selected objects",num), num));gtk_button_set_label (GTK_BUTTON(be), g_strdup_printf
here num is never less than 2. So why this patch?
Because in some languages (say Polish is a good example here) there will be a different form depending on the number, so the translation could be something like:
2 wybrane obiekty 5 wybranych obiektów
So while it does not matter for English and the singular form would never be used the ngettext functionality is still valuable.
Also:
- ngettext("Area filled, path with <b>%d</b> node created and unioned with selection."
is really possible to (union-)fill an area with a path consisting of only one node? (I'm not sure, so I'm asking)
I have no idea myself but the previous remark still holds valid.
Regards, -- Marcin Floryan http://marcin.floryan.pl/