Update of /cvsroot/phpweather/phpweather/output
In directory usw-pr-cvs1:/tmp/cvs-serv22753
Modified Files:
pw_text_da.php pw_text_en.php pw_text_hu.php pw_text_no.php
Log Message:
Made the second argument optional with these constructors as well.
Index: pw_text_da.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text_da.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- pw_text_da.php 16 May 2002 19:44:20 -0000 1.5
+++ pw_text_da.php 16 May 2002 20:02:35 -0000 1.6
@@ -15,7 +15,7 @@
*
* @param array This is just passed on to locale_common()
*/
- function pw_text_da($weather, $input) {
+ function pw_text_da($weather, $input = array()) {
$this->strings['charset'] = 'ISO-8859-1';
$this->strings['no_data'] = 'Desværre! Der er ingen data for %s%s%s.';
$this->strings['list_sentences_and'] = ' og ';
Index: pw_text_en.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text_en.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- pw_text_en.php 16 May 2002 19:44:20 -0000 1.5
+++ pw_text_en.php 16 May 2002 20:02:35 -0000 1.6
@@ -17,7 +17,7 @@
*
* @param array This is just passed on to locale_common()
*/
- function pw_text_en($weather, $input) {
+ function pw_text_en($weather, $input = array()) {
$this->strings['charset'] = 'ISO-8859-1';
$this->strings['no_data'] = 'Sorry! There\'s no data available for %s%s%s.';
$this->strings['list_sentences_and'] = ' and ';
@@ -120,9 +120,9 @@
$this->strings['weather'] =
array(
'-' => ' light',
- ' ' => 'moderate ',
- '+' => 'heavy ',
- 'VC' => ' in the vicinity',
+ ' ' => '- moderate -',
+ '+' => ' heavy ',
+ 'VC' => ' in the vicinity',
'PR' => ' partial',
'BC' => ' patches of',
'MI' => ' shallow',
Index: pw_text_hu.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text_hu.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- pw_text_hu.php 16 May 2002 19:52:12 -0000 1.10
+++ pw_text_hu.php 16 May 2002 20:02:35 -0000 1.11
@@ -20,7 +20,7 @@
* @param array This is just passed on to locale_common()
* Ezt a paramétert átadjuk locale_common() -nak.
*/
- function pw_text_hu($weather, $input) {
+ function pw_text_hu($weather, $input = array()) {
$this->strings['charset'] = 'ISO-8859-2';
$this->strings['no_data'] = 'Sajnos nincs adat %s%s%s számára.';
$this->strings['list_sentences_and'] = ' és ';
Index: pw_text_no.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text_no.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- pw_text_no.php 16 May 2002 19:44:21 -0000 1.5
+++ pw_text_no.php 16 May 2002 20:02:35 -0000 1.6
@@ -16,7 +16,7 @@
*
* @param array This is just passed on to locale_common()
*/
- function pw_text_no($weather, $input) {
+ function pw_text_no($weather, $input = array()) {
$this->strings['charset'] = 'ISO-8859-1';
$this->strings['no_data'] = 'Beklager! Det var ingen ingen data tilgjengelig for %s%s%s.';
$this->strings['list_sentences_and'] = ' og ';
|