summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/notebook.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/notebook.c b/src/notebook.c
index 57740c0..7b846f4 100644
--- a/src/notebook.c
+++ b/src/notebook.c
@@ -24,6 +24,7 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include "i18n.h"
#include "tab-label.h"
#include "tab-page.h"
#include "tree.h"
@@ -108,8 +109,8 @@ mq_notebook_class_init(MqNotebookClass *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);
@@ -264,7 +265,7 @@ mq_notebook_init(MqNotebook *notebook)
GTK_ICON_SIZE_BUTTON);
gtk_button_set_relief(GTK_BUTTON(new_tab_button), GTK_RELIEF_NONE);
gtk_widget_set_can_focus(new_tab_button, FALSE);
- gtk_widget_set_tooltip_text(new_tab_button, "New tab");
+ gtk_widget_set_tooltip_text(new_tab_button, _("New tab"));
gtk_notebook_set_action_widget(GTK_NOTEBOOK(notebook), new_tab_button,
GTK_PACK_START);
gtk_widget_show_all(new_tab_button);
@@ -275,7 +276,7 @@ mq_notebook_init(MqNotebook *notebook)
GTK_ICON_SIZE_BUTTON);
gtk_button_set_relief(GTK_BUTTON(tab_list_button), GTK_RELIEF_NONE);
gtk_widget_set_can_focus(tab_list_button, FALSE);
- gtk_widget_set_tooltip_text(tab_list_button, "Tab list");
+ gtk_widget_set_tooltip_text(tab_list_button, _("Tab list"));
gtk_notebook_set_action_widget(GTK_NOTEBOOK(notebook), tab_list_button,
GTK_PACK_END);
gtk_widget_show_all(tab_list_button);