Simplify the label text for the new folder and document items

Create is really the understood verb here I think. Having a shorter
label makes it easier to read and more easily accommodates the
longer new folder with selection action.

https://bugzilla.gnome.org/show_bug.cgi?id=676432
This commit is contained in:
William Jon McCann 2012-05-21 11:43:56 -04:00
parent 9402432b85
commit dee690dd8c

View file

@ -7068,7 +7068,7 @@ nautilus_view_init_show_hidden_files (NautilusView *view)
}
static const GtkActionEntry directory_view_entries[] = {
/* name, stock id, label */ { "New Documents", "document-new", N_("Create New _Document") },
/* name, stock id, label */ { "New Documents", "document-new", N_("New _Document") },
/* name, stock id, label */ { "Open With", NULL, N_("Open Wit_h"),
NULL, N_("Choose a program with which to open the selected item") },
/* name, stock id */ { "Properties", GTK_STOCK_PROPERTIES,
@ -7080,11 +7080,11 @@ static const GtkActionEntry directory_view_entries[] = {
/* tooltip */ NULL,
G_CALLBACK (action_properties_callback) },
/* name, stock id */ { "New Folder", "folder-new",
/* label, accelerator */ N_("Create New _Folder"), "<control><shift>N",
/* label, accelerator */ N_("New _Folder"), "<control><shift>N",
/* tooltip */ N_("Create a new empty folder inside this folder"),
G_CALLBACK (action_new_folder_callback) },
/* name, stock id */ { NAUTILUS_ACTION_NEW_FOLDER_WITH_SELECTION, NULL,
/* label, accelerator */ N_("Create New Folder with Selection"), NULL,
/* label, accelerator */ N_("New Folder with Selection"), NULL,
/* tooltip */ N_("Create a new folder containing the selected items"),
G_CALLBACK (action_new_folder_with_selection_callback) },
/* name, stock id, label */ { "No Templates", NULL, N_("No templates installed") },
@ -8465,7 +8465,7 @@ 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 (_("Create New Folder with Selection (%d Items)"), selection_count);
label_with_underscore = g_strdup_printf (_("New Folder with Selection (%d Items)"), selection_count);
g_object_set (action, "label", label_with_underscore, NULL);
g_free (label_with_underscore);