Thread: CVS: phpweather/output pw_text_de.php,NONE,1.1
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2003-03-04 14:36:31
|
Update of /cvsroot/phpweather/phpweather/output In directory sc8-pr-cvs1:/tmp/cvs-serv27474/output Added Files: pw_text_de.php Log Message: Super! A German translation from Konrad Tadesse. --- NEW FILE --- <?php require_once(PHPWEATHER_BASE_DIR . '/output/pw_text.php'); /** * Provides all the strings needed by pw_text to produce German * output. * * @author Konrad Tadesse * @link http://www.tadesse.de/ * @version $Id: pw_text_de.php,v 1.1 2003/03/04 14:36:25 gimpster Exp $ */ class pw_text_de extends pw_text { /** * This constructor provides all the strings used. * * @param array This is just passed on to pw_text(). */ function pw_text_de($weather, $input = array()) { $this->strings['charset'] = 'ISO-8859-1'; $this->strings['no_data'] = 'Für %s%s%s stehen keine DATEN zur Verfügung.'; $this->strings['list_sentences_and'] = ' und '; $this->strings['list_sentences_comma'] = ', '; $this->strings['list_sentences_final_and'] = ', und '; $this->strings['location'] = '%s%s%s:'; //Ortsname $this->strings['minutes'] = ' Minuten'; $this->strings['time_format'] = 'Neuester Wetterbericht von vor %s um %s%s%s Uhr. '; // rohe Daten ?? $this->strings['time_minutes'] = 'und %s%s%s Minuten'; $this->strings['time_one_hour'] = '%seiner%s Stunde %s'; $this->strings['time_several_hours'] = '%s%s%s Stunden %s'; $this->strings['time_a_moment'] = 'im Moment'; $this->strings['meters_per_second'] = ' m/s '; // Meter pro Sekunde $this->strings['miles_per_hour'] = ' Meilen pro Stunde'; $this->strings['meter'] = ' m'; // Meter $this->strings['meters'] = ' m'; // Meter $this->strings['feet'] = ' Fuß'; $this->strings['kilometers'] = ' km'; // Kilometer $this->strings['miles'] = ' Meilen'; $this->strings['and'] = ' und '; $this->strings['plus'] = ' plus '; $this->strings['with'] = ' mit '; $this->strings['wind_blowing'] = 'Der Wind blies mit '; $this->strings['wind_with_gusts'] = ' Böen bis zu '; $this->strings['wind_from'] = ' und er kam aus '; $this->strings['wind_variable'] = ' aus %sunterschiedlichen Richtungen%s .'; $this->strings['wind_varying'] = ', variierte zwischen %s%s%s (%s%sº%s) und %s%s%s (%s%sº%s)'; $this->strings['wind_calm'] = 'Der Wind war %sruhig%s'; $this->strings['wind_dir'] = array( 'Nord', 'Nord/Nordost', 'Nordost', 'Ost/Nordost', 'Ost', 'Ost/Südost', 'Südost', 'Süd/Südost', 'Süd', 'Süd/Südwest', 'Südwest', 'West/Südwest', 'West', 'West/Nordwest', 'Nordwest', 'Nord/Nordwest', 'Nord'); $this->strings['wind_dir_short'] = array( 'N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW', 'N'); $this->strings['wind_dir_short_long'] = array( 'N' => 'Nord', 'NE' => 'Nordost', 'E' => 'Ost', 'SE' => 'Südost', 'S' => 'Süd', 'SW' => 'Südwest', 'W' => 'West', 'NW' => 'Nordwest' ); $this->strings['temperature'] = 'Die Temperatur betrugt '; $this->strings['dew_point'] = ' bei einem Taupunkt von '; $this->strings['altimeter'] = 'Der Luftdruck stand auf '; // Absatz eingefügt $this->strings['hPa'] = ' hPa'; $this->strings['inHg'] = ' inHg'; $this->strings['rel_humidity'] = 'Die relative Luftfeuchtigkeit erreichte '; $this->strings['feelslike'] = 'Die gefühlte Temperatur lagt bei '; $this->strings['cloud_group_beg'] = 'Bewölkung: '; $this->strings['cloud_group_end'] = '.'; $this->strings['cloud_clear'] = 'Der Himmel war %sklar%s. '; $this->strings['cloud_height'] = ' in der Höhe von '; $this->strings['cloud_overcast'] = ' %sbewölkt%s '; $this->strings['cloud_vertical_visibility'] = ' die %svertikale Sichtweite%s '; $this->strings['cloud_condition'] = array( 'SKC' => 'wolkenlos', 'CLR' => 'heiter ', 'FEW' => 'ein wenig bewölkt', 'SCT' => 'aufgelockert bewölkt', 'BKN' => 'durchbrochene Bewölkung', 'OVC' => 'geschlossene Wolkendecke'); $this->strings['cumulonimbus'] = ' Gewitterwolken'; $this->strings['towering_cumulus'] = ' Kumuli'; $this->strings['cavok'] = ' keine Wolken unter %s und keine Kumulunimbus oder Gewitterwolken'; $this->strings['currently'] = 'Zur Zeit '; $this->strings['weather'] = array( '-' => ' leicht', ' ' => ' mittel ', '+' => ' schwer ', 'VC' => ' in der Umgebung', 'PR' => ' teilweise', 'BC' => ' Flecken von', 'MI' => ' flach', 'DR' => ' niedrig driftend', 'BL' => ' wehend', 'SH' => ' Schauer von', 'TS' => ' Gewitter', 'FZ' => ' gefrierend', 'DZ' => ' Niesel', 'RA' => ' Regen', 'SN' => ' Schnee', 'SG' => ' Schneekristall', 'IC' => ' Eiskristalle', 'PL' => ' Eiskugeln', 'GR' => ' Hagel', 'GS' => ' geringer Hagel', 'UP' => ' unbekannt', 'BR' => ' dunstig', 'FG' => ' Nebel', 'FU' => ' Rauch', 'VA' => ' vulkanische Asche', 'DU' => ' weitverbreiteter Staub', 'SA' => ' Sand', 'HZ' => ' Dunst', 'PY' => ' Sprühregen', 'PO' => ' gut ausgebildete Staub/Sand Windhosen', 'SQ' => ' Böen', 'FC' => ' Wolkentrichter einer Wasserhose', 'SS' => ' Sandsturm/Staubsturm'); $this->strings['visibility'] = 'Die Sichtweite reichte '; $this->strings['visibility_greater_than'] = 'weiter als '; $this->strings['visibility_less_than'] = 'weniger als '; $this->strings['visibility_to'] = ' zum '; $this->strings['runway_upward_tendency'] = ' with an %supward%s tendency'; $this->strings['runway_downward_tendency'] = ' with a %sdownward%s tendency'; $this->strings['runway_no_tendency'] = ' with %sno distinct%s tendency'; $this->strings['runway_between'] = 'zwischen '; $this->strings['runway_left'] = ' links'; $this->strings['runway_central'] = ' mitte'; $this->strings['runway_right'] = ' rechts'; $this->strings['runway_visibility'] = 'Die Sichtweite betrug '; $this->strings['runway_for_runway'] = ' für die Landebahn '; /* We run the parent constructor */ $this->pw_text($weather, $input); } } ?> |
From: Gyulai Miha'ly <gy...@fb...> - 2003-03-04 15:49:25
|
Martin Geisler =EDrta, 2003-03-04, 06:36-kor kelt level=E9ben, ami 19= 7 sorb=F3l =E1llt: > Added Files: > =09pw_text_de.php=20 > Log Message: > Super! A German translation from Konrad Tadesse. Forgetting about translating also the 'tendency' sentences? > $this->strings['runway_upward_tendency'] =3D ' with an %supwa= rd%s tendency'; > $this->strings['runway_downward_tendency'] =3D ' with a %sdownw= ard%s tendency'; > $this->strings['runway_no_tendency'] =3D ' with %sno dist= inct%s tendency'; Regards --=20 Mih=E1ly Gyulai http://gyulai.freeyellow.com/ |
From: Martin G. <gim...@gi...> - 2003-03-04 20:00:21
|
Gyulai Miha'ly <gy...@fb...> writes: > Martin Geisler =EDrta, 2003-03-04, 06:36-kor kelt level=E9ben, ami 197 so= rb=F3l =E1llt: > >> Added Files: >> pw_text_de.php=20 >> Log Message: >> Super! A German translation from Konrad Tadesse. > > Forgetting about translating also the 'tendency' sentences? > >> $this->strings['runway_upward_tendency'] =3D ... >> $this->strings['runway_downward_tendency'] =3D ... >> $this->strings['runway_no_tendency'] =3D ... Ahh, good catch! I'll let Konrad know if he hasn't already seen this mail. --=20 Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather =3D> Shows the current weather on your webpage and PHP Shell =3D> A telnet-connection (almost :-) in a PHP page. |
From: Ondrej J. <ne...@po...> - 2003-03-05 23:19:31
|
> > Added Files: > > pw_text_de.php > > Log Message: > > Super! A German translation from Konrad Tadesse. > Forgetting about translating also the 'tendency' sentences? I remember, that I had problems with these too... -- _/| Ondrej Jombik - ne...@ph... - http://www.nepto.sk - OJ812-RIPE <_ \ Platon SDG - open source software development - http://platon.sk `\| Nech operacia X na mnozine G tvori grupu, potom plati... rundu! '` |
From: Martin G. <gim...@gi...> - 2003-03-06 21:47:43
|
Ondrej Jombik <ne...@po...> writes: >> > Added Files: >> > pw_text_de.php >> > Log Message: >> > Super! A German translation from Konrad Tadesse. >> Forgetting about translating also the 'tendency' sentences? > > I remember, that I had problems with these too... Yes, it's unfortunately not so obvious how all the sentences are used... especially when you're not used to the this jargon. It would be nice with examples that explained exactly where each string is used. Just an idea if someone is looking for something to do... :-) -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |