diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:16:32 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:16:32 (EST) |
commit | edfe7434462015822e43d3321995e260fffe6722 (patch) | |
tree | 89bd2fec8b5567c602808a63b27db39c946ebc84 /src/toolbars/navigation/uri-entry.c | |
parent | 90ca0f3b87c1d9dcd7d0b3c4f63dc4f7a782102b (diff) | |
download | marquee-edfe7434462015822e43d3321995e260fffe6722.zip marquee-edfe7434462015822e43d3321995e260fffe6722.tar.gz marquee-edfe7434462015822e43d3321995e260fffe6722.tar.bz2 |
MqUriEntry: Internationalize
Diffstat (limited to 'src/toolbars/navigation/uri-entry.c')
-rw-r--r-- | src/toolbars/navigation/uri-entry.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/toolbars/navigation/uri-entry.c b/src/toolbars/navigation/uri-entry.c index c056911..da7dc53 100644 --- a/src/toolbars/navigation/uri-entry.c +++ b/src/toolbars/navigation/uri-entry.c @@ -25,6 +25,7 @@ #include <gtk/gtk.h> #include <webkit2/webkit2.h> +#include "../../i18n.h" #include "../../web-view.h" struct _MqUriEntry { @@ -260,15 +261,15 @@ mq_uri_entry_class_init(MqUriEntryClass *klass) obj_properties[PROP_URI] = g_param_spec_string( "uri", - "URI", - "The initial URI in the URI entry", + P_("URI"), + P_("The initial URI in the URI entry"), "", 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); @@ -281,7 +282,7 @@ mq_uri_entry_init(MqUriEntry *uri_entry) { uri_entry->uri_entry = gtk_entry_new(); gtk_entry_set_placeholder_text(GTK_ENTRY(uri_entry->uri_entry), - "URI..."); + _("URI...")); gtk_entry_set_icon_from_icon_name(GTK_ENTRY(uri_entry->uri_entry), GTK_ENTRY_ICON_PRIMARY, "text-html"); gtk_entry_set_progress_fraction(GTK_ENTRY(uri_entry->uri_entry), 0.0); |