[nautilus] Use ngettext for selected items label
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Use ngettext for selected items label
- Date: Mon, 21 May 2012 19:01:39 +0000 (UTC)
commit abf5ea620d2b2aeb5e406144c827307a86648913
Author: William Jon McCann <jmccann redhat com>
Date: Mon May 21 14:57:13 2012 -0400
Use ngettext for selected items label
src/nautilus-view.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index aa19759..cfe9f6e 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -8465,7 +8465,10 @@ real_update_menus (NautilusView *view)
NAUTILUS_ACTION_NEW_FOLDER_WITH_SELECTION);
gtk_action_set_sensitive (action, can_create_files && can_delete_files && (selection_count > 1));
gtk_action_set_visible (action, selection_count > 1);
- label_with_underscore = g_strdup_printf (_("New Folder with Selection (%d Items)"), selection_count);
+ label_with_underscore = g_strdup_printf (ngettext("New Folder with Selection (%'d Item)",
+ "New Folder with Selection (%'d Items)",
+ selection_count),
+ selection_count);
g_object_set (action, "label", label_with_underscore, NULL);
g_free (label_with_underscore);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]