Permalink
Browse files

Fixed misspell errors on Date_Holidays_Spain and released a new packa…

…ge version

git-svn-id: http://svn.php.net/repository/pear/packages/Date_Holidays/trunk@323207 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent ae6b3a8 commit 08a1f8bbfb4bd6a241e1c5628aa2a03c154abbc6 Jesús Espino García committed Feb 14, 2012
Showing with 33 additions and 18 deletions.
  1. +14 −14 Date/Holidays/Driver/Spain.php
  2. +19 −4 package_spain.xml
View
28 Date/Holidays/Driver/Spain.php
@@ -65,7 +65,7 @@ function _buildHolidays()
/**
* New Year's Day
*/
- $this->_addHoliday('newYearsDay', $this->_year . '-01-01', 'Año nuevo');
+ $this->_addHoliday('newYearsDay', $this->_year . '-01-01', 'Año Nuevo');
/**
* Epiphanias
@@ -97,13 +97,13 @@ function _buildHolidays()
* Ash Wednesday
*/
$ashWednesday = $this->_addDays($easterDate, -46);
- $this->_addHoliday('ashWednesday', $ashWednesday, 'Miercoles de Ceniza');
+ $this->_addHoliday('ashWednesday', $ashWednesday, 'Miércoles de Ceniza');
/**
* Palm Sunday
*/
$palmSunday = $this->_addDays($easterDate, -7);
- $this->_addHoliday('palmSunday', $palmSunday, 'Domingo de ramos');
+ $this->_addHoliday('palmSunday', $palmSunday, 'Domingo de Ramos');
/**
* Maundy Thursday
@@ -121,25 +121,25 @@ function _buildHolidays()
* Saint Saturday
*/
$goodFriday = $this->_addDays($easterDate, -1);
- $this->_addHoliday('saintSaturday', $goodFriday, 'Sabado Santo');
+ $this->_addHoliday('saintSaturday', $goodFriday, 'Sábado Santo');
/**
* Easter
*/
- $this->_addHoliday('easter', $easterDate, 'Domingo de resurrección');
+ $this->_addHoliday('easter', $easterDate, 'Domingo de Resurrección');
/**
* Fathers Day
*/
- $this->_addHoliday('fathersDay', $this->_year . '-03-19', 'Día del padre');
+ $this->_addHoliday('fathersDay', $this->_year . '-03-19', 'Día del Padre');
/**
* Day of Work
*/
$this->_addHoliday(
'dayOfWork',
$this->_year . '-05-01',
- 'Día del trabajador'
+ 'Día del Trabajador'
);
/**
@@ -150,21 +150,21 @@ function _buildHolidays()
if ($mothersDay->getDay() == 30) {
$mothersDay = $this->_addDays($mothersDay, 7);
}
- $this->_addHoliday('mothersDay', $mothersDay, 'Día de la madre');
+ $this->_addHoliday('mothersDay', $mothersDay, 'Día de la Madre');
/**
* Corpus Christi
*/
$corpusChristi = $this->_addDays($easterDate, 60);
- $this->_addHoliday('corpusChristi', $corpusChristi, 'Corpo de Deus');
+ $this->_addHoliday('corpusChristi', $corpusChristi, 'Corpus Cristi');
/**
* Apostle Santiago
*/
$this->_addHoliday(
'apostleSantiago',
$this->_year . '-07-25',
- 'Santiago apóstol'
+ 'Santiago Apóstol'
);
/**
@@ -182,7 +182,7 @@ function _buildHolidays()
$this->_addHoliday(
'hispanityDay',
$this->_year . '-10-12',
- 'Día de la hispanidad'
+ 'Día de la Hispanidad'
);
/**
@@ -191,7 +191,7 @@ function _buildHolidays()
$this->_addHoliday(
'allSaintsDay',
$this->_year . '-11-01',
- 'Todos los santos'
+ 'Todos los Santos'
);
/**
@@ -209,13 +209,13 @@ function _buildHolidays()
$this->_addHoliday(
'immaculateConceptionDay',
$this->_year . '-12-08',
- 'Inmaculada concepción'
+ 'Inmaculada Concepción'
);
/**
* Christmas Eve
*/
- $this->_addHoliday('christmasEve', $this->_year . '-12-24', 'Noche buena');
+ $this->_addHoliday('christmasEve', $this->_year . '-12-24', 'Noche Buena');
/**
* Christmas day
View
23 package_spain.xml
@@ -16,10 +16,10 @@
<email>jespinog@gmail.com</email>
<active>yes</active>
</lead>
- <date>2011-08-13</date>
- <time>12:17:19</time>
+ <date>2012-02-14</date>
+ <time>10:43:25</time>
<version>
- <release>0.1.2</release>
+ <release>0.1.3</release>
<api>0.1.0</api>
</version>
<stability>
@@ -28,7 +28,7 @@
</stability>
<license uri="http://www.gnu.org/licenses/lgpl.html">LGPL</license>
<notes>
- * Change of license from PHP License to LGPL (Doc Bug #18232).
+ * Fixed misspells errors.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
@@ -92,5 +92,20 @@
* Added a test.
</notes>
</release>
+ <release>
+ <version>
+ <release>0.1.2</release>
+ <api>0.1.0</api>
+ </version>
+ <stability>
+ <release>alpha</release>
+ <api>alpha</api>
+ </stability>
+ <date>2011-08-13</date>
+ <license uri="http://www.gnu.org/licenses/lgpl.html">LGPL</license>
+ <notes>
+ * Change of license from PHP License to LGPL (Doc Bug #18232).
+ </notes>
+ </release>
</changelog>
</package>

0 comments on commit 08a1f8b

Please sign in to comment.