summaryrefslogtreecommitdiffstats
path: root/divelist-gtk.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-05-11 12:16:03 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-11 06:28:57 -0700
commit1e8a5d6614562778799a0cff030f975965d9efd1 (patch)
tree409f3652123da1b7935db87e8b8007cec27661be /divelist-gtk.c
parent89294039a49ec46b4d906a44ef00e97ccc29f912 (diff)
downloadsubsurface-1e8a5d6614562778799a0cff030f975965d9efd1.tar.gz
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 <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist-gtk.c')
-rw-r--r--divelist-gtk.c4
1 files 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