Add default label text to translation

master
Sergey Alyoshin 2014-11-25 22:04:41 +03:00 committed by Romain B
parent 011a2ca9ee
commit 8e23bbcb6a
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
#define BORDER 8 #define BORDER 8
/* Defaults */ /* Defaults */
#define DEFAULT_TEXT "Net" #define DEFAULT_TEXT N_("Net")
#define INIT_MAX 4096 #define INIT_MAX 4096
#define MINIMAL_MAX 1024 #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); xfce_panel_plugin_add_action_widget (plugin, global->ebox);
global->monitor = g_new(t_monitor, 1); 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.network_device = g_strdup("");
global->monitor->options.old_network_device = g_strdup(""); global->monitor->options.old_network_device = g_strdup("");
global->monitor->options.use_label = TRUE; global->monitor->options.use_label = TRUE;