summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-page.c11
1 files changed, 6 insertions, 5 deletions
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 <webkit2/webkit2.h>
#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 *