From: <var...@us...> - 2016-02-11 09:26:33
|
Revision: 9795 http://sourceforge.net/p/phpwiki/code/9795 Author: vargenau Date: 2016-02-11 09:26:31 +0000 (Thu, 11 Feb 2016) Log Message: ----------- Remove space at end of line Modified Paths: -------------- trunk/lib/phpweather-2.2.2/output/pw_text_hu.php trunk/lib/phpweather-2.2.2/output/pw_text_pl.php trunk/lib/phpweather-2.2.2/output/pw_text_sk.php Modified: trunk/lib/phpweather-2.2.2/output/pw_text_hu.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_hu.php 2016-02-11 09:25:10 UTC (rev 9794) +++ trunk/lib/phpweather-2.2.2/output/pw_text_hu.php 2016-02-11 09:26:31 UTC (rev 9795) @@ -3,12 +3,12 @@ require_once(PHPWEATHER_BASE_DIR . '/output/pw_text.php'); /** - * Provides all the strings needed by pw_text to produce + * Provides all the strings needed by pw_text to produce * Hungarian output. * A magyar szövegű időjárásjelentéshez a pw_text innen * veszi a sztringeket. * - * @author Mihály Gyulai + * @author Mihály Gyulai * @link http://gyulai.freeyellow.com/ The homepage of the author. * @version pw_text_hu.php,v 1.14 2003/09/16 22:57:11 gimpster Exp */ @@ -113,7 +113,7 @@ $this->strings['cloud_height'] = 'felhő '; $this->strings['cloud_overcast'] = 'az égbolt %sborult%s '; $this->strings['cloud_vertical_visibility'] = 'a %sfüggőleges láthatóság%s '; - + $this->strings['cloud_condition'] = array( 'SKC' => ' derült', 'CLR' => ' tiszta', @@ -121,12 +121,12 @@ 'SCT' => ' szórványos ', 'BKN' => ' szakadozott ', 'OVC' => ' borult'); - + $this->strings['cumulonimbus'] = ' gomoly'; $this->strings['towering_cumulus'] = ' vihar'; $this->strings['cavok'] = ' nincsenek felhők %s magasságban, és nincs gomolyfelhő'; $this->strings['currently'] = 'Jellemző: '; - + $this->strings['weather'] = array( '-' => ' könnyű ', ' ' => ' enyhe ', @@ -177,9 +177,9 @@ $this->strings['runway_for_runway'] = ' a kifutópályán '; /* We run the parent constructor */ - + $this->pw_text($weather, $input); - + } } Modified: trunk/lib/phpweather-2.2.2/output/pw_text_pl.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_pl.php 2016-02-11 09:25:10 UTC (rev 9794) +++ trunk/lib/phpweather-2.2.2/output/pw_text_pl.php 2016-02-11 09:26:31 UTC (rev 9795) @@ -117,7 +117,7 @@ $this->strings['towering_cumulus'] = ' cumulus wypiętrzony'; $this->strings['cavok'] = ' brak chmur poniżej %s, brak cumulonimbusów oraz brak zjawisk atmosferycznych'; $this->strings['currently'] = 'Aktualnie '; - $this->strings['weather'] = + $this->strings['weather'] = array( '-' => ' lekkie', ' ' => ' średnie ', Modified: trunk/lib/phpweather-2.2.2/output/pw_text_sk.php =================================================================== --- trunk/lib/phpweather-2.2.2/output/pw_text_sk.php 2016-02-11 09:25:10 UTC (rev 9794) +++ trunk/lib/phpweather-2.2.2/output/pw_text_sk.php 2016-02-11 09:26:31 UTC (rev 9795) @@ -121,7 +121,7 @@ $this->strings['towering_cumulus'] = ' týčiace sa nahromadené'; $this->strings['cavok'] = ' žiadne oblaky pod %s a ani žiadne iné nahromadené oblaky'; $this->strings['currently'] = 'Aktuálnym počasím bolo '; - $this->strings['weather'] = + $this->strings['weather'] = array(/* Intensity */ '-' => ' riedky ', ' ' => ' stredný ', @@ -184,7 +184,7 @@ function print_pretty_wind($wind) { extract($wind); - + if (! empty($meters_per_second)) { switch ($meters_per_second) { case 1: @@ -213,7 +213,7 @@ break; } } - + /* * Z/ZO grammar handling * zo severu, z juhu, zo zapadu, z vychodu @@ -228,7 +228,7 @@ } } } - + if (isset($var_beg)) { $idx = intval(round($var_beg / 22.5)); if ($idx <= 2 || $idx >= 11) { @@ -236,7 +236,7 @@ str_replace(' z ', ' zo ', $this->strings['wind_varying']); } } - + return parent::print_pretty_wind($wind); } @@ -261,17 +261,17 @@ function parse_cloud_group($cloud_group) { extract($cloud_group); - + if (isset($condition)) { if ($condition == 'CAVOK') { $this->strings['cloud_group_beg'] = str_replace(' boli ', ' neboli ', $this->strings['cloud_group_beg']); } } - + return parent::parse_cloud_group($cloud_group); } - + function parse_runway_group($runway_group) { if (empty($runway_group) || !is_array($runway_group)) { @@ -285,7 +285,7 @@ $this->strings['meters'] = $old_meters; return $ret; } - + function print_pretty_time($time) { $minutes_old = round((time() - $time)/60); @@ -302,10 +302,10 @@ str_replace(' pred ', ' ', $this->strings['time_format']); } } - + return parent::print_pretty_time($time); } - + function print_pretty_weather($weather) { $ret_str = ''; @@ -336,7 +336,7 @@ } elseif ($weather[$k]['precipitation'] == 'RA' // dážď || $weather[$k]['obscuration'] == 'HZ' || $weather[$k]['obscuration'] == 'BR' // hmlový opar - ) { + ) { $k == 0 && $this->strings['currently'] = str_replace(' bolo ', ' bol ', $this->strings['currently']); } elseif ($weather[$k]['obscuration'] == 'FG') { // ... hmlisto This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |