From f041b227945472721b9314d2c9bbb5ad1ab4ce21 Mon Sep 17 00:00:00 2001 From: Sergey Alyoshin Date: Tue, 25 Nov 2014 22:04:41 +0300 Subject: [PATCH] Add default label text to translation - Fix bug #11330 --- panel-plugin/netload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index 116d74f..9891ae5 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -39,7 +39,7 @@ #define BORDER 8 /* Defaults */ -#define DEFAULT_TEXT "Net" +#define DEFAULT_TEXT N_("Net") #define INIT_MAX 4096 #define MINIMAL_MAX 1024 @@ -448,7 +448,7 @@ static t_global_monitor * monitor_new(XfcePanelPlugin *plugin) xfce_panel_plugin_add_action_widget (plugin, global->ebox); global->monitor = g_new(t_monitor, 1); - global->monitor->options.label_text = g_strdup(DEFAULT_TEXT); + global->monitor->options.label_text = g_strdup(_(DEFAULT_TEXT)); global->monitor->options.network_device = g_strdup(""); global->monitor->options.old_network_device = g_strdup(""); global->monitor->options.use_label = TRUE;