GNOME Bugzilla – Bug 133942
More messages needing ngettext in nautilus
Last modified: 2004-12-22 21:47:04 UTC
From confirm_switch_to_manual_layout () in libnautilus-private/nautilus-icon-dnd.c:730: if (nautilus_icon_container_has_stored_icon_positions (container)) { if (eel_g_list_exactly_one_item (container->details->dnd_info->drag_info.selection_list)) { message = _("Do you want to switch to manual layout and leave this item where you dropped it? " "This will clobber the stored manual layout."); detail = _("This folder uses automatic layout."); } else { message = _("Do you want to switch to manual layout and leave these items where you dropped them? " "This will clobber the stored manual layout."); detail = _("This folder uses automatic layout."); } } else { if (eel_g_list_exactly_one_item (container->details->dnd_info->drag_info.selection_list)) { message = _("Do you want to switch to manual layout and leave this item where you dropped it?"); detail = _("This folder uses automatic layout."); } else { message = _("Do you want to switch to manual layout and leave these items where you dropped them?"); detail = _("This folder uses automatic layout."); } } This looks like a situation that would really need ngettext (), and should be fairly simple to do provided there is some means of getting the exact number of items in the selection list. Also see bug 116236 for more about ngettext.
Comment related to Serbian only (I don't know about other languages, so don't generalize my words without keeping that in mind): Serbian doesn't require plural forms here, unless a number is put inside the sentence. I.e. word form doesn't change in case of plurals, and it does differ between singular and plural. As long as the sentence doesn't read "these %d items", at least Serbian doesn't require plural forms. (Of course, if any other language needs it, I'm all for using it -- I'm just trying to make clearer the case I'm familiar with, and I hope it helps)
Ok, it's the same in Swedish, but I was uncertain about the situation for languages using multiple plurals. Closing this bug.