From 4a7e6417a3abea891e3c93e4636be4c158b29afb Mon Sep 17 00:00:00 2001 From: Andre Miranda Date: Sat, 5 May 2018 00:26:56 -0300 Subject: [PATCH] Make strings translatable (Bug #14379) --- panel/panel-window.c | 4 ++-- plugins/clock/clock-dialog.glade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/panel/panel-window.c b/panel/panel-window.c index a7a46442..7c151afe 100644 --- a/panel/panel-window.c +++ b/panel/panel-window.c @@ -2742,7 +2742,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS /* help item */ G_GNUC_BEGIN_IGNORE_DEPRECATIONS - item = gtk_image_menu_item_new_with_mnemonic ("_Help"); + item = gtk_image_menu_item_new_with_mnemonic (_("_Help")); G_GNUC_END_IGNORE_DEPRECATIONS g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (panel_window_menu_help), NULL); @@ -2751,7 +2751,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS /* about item */ G_GNUC_BEGIN_IGNORE_DEPRECATIONS - item = gtk_image_menu_item_new_with_mnemonic ("_About"); + item = gtk_image_menu_item_new_with_mnemonic (_("_About")); G_GNUC_END_IGNORE_DEPRECATIONS g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (panel_dialogs_show_about), NULL); diff --git a/plugins/clock/clock-dialog.glade b/plugins/clock/clock-dialog.glade index 57ae1b65..1298da94 100644 --- a/plugins/clock/clock-dialog.glade +++ b/plugins/clock/clock-dialog.glade @@ -55,7 +55,7 @@ end - _Close + _Close True True True @@ -69,7 +69,7 @@ - _Help + _Help True True True -- 2.17.0