Update of /cvsroot/phpweather/phpweather/locales
In directory usw-pr-cvs1:/tmp/cvs-serv5670
Modified Files:
locale_common.php locale_en.php
Log Message:
El Limite <[EMAIL PROTECTED]> made me aware of a couple of errors
with regard to the visibility information.
Index: locale_common.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/locales/locale_common.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- locale_common.php 2001/07/14 21:51:47 1.14
+++ locale_common.php 2001/08/02 19:52:31 1.15
@@ -599,8 +599,10 @@
$this->properties['mark_end'] . $me_unit,
$this->properties['mark_begin'] . $imperial .
$this->properties['mark_end'] . $im_unit) .
- $this->strings['to'] . $this->properties['mark_begin'] .
- $this->strings[$dir] . $this->properties['mark_end'];
+ $this->strings['visibility_to'] .
+ $this->properties['mark_begin'] .
+ $this->strings['wind_dir_short_long'][$dir] .
+ $this->properties['mark_end'];
}
return $output;
}
Index: locale_en.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/locales/locale_en.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- locale_en.php 2001/07/14 21:52:39 1.9
+++ locale_en.php 2001/08/02 19:52:31 1.10
@@ -9,9 +9,11 @@
require(PHPWEATHER_BASE_DIR . '/locales/locale_common.php');
/**
- * Provides all the strings needed by locale_common to produce English output.
+ * Provides all the strings needed by locale_common to produce English
+ * output.
*
* @author Martin Geisler <[EMAIL PROTECTED]>
+ * @link http://www.gimpster.com/ My homepage.
* @version $Id$
*/
class locale_en extends locale_common {
@@ -158,6 +160,7 @@
$this->strings['visibility'] = 'The overall visibility was ';
$this->strings['visibility_greater_than'] = 'greater than ';
$this->strings['visibility_less_than'] = 'less than ';
+ $this->strings['visibility_to'] = ' to the ';
$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';
_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins