From f40f2bdb4a0fd4a539c746dd899285cfbbec1097 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 20 Nov 2017 13:01:48 -0500 Subject: MqHistoryButton: Internationalize --- (limited to 'src/toolbars/navigation/history-button.c') diff --git a/src/toolbars/navigation/history-button.c b/src/toolbars/navigation/history-button.c index 63736f7..53fe0ac 100644 --- a/src/toolbars/navigation/history-button.c +++ b/src/toolbars/navigation/history-button.c @@ -24,6 +24,8 @@ #include #include +#include "../../i18n.h" + struct _MqHistoryButton { GtkToolButton parent_instance; }; @@ -51,11 +53,12 @@ mq_history_button_init(MqHistoryButton *history_button) gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(history_button), gtk_image_new_from_icon_name("document-open-recent", GTK_ICON_SIZE_SMALL_TOOLBAR)); - gtk_tool_button_set_label(GTK_TOOL_BUTTON(history_button), "History"); + gtk_tool_button_set_label(GTK_TOOL_BUTTON(history_button), + _("History")); gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(history_button)), FALSE); gtk_widget_set_tooltip_text(GTK_WIDGET(history_button), - "Show browsing history"); + _("Show browsing history")); gtk_widget_set_sensitive(GTK_WIDGET(history_button), FALSE); /*TODO*/ g_signal_connect(history_button, "clicked", G_CALLBACK(clicked_cb), NULL); -- cgit v0.9.1