diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-20 12:57:29 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-20 12:57:29 (EST) |
commit | bf4a2074e37b232c8776fdf4589960d4660821d9 (patch) | |
tree | 61a453960aacd3f38230bde2707c30a339abd8b8 /src | |
parent | 5e87fc0222e13bff335bc9232275be8797cde463 (diff) | |
download | marquee-bf4a2074e37b232c8776fdf4589960d4660821d9.zip marquee-bf4a2074e37b232c8776fdf4589960d4660821d9.tar.gz marquee-bf4a2074e37b232c8776fdf4589960d4660821d9.tar.bz2 |
MqNavigationToolbar: Internationalize
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbars/navigation-toolbar.c | 21 |
1 files changed, 11 insertions, 10 deletions
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); |