From adc2bf29c1350da4e087e90f4c7073ea645d19ea Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 20 Nov 2017 13:01:14 -0500 Subject: MqDownloadsButton: Internationalize --- diff --git a/src/toolbars/navigation/downloads-button.c b/src/toolbars/navigation/downloads-button.c index 852828a..5782bf1 100644 --- a/src/toolbars/navigation/downloads-button.c +++ b/src/toolbars/navigation/downloads-button.c @@ -24,6 +24,8 @@ #include #include +#include "../../i18n.h" + struct _MqDownloadsButton { GtkToolButton parent_instance; }; @@ -52,11 +54,11 @@ mq_downloads_button_init(MqDownloadsButton *downloads_button) gtk_image_new_from_icon_name("document-save", GTK_ICON_SIZE_SMALL_TOOLBAR)); gtk_tool_button_set_label(GTK_TOOL_BUTTON(downloads_button), - "Downloads"); + _("Downloads")); gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(downloads_button)), FALSE); gtk_widget_set_tooltip_text(GTK_WIDGET(downloads_button), - "Show downloads"); + _("Show downloads")); gtk_widget_set_sensitive(GTK_WIDGET(downloads_button), FALSE); /*TODO*/ g_signal_connect(downloads_button, "clicked", G_CALLBACK(clicked_cb), NULL); -- cgit v0.9.1