From 3e3ed3e5f357f2f3828b201c99aabfc8f60e3db1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 20 Nov 2017 12:53:50 -0500 Subject: MqTabPage: Internationalize --- diff --git a/src/tab-page.c b/src/tab-page.c index a90c7d4..9e90022 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -29,6 +29,7 @@ #include #include "application.h" +#include "i18n.h" #include "notebook.h" #include "tab-label.h" #include "toolbars/find-toolbar.h" @@ -193,15 +194,15 @@ mq_tab_page_class_init(MqTabPageClass *klass) obj_properties[PROP_WINDOW] = g_param_spec_object( "window", - "MqWindow", - "The parent MqWindow instance", + P_("MqWindow"), + P_("The parent MqWindow instance"), MQ_TYPE_WINDOW, 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); @@ -212,7 +213,7 @@ mq_tab_page_class_init(MqTabPageClass *klass) static void mq_tab_page_init(MqTabPage *tab_page) { - tab_page->title = "New Tab"; + tab_page->title = _("New Tab"); } MqTabPage * -- cgit v0.9.1