[Xfce4-commits] <xfce4-weather-plugin:master> Fix formatting and some small grammar and spelling mistakes.

Harald Judt noreply at xfce.org
Mon Jan 14 18:08:10 CET 2013


Updating branch refs/heads/master
         to 7c4d1dfafaea08facd7aeb2e89abafb7d3e12251 (commit)
       from bab11195264ea2e0e87dfa858d03ec4a657a9bb6 (commit)

commit 7c4d1dfafaea08facd7aeb2e89abafb7d3e12251
Author: Harald Judt <h.judt at gmx.at>
Date:   Mon Jan 14 15:46:57 2013 +0100

    Fix formatting and some small grammar and spelling mistakes.

 panel-plugin/weather-summary.c |   14 +++++++-------
 panel-plugin/weather.c         |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index 781af42..1aa1e99 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -364,7 +364,7 @@ create_summary_tab(plugin_data *data)
     APPEND_TEXT_ITEM_REAL(value);
 
     /* calculation times */
-    APPEND_BTEXT(_("\nTimes Used In Calculations\n"));
+    APPEND_BTEXT(_("\nTimes Used for Calculations\n"));
     point = format_date(conditions->point, NULL, TRUE);
     value = g_strdup_printf
         (_("\tTemperatures, wind, atmosphere and cloud data calculated\n"
@@ -560,7 +560,7 @@ forecast_cell_get_tooltip_text(plugin_data *data,
     const gchar *unit;
 
     /* TRANSLATORS: Please use \t as needed to properly align the values */
-    text = g_string_new(_("<b>Times used for calculation</b>\n"));
+    text = g_string_new(_("<b>Times used for calculations</b>\n"));
     value = format_date(fcdata->start, NULL, TRUE);
     g_string_append_printf(text, _("Interval start:\t\t\t%s\n"), value);
     g_free(value);
@@ -584,11 +584,11 @@ forecast_cell_get_tooltip_text(plugin_data *data,
     APPEND_TOOLTIP_ITEM(_("Amount:\t\t%s%s%s\n\n"), PRECIPITATIONS);
 
     g_string_append(text, _("<b>Clouds</b>\n"));
-    APPEND_TOOLTIP_ITEM(_("Fog:\t\t%s%s%s\n"), FOG);
-    APPEND_TOOLTIP_ITEM(_("Low:\t\t%s%s%s\n"), CLOUDS_LOW);
-    APPEND_TOOLTIP_ITEM(_("Middle:\t\t%s%s%s\n"), CLOUDS_MID);
-    APPEND_TOOLTIP_ITEM(_("High:\t\t%s%s%s\n"), CLOUDS_HIGH);
-    APPEND_TOOLTIP_ITEM(_("Cloudiness:\t%s%s%s"), CLOUDINESS);
+    APPEND_TOOLTIP_ITEM(_("Fog:\t\t\t%s%s%s\n"), FOG);
+    APPEND_TOOLTIP_ITEM(_("Low clouds:\t\t%s%s%s\n"), CLOUDS_LOW);
+    APPEND_TOOLTIP_ITEM(_("Middle clouds:\t%s%s%s\n"), CLOUDS_MID);
+    APPEND_TOOLTIP_ITEM(_("High clouds:\t\t%s%s%s\n"), CLOUDS_HIGH);
+    APPEND_TOOLTIP_ITEM(_("Cloudiness:\t\t%s%s%s"), CLOUDINESS);
 
     /* Free GString only and return its character data */
     result = text->str;
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 084e0b3..9b7e02d 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1521,7 +1521,7 @@ weather_get_tooltip_text(const plugin_data *data)
                "<span size=\"medium\">(%s)</span>\n"
                "<b><span size=\"large\">%s</span></b>\n"
                "<span size=\"smaller\">"
-               "from %s to %s, with %s precipitations</span>\n\n"
+               "from %s to %s, with %s of precipitations</span>\n\n"
                "<b>Temperature:</b> %s\t\t"
                "<span size=\"smaller\">(values at %s)</span>\n"
                "<b>Wind:</b> %s (%son the Beaufort scale) from %s(%s)\n"


More information about the Xfce4-commits mailing list