[Xfce4-commits] <xfce4-systemload-plugin:master> Bug 8496: Fix unlocalized strings

Mike Massonnet noreply at xfce.org
Wed Feb 22 21:58:01 CET 2012


Updating branch refs/heads/master
         to b4628aef069ce78339d33c35de33f9d2abba05ec (commit)
       from 08ae5d1bdf9e598c04abe3e3eeb14de310b398a9 (commit)

commit b4628aef069ce78339d33c35de33f9d2abba05ec
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Wed Feb 22 21:56:43 2012 +0100

    Bug 8496: Fix unlocalized strings

 panel-plugin/systemload.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index c1acfd5..bea2d3d 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -857,7 +857,7 @@ monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *global)
         monitor = global->monitor[count];
 
         table = new_frame(global, content,
-                          FRAME_TEXT[count], 2, &monitor->options.enabled);
+                          _(FRAME_TEXT[count]), 2, &monitor->options.enabled);
 
         new_entry(global, table, 0,
                   _("Text to display:"), &monitor->options.label_text,
@@ -869,7 +869,7 @@ monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *global)
 
     /*uptime monitor options - start*/
     table = new_frame(global, content,
-                      FRAME_TEXT[3], 1, &global->uptime->enabled);
+                      _(FRAME_TEXT[3]), 1, &global->uptime->enabled);
     /*uptime monitor options - end*/
 
     gtk_widget_show_all (dlg);


More information about the Xfce4-commits mailing list