summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-20 12:59:26 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-20 12:59:26 (EST)
commit5dfd515b043e4b6ba5c58ea147e7e48c5a94e33e (patch)
tree8d5204421ccc31a25d52cc8751e2437f128040ee /src
parentbf4a2074e37b232c8776fdf4589960d4660821d9 (diff)
downloadmarquee-5dfd515b043e4b6ba5c58ea147e7e48c5a94e33e.zip
marquee-5dfd515b043e4b6ba5c58ea147e7e48c5a94e33e.tar.gz
marquee-5dfd515b043e4b6ba5c58ea147e7e48c5a94e33e.tar.bz2
MqBackForwardButtonBox: Internationalize
Diffstat (limited to 'src')
-rw-r--r--src/toolbars/navigation/back-forward-button-box.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/toolbars/navigation/back-forward-button-box.c b/src/toolbars/navigation/back-forward-button-box.c
index 974403a..271649f 100644
--- a/src/toolbars/navigation/back-forward-button-box.c
+++ b/src/toolbars/navigation/back-forward-button-box.c
@@ -25,6 +25,7 @@
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>
+#include "../../i18n.h"
#include "../../web-view.h"
struct _MqBackForwardButtonBox {
@@ -388,8 +389,8 @@ mq_back_forward_button_box_class_init(MqBackForwardButtonBoxClass *klass)
obj_properties[PROP_WEB_VIEW] = g_param_spec_object(
"web-view",
- "MqWebView",
- "The associated MqWebView instance",
+ P_("MqWebView"),
+ P_("The associated MqWebView instance"),
MQ_TYPE_WEB_VIEW,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
@@ -409,7 +410,7 @@ mq_back_forward_button_box_init(MqBackForwardButtonBox *back_forward_button_box)
gtk_widget_set_can_focus(back_forward_button_box->back_button,
FALSE);
gtk_widget_set_tooltip_text(back_forward_button_box->back_button,
- "Go back one page");
+ _("Go back one page"));
g_signal_connect(back_forward_button_box->back_button, "clicked",
G_CALLBACK(back_clicked_cb), back_forward_button_box);
@@ -419,7 +420,7 @@ mq_back_forward_button_box_init(MqBackForwardButtonBox *back_forward_button_box)
gtk_widget_set_can_focus(back_forward_button_box->forward_button,
FALSE);
gtk_widget_set_tooltip_text(back_forward_button_box->forward_button,
- "Go forward one page");
+ _("Go forward one page"));
g_signal_connect(back_forward_button_box->forward_button, "clicked",
G_CALLBACK(forward_clicked_cb), back_forward_button_box);