RE: phpweather/output pw_text.php,1.3,1.4 pw_text_da.php,1.1,1.2 pw_...
Brought to you by:
iridium
From: Max H. <ma...@fl...> - 2002-03-24 17:34:33
|
Does anyone want to fix my butchered translations? -- A man on a mission is far different from a drone on a deadline. * Rheta Grimsley Johnson > -----Original Message----- > From: php...@li... > [mailto:php...@li...]On Behalf Of Ma= x > Hammond > Sent: 24 March 2002 17:26 > To: php...@li... > Subject: CVS: phpweather/output pw_text.php,1.3,1.4 > pw_text_da.php,1.1,1.2 pw_... > > > Update of /cvsroot/phpweather/phpweather/output > In directory usw-pr-cvs1:/tmp/cvs-serv3062 > > Modified Files: > pw_text.php pw_text_da.php pw_text_en.php pw_text_hu.php > pw_text_no.php > Log Message: > Added windchill factor > > Index: pw_text.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/phpweather/phpweather/output/pw_text.php,v > retrieving revision 1.3 > retrieving revision 1.4 > diff -u -3 -r1.3 -r1.4 > --- pw_text.php 20 Mar 2002 19:26:50 -0000 1.3 > +++ pw_text.php 24 Mar 2002 17:25:48 -0000 1.4 > @@ -766,6 +766,15 @@ > $this->properties['mark_end'] . '.'; > } > > + function print_pretty_windchill($windchill) { > + extract($windchill); > + $output =3D $this->strings['windchill'] . > + > $this->pref_units($this->properties['mark_begin'] . $windchill_c . > + $this->properties['mark_end'] . ' °C', > + $this->properties['mark_begin'] . $windchill_f . > + $this->properties['mark_end'] . ' °F') . '.'; > + return $output; > + } > > function print_pretty_clouds($clouds) { > if (empty($clouds[0]) || > @@ -1004,6 +1013,14 @@ > if (!in_array('temperature', $this->properties['exclude']) && > !empty($temperature)) { > $output['temperature'] =3D > $this->print_pretty_temperature($temperature); > + } > + > + /********************************* > + * Windchill * > + *********************************/ > + if (!in_array('windchill', $this->properties['exclude']) && > + !empty($windchill)) { > + $output['windchill'] =3D $this->print_pretty_windchill($windchil= l); > } > > /**************************** > > Index: pw_text_da.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/phpweather/phpweather/output/pw_text_da.php,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -3 -r1.1 -r1.2 > --- pw_text_da.php 17 Mar 2002 13:39:04 -0000 1.1 > +++ pw_text_da.php 24 Mar 2002 17:25:48 -0000 1.2 > @@ -96,6 +96,7 @@ > $this->strings['hPa'] =3D ' hPa'; > $this->strings['inHg'] =3D ' inHg'; > $this->strings['rel_humidity'] =3D 'Den relative > luftfugtigheden var '; > + $this->strings['windchill'] =3D 'Temperaturen, med > vindkylde, var '; > $this->strings['cloud_group_beg'] =3D 'Der var '; > $this->strings['cloud_group_end'] =3D '.'; > $this->strings['cloud_clear'] =3D 'Himlen var %sskyfri%s.'; > > Index: pw_text_en.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/phpweather/phpweather/output/pw_text_en.php,v > retrieving revision 1.2 > retrieving revision 1.3 > diff -u -3 -r1.2 -r1.3 > --- pw_text_en.php 18 Mar 2002 16:14:31 -0000 1.2 > +++ pw_text_en.php 24 Mar 2002 17:25:48 -0000 1.3 > @@ -98,6 +98,7 @@ > $this->strings['hPa'] =3D ' hPa'; > $this->strings['inHg'] =3D ' inHg'; > $this->strings['rel_humidity'] =3D 'The relative humidity was '= ; > + $this->strings['windchill'] =3D 'The temperature > including windchill was '; > $this->strings['cloud_group_beg'] =3D 'There were '; > $this->strings['cloud_group_end'] =3D '.'; > $this->strings['cloud_clear'] =3D 'The sky was %sclear%s.'; > > Index: pw_text_hu.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/phpweather/phpweather/output/pw_text_hu.php,v > retrieving revision 1.2 > retrieving revision 1.3 > diff -u -3 -r1.2 -r1.3 > --- pw_text_hu.php 20 Mar 2002 19:26:50 -0000 1.2 > +++ pw_text_hu.php 24 Mar 2002 17:25:48 -0000 1.3 > @@ -106,6 +106,7 @@ > $this->strings['hPa'] =3D ' hPa'; > $this->strings['inHg'] =3D ' inHg'; > $this->strings['rel_humidity'] =3D 'A relat=EDv p=E1ratartalom = '; > + $this->strings['windchill'] =3D 'The temperature > including windchill was '; > $this->strings['cloud_group_beg'] =3D 'Az =E9gbolton'; > $this->strings['cloud_group_end'] =3D ' magass=E1gban.'; > $this->strings['cloud_clear'] =3D 'Az =E9gbolt %sfelh=F5tlen%s= volt.'; > > Index: pw_text_no.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/phpweather/phpweather/output/pw_text_no.php,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -3 -r1.1 -r1.2 > --- pw_text_no.php 17 Mar 2002 13:39:04 -0000 1.1 > +++ pw_text_no.php 24 Mar 2002 17:25:48 -0000 1.2 > @@ -97,6 +97,7 @@ > $this->strings['hPa'] =3D ' hPa'; > $this->strings['inHg'] =3D ' inHg'; > $this->strings['rel_humidity'] =3D 'Den relative fuktigheten va= r '; > + $this->strings['windchill'] =3D 'Temperaturen, med > vindkylde, var '; > $this->strings['cloud_group_beg'] =3D 'Det var '; > $this->strings['cloud_group_end'] =3D '.'; > $this->strings['cloud_clear'] =3D 'Himmelen var %sclear%s.'; > > > _______________________________________________ > PHPWeather-checkins mailing list > PHP...@li... > https://lists.sourceforge.net/lists/listinfo/phpweather-checkins |