Skip to content

Commit

Permalink
Spelling fixes for da_DK
Browse files Browse the repository at this point in the history
  • Loading branch information
c960657 committed Mar 4, 2018
1 parent 115a3cc commit 6910521
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Added

### Changed
- Fixed spelling issues in the Danish translation. [\#96](https://github.com/azuyalabs/yasumi/pull/96)

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/Provider/Denmark.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function calculateGreatPrayerDay()
if ($this->year >= 1686) {
$this->addHoliday(new Holiday(
'greatPrayerDay',
['da_DK' => 'Store Bededag'],
['da_DK' => 'Store bededag'],
new DateTime("fourth friday $easter", new DateTimeZone($this->timezone)),
$this->locale
));
Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/data/translations/ascensionDay.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// Translations for Ascension Day
return [
'da_DK' => 'Kristi Himmelfartsdag',
'da_DK' => 'Kristi himmelfartsdag',
'de_AT' => 'Christi Himmelfahrt',
'de_CH' => 'Auffahrt',
'de_DE' => 'Christi Himmelfahrt',
Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/data/translations/christmasDay.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return [
'cs_CZ' => '1. svátek vánoční',
'cy_GB' => 'Nadolig',
'da_DK' => '1. Juledag',
'da_DK' => 'Juledag',
'de_AT' => 'Christtag',
'de_CH' => 'Weihnachtstag',
'de_DE' => '1. Weihnachtsfeiertag',
Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/data/translations/easterMonday.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return [
'cs_CZ' => 'Velikonoční pondělí',
'cy_GB' => 'Llun y Pasg',
'da_DK' => '2. Påskedag',
'da_DK' => '2. påskedag',
'de_AT' => 'Ostermontag',
'de_CH' => 'Ostermontag',
'de_DE' => 'Ostermontag',
Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/data/translations/pentecostMonday.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// Translations for Whitmonday
return [
'da_DK' => '2. Pinsedag',
'da_DK' => '2. pinsedag',
'de_AT' => 'Pfingstmontag',
'de_CH' => 'Pfingstmontag',
'de_DE' => 'Pfingstmontag',
Expand Down
2 changes: 1 addition & 1 deletion tests/Denmark/AscensionDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testTranslation()
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Kristi Himmelfartsdag']
[self::LOCALE => 'Kristi himmelfartsdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Denmark/ChristmasDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function testTranslation()
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => '1. Juledag']
[self::LOCALE => 'Juledag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Denmark/EasterMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testTranslation()
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => '2. Påskedag']
[self::LOCALE => '2. påskedag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Denmark/GreatPrayerDayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testTranslation()
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(self::ESTABLISHMENT_YEAR),
[self::LOCALE => 'Store Bededag']
[self::LOCALE => 'Store bededag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Denmark/PentecostMondayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testTranslation()
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => '2. Pinsedag']
[self::LOCALE => '2. pinsedag']
);
}

Expand Down

0 comments on commit 6910521

Please sign in to comment.