[Xfce4-commits] <xfce4-weather-plugin:master> Summary details: Better explanation for the two different types of data.

Harald Judt noreply at xfce.org
Sun Jul 22 20:40:01 CEST 2012


Updating branch refs/heads/master
         to 4c1f9f55e8696fc7142d5230e348c83e584a4f54 (commit)
       from 5abdd3916520fc08ec560c62e3f3902ab0c81291 (commit)

commit 4c1f9f55e8696fc7142d5230e348c83e584a4f54
Author: Harald Judt <h.judt at gmx.at>
Date:   Sun Jul 22 20:26:34 2012 +0200

    Summary details: Better explanation for the two different types of data.
    
    Make clear to the user that there are two different types of data,
    as stated on http://api.yr.no/faq.html#times, and get rid of the
    confusing terms "point data" and "interval data".

 panel-plugin/weather-summary.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 95c6b55..cc8eb39 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -284,23 +284,18 @@ create_summary_tab (xfceweather_data *data)
   APPEND_BTEXT(_("\nTime\n"));
   point_tm = localtime(&conditions->point);
   strftime (point, 80, "%c", point_tm);
-  value = g_strdup_printf (_("\tPoint data applies to:\n\t%s\n"), point);
+  value = g_strdup_printf (_("\tTemperature, wind, atmosphere and cloud data apply to:\n\t%s\n"), point);
   APPEND_TEXT_ITEM_REAL (value);
 
   start_tm = localtime(&conditions->start);
   strftime (interval_start, 80, "%c", start_tm);
   end_tm = localtime(&conditions->end);
   strftime (interval_end, 80, "%c", end_tm);
-  value = g_strdup_printf (_("\n\tInterval data applies to:\n\tStart:\t%s\n\tEnd:\t%s\n"),
+  value = g_strdup_printf (_("\n\tPrecipitation and the weather symbol have been calculated\n\tfor the following time interval:\n\tStart:\t%s\n\tEnd:\t%s\n"),
                            interval_start,
                            interval_end);
   APPEND_TEXT_ITEM_REAL (value);
 
-  value = g_strdup_printf (_("\n\tInterval data provides icon, description and precipitation,"
-                             "\n\twhile the remaining information originates from point data.\n"));
-  APPEND_TEXT_ITEM_REAL (value);
-
-
   /* Temperature */
   APPEND_BTEXT (_("\nTemperature\n"));
   APPEND_TEXT_ITEM (_("Temperature"), TEMPERATURE);


More information about the Xfce4-commits mailing list