From 1e8a5d6614562778799a0cff030f975965d9efd1 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 11 May 2013 12:16:03 +0300 Subject: Show translated labels for upload and export menu items The strings were marked for translation on assignment to the variable, but then the variables were used untranslated. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- divelist-gtk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/divelist-gtk.c b/divelist-gtk.c index 7b7fc3999..1af9ff321 100644 --- a/divelist-gtk.c +++ b/divelist-gtk.c @@ -1737,13 +1737,13 @@ static void popup_divelist_menu(GtkTreeView *tree_view, GtkTreeModel *model, int gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); #if defined(LIBZIP) && defined(XSLT) - menuitem = gtk_menu_item_new_with_label(uploaddivelogslabel); + menuitem = gtk_menu_item_new_with_label(_(uploaddivelogslabel)); g_signal_connect(menuitem, "activate", G_CALLBACK(upload_selected_dives_divelogs_cb), path); gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); #endif #if defined(XSLT) - menuitem = gtk_menu_item_new_with_label(exportuddflabel); + menuitem = gtk_menu_item_new_with_label(_(exportuddflabel)); g_signal_connect(menuitem, "activate", G_CALLBACK(export_selected_dives_uddf_cb), path); gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); #endif -- cgit v1.2.3-70-g09d2