Kilomètresbeteljuice wrote:@ Laurent
Do mean eg. Kilometres ? - I had a Damn Yankee moment, sorry !
And perhaps some others units translations if they could appear (mètres/ secondes or beers/hour

Moderator: daj
Kilomètresbeteljuice wrote:@ Laurent
Do mean eg. Kilometres ? - I had a Damn Yankee moment, sorry !
etc etc with the proper? chart at the bottom.Notice: Undefined offset: 1 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 7 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 2 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 5 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 5 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 6 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 0 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 2 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 1 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 4 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 625
Notice: Undefined offset: 7 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 798
Notice: Undefined offset: 5 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 798
Notice: Undefined offset: 6 in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 798
with the proper chart (zero filled for this year so far) at the bottom.Warning: number_format() expects parameter 1 to be double, string given in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 279
Warning: number_format() expects parameter 1 to be double, string given in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 279
Warning: number_format() expects parameter 1 to be double, string given in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 279
Warning: number_format() expects parameter 1 to be double, string given in C:\xampp\htdocs\public_html\weather\betel_readDayfile.php on line 279
Code: Select all
gradient('FF0000','998CFF',30), // 7.0 - 10.0
Code: Select all
gradient('998CFF','5C5499',30) // 10.0 - 16.0
Code: Select all
'fr' => array(
'daily' => 'Journalier', // drop-down table selector
'seasonal' => 'Saisonnier', // drop-down table selector
'note' => array('Note','Ensemble de donnée incomplet'),
'loading' => 'Lecture des données ...',
'fail' => 'Erreur donnée !!!',
'total' => 'Σ',
'avg' => 'Moy',
'hi' => 'Max',
'lo' => 'Min',
'dom' => 'Dom', // 'short' for dominant (wind direction)
'season_1' => '<img src="snowflake.png" height="22px" />Hiver', // previous Dec, Jan, Feb
'season_2' => '<img src="daffodil.png" height="22px" />Printemps', // Mar, Apr, May
'season_3' => '<img src="sun.png" height="22px" />Eté', // Jun, Jul, Aug
'season_4' => '<img src="leaf.gif" height="22px" />Automne', // Sep, Oct, Nov
'mn' => array('Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'),
'dy' => array('Dim','Lun','Mar','Mer','Jeu','Ven','Sam'),
'compass_headings' => array('N ↓','NE ↙','E ←','SE ↖','S ↑','SW ↗','W →','NW ↘','N ↓'),
'maxtemp' => array('Temp max', 'Température maximum'),
'mintemp' => array('Temp min', 'Température minimum'),
'tdiff' => array('T° Diff', 'T° Différence'),
'avgtemp' => array('Temp moy', 'Température moyenne'),
'rainfall' => array('Pluie', 'Pluie'),
'windspd' => array('Vent', 'Vitesse du vent maximum'),
'windgust' => array('Rafale', 'Rafale maximum'),
'windrun' => array('Distance', 'Distance parcourue journalière'),
'winddir' => array('Direction', 'Direction vent dominant'),
'baromax' => array('Baro Max', 'Pression atmosphérique maximum'),
'baromin' => array('Baro Min', 'Pression atmosphérique minimum'),
'HoursSun' => array('Ensoleillement', 'Durée ensoleillement'),
'HighUV' => array('Index UV', 'Index UV')
),
Code: Select all
if($factor != 1){ // conversion required
return number_format($value * $factor, $wind_dec, '.' , '');
} else {
return number_format($value, $wind_dec, '.' , '');
}
Code: Select all
if($factor != 1){ // conversion required
return number_format($value * $factor, $wind_dec, '.' , '');
} else {
if ($value == '') $value = 0;
return number_format($value, $wind_dec, '.' , '');
}
Code: Select all
'nl' => array(
'daily' => 'Dagelijks', // drop-down table selector
'seasonal' => 'Seizoenen', // drop-down table selector
'note' => array('Let op','dataset is niet compleet.'),
'loading' => 'Ophalen van data ...',
'fail' => 'Data FOUT !!!',
'total' => 'Σ',
'avg' => 'Gem',
'hi' => 'Max',
'lo' => 'Min',
'dom' => 'Dom', // 'short' for dominant (wind direction)
'season_1' => '<img src="snowflake.png" height="22px" />Winter', // previous Dec, Jan, Feb
'season_2' => '<img src="daffodil.png" height="22px" />Lente', // Mar, Apr, May
'season_3' => '<img src="sun.png" height="22px" />Zomer', // Jun, Jul, Aug
'season_4' => '<img src="leaf.gif" height="22px" />Herfst', // Sep, Oct, Nov
'mn' => array('Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
'dy' => array('Zon','Maa','Din','Woe','Don','Vrij','Zat'),
'compass_headings' => array('N ↓','NO ↙','O ←','ZO ↖','Z ↑','ZW ↗','W →','NW ↘','N ↓'),
'maxtemp' => array('Max Temp', 'Maximum Temperatuur'),
'mintemp' => array('Min Temp', 'Minimum Temperatuur'),
'tdiff' => array('T° Verschil', 'T° Verschil'),
'avgtemp' => array('Gem Temp', 'Gemiddelde Temperatuur'),
'rainfall' => array('Neerslag', 'Neerslag'),
'windspd' => array('Windsnelheid', 'Hoogste Windsnelheid'),
'windgust' => array('Windvlaag', 'Hoogste Windvlaag'),
'windrun' => array('Wind Run', 'Wind Run'),
'winddir' => array('Windrichting', 'Dominante Windrichting'),
'baromax' => array('Baro Max', 'Luchtdruk - Max'),
'baromin' => array('Baro Min', 'Luchtdruk - Min'),
'HoursSun' => array('Zonneschijn', 'Zonuren'),
'HighUV' => array('UV Index', 'UV index')
),
Code: Select all
'fi' => array(
'daily' => 'Päivittäin', // drop-down table selector
'seasonal' => 'Vuodenajoittain', // drop-down table selector
'note' => array('Huom!','Keskeneräinen datatiedosto'),
'loading' => 'Hakee tiedostoa ...',
'fail' => 'DATAVIRHE !!!',
'total' => 'Σ',
'avg' => 'Keskim.',
'hi' => 'Korkein',
'lo' => 'Alin',
'dom' => 'Hallitseva', // short for dominant (wind direction)
'season_1' => '<img src="snowflake.png" height="22px" />Talvi', // previous Dec, Jan, Feb
'season_2' => '<img src="daffodil.png" height="22px" />Kevät', // Mar, Apr, May
'season_3' => '<img src="sun.png" height="22px" />Kesä', // Jun, Jul, Aug
'season_4' => '<img src="leaf.gif" height="22px" />Syksy', // Sep, Oct, Nov
'mn' => array('Tam', 'Hel', 'Maa', 'Huh', 'Tou', 'Kes', 'Hei', 'Elo', 'Syy', 'Lok', 'Mar', 'Jou'),
'dy' => array('Su','Ma','Ti','Ke','To','Pe','La'),
'compass_headings' => array('POH ↓','KOI ↙','ITÄ ←','KAA ↖','ETE ↑','LOU ↗','LÄN →','LUO ↘','POH ↓'),
'maxtemp' => array('Korkein lämpö', 'Korkein lämpötila'),
'mintemp' => array('Alin lämpö', 'Alin lämpötila'),
'tdiff' => array('Lämpötilaero °', 'Lämpötilaero °'),
'avgtemp' => array('Keskim. lämpö', 'Keskimääräinen lämpötila'),
'rainfall' => array('Sade', 'Sademäärä'),
'windspd' => array('Tuulen nopeus', 'Korkein keskituulen nopeus '),
'windgust' => array('Puuska', 'Korkein tuulenpuuska'),
'windrun' => array('Tuulen matka', 'Tuulen matka'),
'winddir' => array('Tuulen suunta', 'Hallitseva tuulen suunta'),
'baromax' => array('Korkein ilmanpaine', 'Korkein Ilmanpaine'),
'baromin' => array('Alin ilmanpaine', 'Alin Ilmanpaine'),
'HoursSun' => array('Auringonpaiste', 'Auringonpaistetunnit'),
'HighUV' => array('UV Index', 'Korkein UV indeksi')
),
Works fine now in chrome / ie / ffbeteljuice wrote:
@ Ron
I've changed the stylesheet - see if that gives you the drop 'arrow' in chrome.