From fa448af0ece37969f02b6d35fbea5e86bc257332 Mon Sep 17 00:00:00 2001 From: martinhaas Date: Mon, 16 Nov 2009 16:01:37 +0000 Subject: [PATCH] weather.php some translations to english git-svn-id: https://svn.fhem.de/fhem/trunk@478 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm3/include/weather.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/webfrontend/pgm3/include/weather.php b/fhem/webfrontend/pgm3/include/weather.php index 2c180e233..b84a6d57e 100644 --- a/fhem/webfrontend/pgm3/include/weather.php +++ b/fhem/webfrontend/pgm3/include/weather.php @@ -24,7 +24,7 @@ function website_WEATHER($station, $land, $sprache) $WEATHER[0]['condition'] = $api->weather->current_conditions->condition->attributes()->data; $WEATHER[0]['temperatur'] = $api->weather->current_conditions->temp_c->attributes()->data; - $WEATHER[0]['luftfeuchtigkeit'] = $api->weather->current_conditions->humidity->attributes()->data; + $WEATHER[0]['humidity'] = $api->weather->current_conditions->humidity->attributes()->data; $WEATHER[0]['wind'] = $api->weather->current_conditions->wind_condition->attributes()->data; $WEATHER[0]['icon'] = str_replace($icons_google, $icons_src, $api->weather->current_conditions->icon->attributes()->data); @@ -61,8 +61,8 @@ $WEATHER = website_WEATHER($weathercity, $weathercountry, $weatherlang); echo "$now: "; echo $WEATHER[0]['condition']."
\n"; - $pos=strrpos($WEATHER[0]['luftfeuchtigkeit'],':'); - $hum=substr($WEATHER[0]['luftfeuchtigkeit'],$pos+2,strlen($WEATHER[0]['luftfeuchtigkeit'])); + $pos=strrpos($WEATHER[0]['humidity'],':'); + $hum=substr($WEATHER[0]['humidity'],$pos+2,strlen($WEATHER[0]['humidity'])); echo "T/Hum: ".$WEATHER[0]['temperatur']."° / $hum
\n"; echo $WEATHER[0]['wind']."
\n";