[Xfce4-commits] <xfce4-weather-plugin:master> Use more precise terms instead of "atmospheric pressure" and "humidity".

Harald Judt noreply at xfce.org
Thu Jan 10 16:34:06 CET 2013


Updating branch refs/heads/master
         to da21c80f20e002ec2e0c38cc71830248b1f99857 (commit)
       from eb4e6632d18b6501fba14237809b1e39125c48fe (commit)

commit da21c80f20e002ec2e0c38cc71830248b1f99857
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue Jan 8 12:14:55 2013 +0100

    Use more precise terms instead of "atmospheric pressure" and "humidity".
    
    These are a bit imprecise, so use more exact terms.
    
    Barometric pressure is atmospheric pressure reduced to mean sea level,
    done so to facilitate comparison for locations with different altitudes.
    
    Humidity is relative humidity in contrast to absolute humidity which
    is the water content of air.

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

diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c
index 90978df..75770d5 100644
--- a/panel-plugin/weather-config.c
+++ b/panel-plugin/weather-config.c
@@ -93,7 +93,7 @@ static const labeloption labeloptions[OPTIONS_N] = {
      * letter(s) that make sense and don't use up too much space.
      */
     {N_("Temperature (T)"), TEMPERATURE},
-    {N_("Atmosphere pressure (P)"), PRESSURE},
+    {N_("Barometric pressure (P)"), PRESSURE},
     {N_("Wind speed (WS)"), WIND_SPEED},
     {N_("Wind speed - Beaufort scale (WB)"), WIND_BEAUFORT},
     {N_("Wind direction (WD)"), WIND_DIRECTION},
diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index fb7a61c..9cc05a9 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -479,8 +479,8 @@ create_summary_tab(plugin_data *data)
 
     /* atmosphere */
     APPEND_BTEXT(_("\nAtmosphere\n"));
-    APPEND_TEXT_ITEM(_("Pressure"), PRESSURE);
-    APPEND_TEXT_ITEM(_("Humidity"), HUMIDITY);
+    APPEND_TEXT_ITEM(_("Barometric pressure"), PRESSURE);
+    APPEND_TEXT_ITEM(_("Relative humidity"), HUMIDITY);
 
     /* clouds */
     APPEND_BTEXT(_("\nClouds\n"));
@@ -577,8 +577,8 @@ forecast_cell_get_tooltip_text(plugin_data *data,
                         APPARENT_TEMPERATURE);
 
     g_string_append(text, _("<b>Atmosphere</b>\n"));
-    APPEND_TOOLTIP_ITEM(_("Pressure:\t%s%s%s\n"), PRESSURE);
-    APPEND_TOOLTIP_ITEM(_("Humidity:\t%s%s%s\n\n"), HUMIDITY);
+    APPEND_TOOLTIP_ITEM(_("Barometric pressure:\t%s%s%s\n"), PRESSURE);
+    APPEND_TOOLTIP_ITEM(_("Relative humidity:\t\t%s%s%s\n\n"), HUMIDITY);
 
     g_string_append(text, _("<b>Precipitations</b>\n"));
     APPEND_TOOLTIP_ITEM(_("Amount:\t\t%s%s%s\n\n"), PRECIPITATIONS);


More information about the Xfce4-commits mailing list