Add default label text to translation

- Fix bug #11330
master
Sergey Alyoshin 2014-11-25 22:04:41 +03:00 committed by Skunnyk
parent 17ba2f635b
commit f041b22794
1 changed files with 2 additions and 2 deletions

View File

@ -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;