[Xfce4-commits] <xfce4-weather-plugin:master> Make "No Data" translatable.
Harald Judt
noreply at xfce.org
Fri Jul 13 16:50:15 CEST 2012
Updating branch refs/heads/master
to 732d1bc7b6c7a9dfc4f1aa0370c76feb43cb85f0 (commit)
from 3c2d52f8c34910dcc108280db1c9b76a33651796 (commit)
commit 732d1bc7b6c7a9dfc4f1aa0370c76feb43cb85f0
Author: Harald Judt <h.judt at gmx.at>
Date: Wed Jul 11 16:59:20 2012 +0200
Make "No Data" translatable.
panel-plugin/weather.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 700688d..407b4dd 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -229,7 +229,7 @@ set_icon_error (xfceweather_data *data)
txtsize = get_label_size(data);
- str = g_strdup_printf ("<span size=\"%s\">No Data</span>", txtsize);
+ str = g_strdup_printf ("<span size=\"%s\">%s</span>", txtsize, _("No Data"));
gtk_scrollbox_set_label (GTK_SCROLLBOX (data->scrollbox), -1, str);
g_free (str);
More information about the Xfce4-commits
mailing list