diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-20 12:53:50 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-20 12:53:50 (EST) |
commit | 3e3ed3e5f357f2f3828b201c99aabfc8f60e3db1 (patch) | |
tree | 146969c040c1455cb382b4c84a44f3ed92e29bea /src | |
parent | fa76fef2a64e284d9f951883d2678e451ddd83ed (diff) | |
download | marquee-3e3ed3e5f357f2f3828b201c99aabfc8f60e3db1.zip marquee-3e3ed3e5f357f2f3828b201c99aabfc8f60e3db1.tar.gz marquee-3e3ed3e5f357f2f3828b201c99aabfc8f60e3db1.tar.bz2 |
MqTabPage: Internationalize
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-page.c | 11 |
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 * |