From bf4a2074e37b232c8776fdf4589960d4660821d9 Mon Sep 17 00:00:00 2001
From: Patrick McDermott <pj@pehjota.net>
Date: Mon, 20 Nov 2017 12:57:29 -0500
Subject: MqNavigationToolbar: Internationalize

---
(limited to 'src/toolbars')

diff --git a/src/toolbars/navigation-toolbar.c b/src/toolbars/navigation-toolbar.c
index 95d98da..6a5e772 100644
--- a/src/toolbars/navigation-toolbar.c
+++ b/src/toolbars/navigation-toolbar.c
@@ -26,6 +26,7 @@
 #include <webkit2/webkit2.h>
 
 #include "../config/config.h"
+#include "../i18n.h"
 #include "../tab-page.h"
 #include "../web-view.h"
 #include "find-toolbar.h"
@@ -224,35 +225,35 @@ mq_navigation_toolbar_class_init(MqNavigationToolbarClass *klass)
 
 	obj_properties[PROP_CONFIG] = g_param_spec_pointer(
 		"config",
-		"MqConfig",
-		"The application's MqConfig instance",
+		P_("MqConfig"),
+		P_("The application's MqConfig instance"),
 		G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
 		G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
 	obj_properties[PROP_TAB_PAGE] = g_param_spec_object(
 		"tab-page",
-		"MqTabPage",
-		"The ancestral MqTabPage instance",
+		P_("MqTabPage"),
+		P_("The ancestral MqTabPage instance"),
 		MQ_TYPE_TAB_PAGE,
 		G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
 		G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
 	obj_properties[PROP_FIND_TOOLBAR] = g_param_spec_object(
 		"find-toolbar",
-		"MqFindToolbar",
-		"The associated MqFindToolbar instance",
+		P_("MqFindToolbar"),
+		P_("The associated MqFindToolbar instance"),
 		MQ_TYPE_FIND_TOOLBAR,
 		G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
 		G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
 	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);
 	obj_properties[PROP_URI] = g_param_spec_string(
 		"uri",
-		"URI",
-		"The URI to load",
+		P_("URI"),
+		P_("The URI to load"),
 		"",
 		G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
 		G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
--
cgit v0.9.1