Skip to content

Commit

Permalink
Merge pull request azuyalabs#45 from AngelinCalu/patch-1
Browse files Browse the repository at this point in the history
Added en_US translations for the Polish Independence Day and Constitution Day.
  • Loading branch information
stelgenhof authored Dec 14, 2016
2 parents 7646d9d + 01eed3a commit 0e8aa47
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Yasumi/Provider/Poland.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ public function calculateIndependenceDay()
return;
}

$this->addHoliday(new Holiday('independenceDay', ['pl_PL' => 'Narodowe Święto Niepodległości'],
new DateTime("$this->year-11-11", new DateTimeZone($this->timezone)), $this->locale));
$this->addHoliday(new Holiday('independenceDay', [
'en_US' => 'Independence Day',
'pl_PL' => 'Narodowe Święto Niepodległości'
], new DateTime("$this->year-11-11", new DateTimeZone($this->timezone)), $this->locale));
}

/*
Expand All @@ -94,7 +96,9 @@ public function calculateConstitutionDay()
return;
}

$this->addHoliday(new Holiday('constitutionDay', ['pl_PL' => 'Święto Narodowe Trzeciego Maja'],
new DateTime("$this->year-5-3", new DateTimeZone($this->timezone)), $this->locale));
$this->addHoliday(new Holiday('constitutionDay', [
'en_US' => 'Constitution Day',
'pl_PL' => 'Święto Narodowe Trzeciego Maja'
], new DateTime("$this->year-5-3", new DateTimeZone($this->timezone)), $this->locale));
}
}

0 comments on commit 0e8aa47

Please sign in to comment.