summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-20 13:01:14 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-20 13:01:14 (EST)
commitadc2bf29c1350da4e087e90f4c7073ea645d19ea (patch)
tree9742b966639818750bf938b4a3cdbc7be35928be
parentbf9bf7757098efb16f167c1c63d2ab0947fa8682 (diff)
downloadmarquee-adc2bf29c1350da4e087e90f4c7073ea645d19ea.zip
marquee-adc2bf29c1350da4e087e90f4c7073ea645d19ea.tar.gz
marquee-adc2bf29c1350da4e087e90f4c7073ea645d19ea.tar.bz2
MqDownloadsButton: Internationalize
-rw-r--r--src/toolbars/navigation/downloads-button.c6
1 files changed, 4 insertions, 2 deletions
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 <glib.h>
#include <gtk/gtk.h>
+#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);