[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 03/06: Add default label text to translation

noreply at xfce.org noreply at xfce.org
Thu Nov 2 23:05:46 CET 2017


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-netload-plugin.

commit 8e23bbcb6a02b98b6eb04b830f7f123ef3fe84fb
Author: Sergey Alyoshin <alyoshin.s at gmail.com>
Date:   Tue Nov 25 22:04:41 2014 +0300

    Add default label text to translation
---
 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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list