mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
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>
This commit is contained in:
parent
89294039a4
commit
1e8a5d6614
1 changed files with 2 additions and 2 deletions
|
@ -1737,13 +1737,13 @@ static void popup_divelist_menu(GtkTreeView *tree_view, GtkTreeModel *model, int
|
||||||
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
|
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
|
||||||
|
|
||||||
#if defined(LIBZIP) && defined(XSLT)
|
#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);
|
g_signal_connect(menuitem, "activate", G_CALLBACK(upload_selected_dives_divelogs_cb), path);
|
||||||
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
|
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(XSLT)
|
#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);
|
g_signal_connect(menuitem, "activate", G_CALLBACK(export_selected_dives_uddf_cb), path);
|
||||||
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
|
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue