summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);