diff options
-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); |