diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:00:41 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:00:41 (EST) |
commit | bf9bf7757098efb16f167c1c63d2ab0947fa8682 (patch) | |
tree | 0fc4f5ff6413f39dea5a00dd1368cac825a9be7a /src | |
parent | 5dfd515b043e4b6ba5c58ea147e7e48c5a94e33e (diff) | |
download | marquee-bf9bf7757098efb16f167c1c63d2ab0947fa8682.zip marquee-bf9bf7757098efb16f167c1c63d2ab0947fa8682.tar.gz marquee-bf9bf7757098efb16f167c1c63d2ab0947fa8682.tar.bz2 |
MqBookmarksButtonBox: Internationalize
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbars/navigation/bookmarks-button-box.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/toolbars/navigation/bookmarks-button-box.c b/src/toolbars/navigation/bookmarks-button-box.c index e43f17d..87f19fc 100644 --- a/src/toolbars/navigation/bookmarks-button-box.c +++ b/src/toolbars/navigation/bookmarks-button-box.c @@ -25,6 +25,8 @@ #include <gtk/gtk.h> #include <webkit2/webkit2.h> +#include "../../i18n.h" + struct _MqBookmarksButtonBox { GtkToolItem parent_instance; GtkWidget *edit_button; @@ -70,7 +72,7 @@ mq_bookmarks_button_box_init(MqBookmarksButtonBox *bookmarks_button_box) gtk_widget_set_can_focus(GTK_WIDGET(bookmarks_button_box->edit_button), FALSE); gtk_widget_set_tooltip_text(bookmarks_button_box->edit_button, - "Bookmark this page"); + _("Bookmark this page")); /* TODO: */ gtk_widget_set_sensitive(bookmarks_button_box->edit_button, FALSE); g_signal_connect(bookmarks_button_box->edit_button, "clicked", @@ -84,7 +86,7 @@ mq_bookmarks_button_box_init(MqBookmarksButtonBox *bookmarks_button_box) gtk_widget_set_can_focus(GTK_WIDGET(bookmarks_button_box->show_button), FALSE); gtk_widget_set_tooltip_text(bookmarks_button_box->show_button, - "Show bookmarks"); + _("Show bookmarks")); /* TODO: */ gtk_widget_set_sensitive(bookmarks_button_box->show_button, FALSE); g_signal_connect(bookmarks_button_box->show_button, "clicked", |