diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:01:48 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:01:48 (EST) |
commit | f40f2bdb4a0fd4a539c746dd899285cfbbec1097 (patch) | |
tree | 57300be1410c6ff787139abdc6c78d3126b0ee58 /src | |
parent | adc2bf29c1350da4e087e90f4c7073ea645d19ea (diff) | |
download | marquee-f40f2bdb4a0fd4a539c746dd899285cfbbec1097.zip marquee-f40f2bdb4a0fd4a539c746dd899285cfbbec1097.tar.gz marquee-f40f2bdb4a0fd4a539c746dd899285cfbbec1097.tar.bz2 |
MqHistoryButton: Internationalize
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbars/navigation/history-button.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 <glib.h> #include <gtk/gtk.h> +#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); |