Thread: RE: Translations need updating...
Brought to you by:
iridium
From: Ray v. B. <r_v...@ho...> - 2002-03-25 21:39:48
|
Here's the dutch translation update to revision 1.2 of locale_nl.inc. If 'windchill' is the temperature you actually feel (and not the drop in temperature) than the proper translation is 'gevoelstemperatuur'. If it specifies the drop, I wouldn't know a good translation.... so it better be the actual temp ;-) I fixed up some other rather English terms as well. Ray <?php /* * This file holds the Dutch translation of PHP Weather. To use it, * just include it in the main phpweather.inc file. * * Author: Nicky Haan <ni...@ne...> */ /* Unsets old language variables and loads new ones. */ if (isset($strings)) { /* The strings array is loaded - assume the same for the rest. */ unset($strings); unset($wind_dir_text_short_array); unset($wind_dir_text_array); unset($weather_array); unset($cloud_condition_array); } /* Load the new strings */ $strings = array( 'no_data' => '<blockquote><p>Helaas, er is geen data beschikbaar voor %s.</p></blockquote>', 'mm_inches' => '<b>%s</b> mm (<b>%s</b> inch', 'precip_a_trace' => 'een spoor', 'precip_there_was' => 'Er was %s neerslag ', 'sky_str_format1' => 'er was <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet)', 'sky_str_clear' => 'er was <b>geen</b> bewolking', 'sky_str_format2' => ', <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet) en <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet)', 'sky_str_format3' => ' en <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet)', 'sky_cavok' => 'There are no clouds below <b>1,524</b> meter (<b>5,000</b> feet)', 'clouds' => ' bewolking', 'clouds_cb' => ' buienwolken', 'clouds_tcu' => ' stapelwolking', 'visibility_format' => 'De zichtbaarheid was <b>%s</b> kilometer (<b>%s</b> mijl).', 'wind_str_format1' => 'met windsnelheden van <b>%s</b> meter per seconde(<b>%s</b> mijl per uur)', 'wind_str_format2' => ', met vlagen tot <b>%s</b> meter per seconde (<b>%s</b> mijl per uur),', 'wind_str_format3' => ' vanuit <b>%s</b>', 'wind_str_calm' => '<b>kalm</b>', 'wind_vrb_long' => 'variable richtingen', 'wind_vrb_short' => 'VAR', 'windchill' => ' the windchill was <b>%s</b> °C (<b>%s</b> °F) ', 'precip_last_hour' => 'in het laatste uur. ', 'precip_last_6_hours' => 'in de laatste 3 tot 6 uur. ', 'precip_last_24_hours' => 'in de laatste 24 uur. ', 'precip_snow' => 'Er is <b>%s</b> mm (<b>%s</b> inch) sneeuw op de grond. ', 'temp_min_max_6_hours' => 'De maximum en minumum temperaturen over de laatste 6 uur waren <b>%s</b> en <b>%s</b> graden Celsius (<b>%s</b> en <b>%s</b> graden Fahrenheit).', 'temp_max_6_hours' => 'De maximum temperatuur over de laatste 6 uur was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit). ', 'temp_min_6_hours' => 'De minumum temperatuur over de laatste 6 uur was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit). ', 'temp_min_max_24_hours' => 'De maximum en minumum temperaturen over de laatste 24 uur waren <b>%s</b> en <b>%s</b> graden Celsius (<b>%s</b> en <b>%s</b> graden Fahrenheit). ', 'runway_vis' => 'The visibility for runway <b>%s</b> is <b>%s</b> meters (<b>%s</b> feet).', 'runway_vis_min_max' => 'The visibility for runway <b>%s</b> varies between <b>%s</b> meters (<b>%s</b> feet) and <b>%s</b> meters (<b>%s</b> feet).', 'light' => 'Licht ', 'moderate' => 'Gematigd ', 'Heavy' => 'Zwaar ', 'nearby' => 'Dichtbij ', 'current_weather' => 'Het huidige weer is <b>%s</b>. ', 'pretty_print_metar' => '<blockquote><p><b>%s</b> minuten geleden, om <b>%s</b> UTC, de wind blies %s nabij %s. De temperatuur was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit), %s en de barometerdruk was <b>%s</b> hPa (<b>%s</b> inHg). De relatieve vochtigheid was <b>%s%%</b>. %s %s %s %s %s</p></blockquote>' ); $wind_dir_text_short_array = array( 'N', 'N/NO', 'NO', 'O/NO', 'O', 'O/ZO', 'ZO', 'Z/ZO', 'Z', 'Z/ZW', 'ZW', 'W/ZW', 'W', 'W/NW', 'NW', 'N/NW', 'N'); $wind_dir_text_array = array( 'Noord', 'Noord/Noordoost', 'Noordoost', 'Oost/Noordoost', 'Oost', 'Oost/Zuidoost', 'Zuidoost', 'Zuid/Zuidoost', 'Zuid', 'Zuid/Zuidwest', 'Zuidwest', 'West/Zuidwest', 'West', 'West/Noordwest', 'Noordwest', 'North/Noordwest', 'Noord'); $weather_array = array( 'MI' => 'Shallow ', 'PR' => 'Deeltje ', 'BC' => 'Flarden ', 'DR' => 'Laag optrekkende ', 'BL' => 'Blazen ', 'SH' => 'Bui(en) ', 'TS' => 'Onweersbui ', 'FZ' => 'Vriest', 'DZ' => 'Motregen ', 'RA' => 'Regen ', 'SN' => 'Sneeuw ', 'SG' => 'Motsneeuw ', 'IC' => 'IJs Kristallen ', 'PE' => 'IJs Hagel ', 'GR' => 'Hagel ', 'GS' => 'Fijne Hagel en/of Motsneeuw ', 'UP' => 'Onbekend ', 'BR' => 'Mist ', 'FG' => 'Mist ', 'FU' => 'Rook ', 'VA' => 'Vulkanische As ', 'DU' => 'Wijdeverspreide Stofdeeltjes ', 'SA' => 'Zand ', 'HZ' => 'Nevel ', 'PY' => 'Nevel', 'PO' => 'StuifZand/-Stof ', 'SQ' => 'Vlagen ', 'FC' => 'Trechtervormige Tornado Waterhoos ', 'SS' => 'Zandstorm/Stofstorm '); $cloud_condition_array = array( 'SKC' => 'helder', 'CLR' => 'helder', 'VV' => 'vertikale zichtbaarheid', 'FEW' => 'weinig', 'SCT' => 'verspreide', 'BKN' => 'gebroken', 'OVC' => 'betrekkelijk'); ?> _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. |
From: Ray v. B. <r_v...@ho...> - 2002-03-26 07:11:14
|
>Have you included the right version? This looks like what's there already >:) Oops! Sorry, here is the real dutch one, Ray <?php /* * This file holds the Dutch translation of PHP Weather. To use it, * just include it in the main phpweather.inc file. * * Author: Nicky Haan <ni...@ne...> * Raymond van Bek <r_v...@ho...> */ /* Unsets old language variables and loads new ones. */ if (isset($strings)) { /* The strings array is loaded - assume the same for the rest. */ unset($strings); unset($wind_dir_text_short_array); unset($wind_dir_text_array); unset($weather_array); unset($cloud_condition_array); } /* Load the new strings */ $strings = array( 'no_data' => '<blockquote><p>Helaas, er is geen data beschikbaar voor %s.</p></blockquote>', 'mm_inches' => '<b>%s</b> mm (<b>%s</b> inch', 'precip_a_trace' => 'een spoor', 'precip_there_was' => 'Er was %s neerslag ', 'sky_str_format1' => 'er was <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet)', 'sky_str_clear' => 'er was <b>geen</b> bewolking', 'sky_str_format2' => ', <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet) en <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet)', 'sky_str_format3' => ' en <b>%s</b> op een hoogte van <b>%s</b> meter (<b>%s</b> voet)', 'sky_cavok' => 'Er is geen bewolking beneden <b>1,524</b> meter (<b>5,000</b> voet)', 'clouds' => ' bewolking', 'clouds_cb' => ' buienwolken', 'clouds_tcu' => ' stapelwolking', 'visibility_format' => 'De zichtbaarheid was <b>%s</b> kilometer (<b>%s</b> mijl).', 'wind_str_format1' => 'met windsnelheden van <b>%s</b> meter per seconde(<b>%s</b> mijl per uur)', 'wind_str_format2' => ', met vlagen tot <b>%s</b> meter per seconde (<b>%s</b> mijl per uur),', 'wind_str_format3' => ' vanuit <b>%s</b>', 'wind_str_calm' => '<b>kalm</b>', 'wind_vrb_long' => 'variable richtingen', 'wind_vrb_short' => 'VAR', 'windchill' => ' de gevoelstemperatuur is <b>%s</b> °C (<b>%s</b> °F) ', 'precip_last_hour' => 'in het laatste uur. ', 'precip_last_6_hours' => 'in de laatste 3 tot 6 uur. ', 'precip_last_24_hours' => 'in de laatste 24 uur. ', 'precip_snow' => 'Er is <b>%s</b> mm (<b>%s</b> inch) sneeuw op de grond. ', 'temp_min_max_6_hours' => 'De maximum en minumum temperaturen over de laatste 6 uur waren <b>%s</b> en <b>%s</b> graden Celsius (<b>%s</b> en <b>%s</b> graden Fahrenheit).', 'temp_max_6_hours' => 'De maximum temperatuur over de laatste 6 uur was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit). ', 'temp_min_6_hours' => 'De minumum temperatuur over de laatste 6 uur was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit). ', 'temp_min_max_24_hours' => 'De maximum en minumum temperaturen over de laatste 24 uur waren <b>%s</b> en <b>%s</b> graden Celsius (<b>%s</b> en <b>%s</b> graden Fahrenheit). ', 'runway_vis' => 'De zichtbare baanlengte voor startbaan <b>%s</b> is <b>%s</b> meter (<b>%s</b> voet).', 'runway_vis_min_max' => 'De zichtbare baanlengte voor startbaan <b>%s</b> varieert tussen <b>%s</b> meter (<b>%s</b> voet) en <b>%s</b> meter (<b>%s</b> voet).', 'light' => 'Licht ', 'moderate' => 'Gematigd ', 'Heavy' => 'Zwaar ', 'nearby' => 'Dichtbij ', 'current_weather' => 'Het huidige weer is <b>%s</b>. ', 'pretty_print_metar' => '<blockquote><p><b>%s</b> minuten geleden, om <b>%s</b> UTC, de wind blies %s nabij %s. De temperatuur was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit), %s en de barometerdruk was <b>%s</b> hPa (<b>%s</b> inHg). De relatieve vochtigheid was <b>%s%%</b>. %s %s %s %s %s</p></blockquote>'); $wind_dir_text_short_array = array( 'N', 'NNO', 'NO', 'ONO', 'O', 'OZO', 'ZO', 'ZZO', 'Z', 'ZZW', 'ZW', 'WZW', 'W', 'WNW', 'NW', 'NNW', 'N'); $wind_dir_text_array = array( 'Noord', 'Noord-noordoost', 'Noordoost', 'Oost-noordoost', 'Oost', 'Oost-zuidoost', 'Zuidoost', 'Zuid-zuidoost', 'Zuid', 'Zuid-zuidwest', 'Zuidwest', 'West-zuidwest', 'West', 'West-noordwest', 'Noordwest', 'Noord-noordwest', 'Noord'); $weather_array = array( 'MI' => 'Shallow ', 'PR' => 'Deeltje ', 'BC' => 'Flarden ', 'DR' => 'Laag optrekkende ', 'BL' => 'Blazen ', 'SH' => 'Bui(en) ', 'TS' => 'Onweersbui ', 'FZ' => 'Vriest', 'DZ' => 'Motregen ', 'RA' => 'Regen ', 'SN' => 'Sneeuw ', 'SG' => 'Motsneeuw ', 'IC' => 'IJs Kristallen ', 'PE' => 'IJs Hagel ', 'GR' => 'Hagel ', 'GS' => 'Fijne Hagel en/of Motsneeuw ', 'UP' => 'Onbekend ', 'BR' => 'Mist ', 'FG' => 'Mist ', 'FU' => 'Rook ', 'VA' => 'Vulkanische As ', 'DU' => 'Wijdeverspreide Stofdeeltjes ', 'SA' => 'Zand ', 'HZ' => 'Nevel ', 'PY' => 'Nevel', 'PO' => 'StuifZand/-Stof ', 'SQ' => 'Vlagen ', 'FC' => 'Trechtervormige Tornado Waterhoos ', 'SS' => 'Zandstorm/Stofstorm '); $cloud_condition_array = array( 'SKC' => 'helder', 'CLR' => 'helder', 'VV' => 'vertikale zichtbaarheid', 'FEW' => 'weinig', 'SCT' => 'verspreide', 'BKN' => 'gebroken', 'OVC' => 'betrekkelijk'); ?> _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
From: Martin G. <gim...@gi...> - 2002-03-26 08:37:35
|
"Ray van Beek" <r_v...@ho...> writes: >> Have you included the right version? This looks like what's there >> already :) >=20 >=20 > Oops! Sorry, here is the real dutch one, Thanks a lot! I've commited it to CVS. If only the others translators would hurry up so that we can release this thing... =2D-=20 Martin Geisler My GnuPG Key: 0xF7F6B57B See my homepage at http://www.gimpster.com/ for: PHP Weather =3D> Shows the current weather on your webpage. PHP Shell =3D> A telnet-connection (almost :-) in a PHP page. |
From: Max H. <ma...@fl...> - 2002-03-25 21:59:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Have you included the right version? This looks like what's there already :) Max - -- 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 Ray > van Beek > Sent: 25 March 2002 21:40 > To: php...@li... > Subject: RE: Translations need updating... > > > Here's the dutch translation update to revision 1.2 of locale_nl.inc. > > If 'windchill' is the temperature you actually feel (and not the drop in > temperature) than the proper translation is 'gevoelstemperatuur'. If it > specifies the drop, I wouldn't know a good translation.... so it > better be > the actual temp ;-) > > I fixed up some other rather English terms as well. > > Ray > > <?php > /* > * This file holds the Dutch translation of PHP Weather. To use it, > * just include it in the main phpweather.inc file. > * > * Author: Nicky Haan <ni...@ne...> > */ > > /* Unsets old language variables and loads new ones. */ > if (isset($strings)) { > /* The strings array is loaded - assume the same for the rest. */ > unset($strings); > unset($wind_dir_text_short_array); > unset($wind_dir_text_array); > unset($weather_array); > unset($cloud_condition_array); > } > /* Load the new strings */ > > $strings = array( > 'no_data' => '<blockquote><p>Helaas, er is geen data > beschikbaar voor %s.</p></blockquote>', > 'mm_inches' => '<b>%s</b> mm (<b>%s</b> inch', > 'precip_a_trace' => 'een spoor', > 'precip_there_was' => 'Er was %s neerslag ', > 'sky_str_format1' => 'er was <b>%s</b> op een hoogte van > <b>%s</b> > meter (<b>%s</b> voet)', > 'sky_str_clear' => 'er was <b>geen</b> bewolking', > 'sky_str_format2' => ', <b>%s</b> op een hoogte van > <b>%s</b> meter > (<b>%s</b> voet) en <b>%s</b> op een hoogte van <b>%s</b> meter > (<b>%s</b> > voet)', > 'sky_str_format3' => ' en <b>%s</b> op een hoogte van <b>%s</b> > meter (<b>%s</b> voet)', > 'sky_cavok' => 'There are no clouds below > <b>1,524</b> meter > (<b>5,000</b> feet)', > 'clouds' => ' bewolking', > 'clouds_cb' => ' buienwolken', > 'clouds_tcu' => ' stapelwolking', > 'visibility_format' => 'De zichtbaarheid was <b>%s</b> kilometer > (<b>%s</b> mijl).', > 'wind_str_format1' => 'met windsnelheden van <b>%s</b> meter per > seconde(<b>%s</b> mijl per uur)', > 'wind_str_format2' => ', met vlagen tot <b>%s</b> meter > per seconde > (<b>%s</b> mijl per uur),', > 'wind_str_format3' => ' vanuit <b>%s</b>', > 'wind_str_calm' => '<b>kalm</b>', > 'wind_vrb_long' => 'variable richtingen', > 'wind_vrb_short' => 'VAR', > 'windchill' => ' the windchill was <b>%s</b> °C > (<b>%s</b> °F) ', > 'precip_last_hour' => 'in het laatste uur. ', > 'precip_last_6_hours' => 'in de laatste 3 tot 6 uur. ', > 'precip_last_24_hours' => 'in de laatste 24 uur. ', > 'precip_snow' => 'Er is <b>%s</b> mm (<b>%s</b> inch) > sneeuw op > de grond. ', > 'temp_min_max_6_hours' => 'De maximum en minumum temperaturen over de > laatste 6 uur waren <b>%s</b> en <b>%s</b> graden Celsius (<b>%s</b> en > <b>%s</b> graden Fahrenheit).', > 'temp_max_6_hours' => 'De maximum temperatuur over de > laatste 6 uur > was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit). ', > 'temp_min_6_hours' => 'De minumum temperatuur over de > laatste 6 uur > was <b>%s</b> graden Celsius (<b>%s</b> graden Fahrenheit). ', > 'temp_min_max_24_hours' => 'De maximum en minumum temperaturen over de > laatste 24 uur waren <b>%s</b> en <b>%s</b> graden Celsius (<b>%s</b> en > <b>%s</b> graden Fahrenheit). ', > 'runway_vis' => 'The visibility for runway <b>%s</b> is > <b>%s</b> meters (<b>%s</b> feet).', > 'runway_vis_min_max' => 'The visibility for runway <b>%s</b> varies > between <b>%s</b> meters (<b>%s</b> feet) and <b>%s</b> meters (<b>%s</b> > feet).', > 'light' => 'Licht ', > 'moderate' => 'Gematigd ', > 'Heavy' => 'Zwaar ', > 'nearby' => 'Dichtbij ', > 'current_weather' => 'Het huidige weer is <b>%s</b>. ', > 'pretty_print_metar' => '<blockquote><p><b>%s</b> minuten > geleden, om > <b>%s</b> UTC, de wind blies %s nabij %s. De temperatuur was <b>%s</b> > graden Celsius (<b>%s</b> graden Fahrenheit), %s en de barometerdruk was > <b>%s</b> hPa (<b>%s</b> inHg). De relatieve vochtigheid was > <b>%s%%</b>. %s > %s %s %s %s</p></blockquote>' > ); > > $wind_dir_text_short_array = array( > 'N', > 'N/NO', > 'NO', > 'O/NO', > 'O', > 'O/ZO', > 'ZO', > 'Z/ZO', > 'Z', > 'Z/ZW', > 'ZW', > 'W/ZW', > 'W', > 'W/NW', > 'NW', > 'N/NW', > 'N'); > > $wind_dir_text_array = array( > 'Noord', > 'Noord/Noordoost', > 'Noordoost', > 'Oost/Noordoost', > 'Oost', > 'Oost/Zuidoost', > 'Zuidoost', > 'Zuid/Zuidoost', > 'Zuid', > 'Zuid/Zuidwest', > 'Zuidwest', > 'West/Zuidwest', > 'West', > 'West/Noordwest', > 'Noordwest', > 'North/Noordwest', > 'Noord'); > > $weather_array = array( > 'MI' => 'Shallow ', > 'PR' => 'Deeltje ', > 'BC' => 'Flarden ', > 'DR' => 'Laag optrekkende ', > 'BL' => 'Blazen ', > 'SH' => 'Bui(en) ', > 'TS' => 'Onweersbui ', > 'FZ' => 'Vriest', > 'DZ' => 'Motregen ', > 'RA' => 'Regen ', > 'SN' => 'Sneeuw ', > 'SG' => 'Motsneeuw ', > 'IC' => 'IJs Kristallen ', > 'PE' => 'IJs Hagel ', > 'GR' => 'Hagel ', > 'GS' => 'Fijne Hagel en/of Motsneeuw ', > 'UP' => 'Onbekend ', > 'BR' => 'Mist ', > 'FG' => 'Mist ', > 'FU' => 'Rook ', > 'VA' => 'Vulkanische As ', > 'DU' => 'Wijdeverspreide Stofdeeltjes ', > 'SA' => 'Zand ', > 'HZ' => 'Nevel ', > 'PY' => 'Nevel', > 'PO' => 'StuifZand/-Stof ', > 'SQ' => 'Vlagen ', > 'FC' => 'Trechtervormige Tornado Waterhoos ', > 'SS' => 'Zandstorm/Stofstorm '); > > $cloud_condition_array = array( > 'SKC' => 'helder', > 'CLR' => 'helder', > 'VV' => 'vertikale zichtbaarheid', > 'FEW' => 'weinig', > 'SCT' => 'verspreide', > 'BKN' => 'gebroken', > 'OVC' => 'betrekkelijk'); > ?> > > > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. _______________________________________________ PHPWeather-devel mailing list PHP...@li... https://lists.sourceforge.net/lists/listinfo/phpweather-devel -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPJ+dzyaLdinGu4NfEQJpywCcCdzQxN61kJM5UDsjX/doyWjKN0QAnjrO zNUGbAAc9nnAF1iZ9erCXeWW =6K48 -----END PGP SIGNATURE----- |
From: Max H. <ma...@fl...> - 2002-03-25 22:02:56
Attachments:
pw_text_en.php
pw_text.php
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Attached is a template for anyone who feels like writing a translation for PHPWeather 2 - it should be easy enough to work out what's going on - look at pw_text_en.php. I've also included, for anyone who can't use CVS, pw_text.php which actually does the work of parsing the metar into text. If your language doesn't work the same way as ours, and you are feeling brave, you can overwrite the functions in pw_text with new ones in pw_text_xx Good luck :) Max - -- A man on a mission is far different from a drone on a deadline. * Rheta Grimsley Johnson -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPJ+eiSaLdinGu4NfEQJDqACg0yUwRmSzrx2oDdgnFPyZl7FIWhQAoLE/ 3acMRFW/jFDEi41G+Nz/cwym =oNiY -----END PGP SIGNATURE----- |
From: Martin G. <gim...@gi...> - 2002-03-25 22:35:04
|
"Max Hammond" <ma...@fl...> writes: > Attached is a template for anyone who feels like writing a > translation for PHPWeather 2 [...] (You do know, that it's easy to download individual files from CVS using the cvsweb at SourceForge? It's right here http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpweather/phpweather/ :-) =2D-=20 Martin Geisler My GnuPG Key: 0xF7F6B57B See my homepage at http://www.gimpster.com/ for: PHP Weather =3D> Shows the current weather on your webpage. PHP Shell =3D> A telnet-connection (almost :-) in a PHP page. |