summaryrefslogtreecommitdiffstats
path: root/src/toolbars
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbars')
-rw-r--r--src/toolbars/navigation/home-button.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/toolbars/navigation/home-button.c b/src/toolbars/navigation/home-button.c
index 684988c..1aaea8c 100644
--- a/src/toolbars/navigation/home-button.c
+++ b/src/toolbars/navigation/home-button.c
@@ -26,6 +26,7 @@
#include <webkit2/webkit2.h>
#include "../../config/config.h"
+#include "../../i18n.h"
#include "../../web-view.h"
struct _MqHomeButton {
@@ -123,14 +124,14 @@ mq_home_button_class_init(MqHomeButtonClass *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_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);
@@ -144,11 +145,11 @@ mq_home_button_init(MqHomeButton *home_button)
gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(home_button),
gtk_image_new_from_icon_name("go-home",
GTK_ICON_SIZE_SMALL_TOOLBAR));
- gtk_tool_button_set_label(GTK_TOOL_BUTTON(home_button), "Home");
+ gtk_tool_button_set_label(GTK_TOOL_BUTTON(home_button), _("Home"));
gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(home_button)),
FALSE);
gtk_widget_set_tooltip_text(GTK_WIDGET(home_button),
- "Load the home page");
+ _("Load the home page"));
g_signal_connect(home_button, "clicked", G_CALLBACK(clicked_cb), NULL);
}