Commit eaa2a5b0 authored by Milan Crha's avatar Milan Crha

Bug 737018 - GUI string for translation "New" without context

parent ffacad7c
......@@ -271,15 +271,15 @@ e_categories_editor_init (ECategoriesEditor *editor)
gtk_grid_attach (grid, hbuttonbox1, 0, 4, 1, 1);
gtk_box_set_spacing (GTK_BOX (hbuttonbox1), 6);
button_new = e_dialog_button_new_with_icon ("document-new", _("_New"));
button_new = e_dialog_button_new_with_icon ("document-new", C_("category", "_New"));
gtk_container_add (GTK_CONTAINER (hbuttonbox1), button_new);
gtk_widget_set_can_default (button_new, TRUE);
button_edit = gtk_button_new_with_mnemonic (_("_Edit"));
button_edit = gtk_button_new_with_mnemonic (C_("category", "_Edit"));
gtk_container_add (GTK_CONTAINER (hbuttonbox1), button_edit);
gtk_widget_set_can_default (button_edit, TRUE);
button_delete = e_dialog_button_new_with_icon ("edit-delete", _("_Delete"));
button_delete = e_dialog_button_new_with_icon ("edit-delete", C_("category", "_Delete"));
gtk_container_add (GTK_CONTAINER (hbuttonbox1), button_delete);
gtk_widget_set_can_default (button_delete, TRUE);
......
......@@ -1640,6 +1640,7 @@ static GtkActionEntry mail_entries[] = {
{ "mail-folder-new",
"folder-new",
/* Translators: An action caption to create a new mail folder */
N_("_New..."),
NULL,
N_("Create a new folder for storing mail"),
......
......@@ -590,9 +590,12 @@ do_ask (const gchar *text,
if (is_create_edit_add) {
gtk_dialog_add_buttons (
GTK_DIALOG (dialog),
_("_Cancel"), GTK_RESPONSE_CANCEL,
_("_Edit"), GTK_RESPONSE_YES,
_("_New"), GTK_RESPONSE_NO,
/* Translators: Dialog button to Cancel edit of an existing event/memo/task */
C_("mail-to-task", "_Cancel"), GTK_RESPONSE_CANCEL,
/* Translators: Dialog button to Edit an existing event/memo/task */
C_("mail-to-task", "_Edit"), GTK_RESPONSE_YES,
/* Translators: Dialog button to create a New event/memo/task */
C_("mail-to-task", "_New"), GTK_RESPONSE_NO,
NULL);
}
......
......@@ -1096,6 +1096,7 @@ static GtkActionEntry shell_entries[] = {
{ "new-menu",
"document-new",
/* Translators: This is a New menu item caption, under File->New */
N_("_New"),
NULL,
NULL,
......
......@@ -500,7 +500,9 @@ shell_window_construct_toolbar (EShellWindow *shell_window)
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, 0);
gtk_widget_show (GTK_WIDGET (item));
item = e_menu_tool_button_new (_("New"));
/* Translators: a 'New' toolbar button caption which is context sensitive and
runs one of the actions under File->New menu */
item = e_menu_tool_button_new (C_("toolbar-button", "New"));
gtk_tool_item_set_is_important (GTK_TOOL_ITEM (item), TRUE);
gtk_widget_add_accelerator (
GTK_WIDGET (item), "clicked",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment