diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ed5460dc..41f58d48c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Yasumi/Provider/Denmark.php b/src/Yasumi/Provider/Denmark.php index 5bcc6c49b..dfe0082bf 100644 --- a/src/Yasumi/Provider/Denmark.php +++ b/src/Yasumi/Provider/Denmark.php @@ -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 )); diff --git a/src/Yasumi/data/translations/ascensionDay.php b/src/Yasumi/data/translations/ascensionDay.php index 6f2418825..b925c8878 100644 --- a/src/Yasumi/data/translations/ascensionDay.php +++ b/src/Yasumi/data/translations/ascensionDay.php @@ -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', diff --git a/src/Yasumi/data/translations/christmasDay.php b/src/Yasumi/data/translations/christmasDay.php index 313def516..b3bdca88e 100755 --- a/src/Yasumi/data/translations/christmasDay.php +++ b/src/Yasumi/data/translations/christmasDay.php @@ -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', diff --git a/src/Yasumi/data/translations/easterMonday.php b/src/Yasumi/data/translations/easterMonday.php index 25484c3d3..904e773a2 100644 --- a/src/Yasumi/data/translations/easterMonday.php +++ b/src/Yasumi/data/translations/easterMonday.php @@ -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', diff --git a/src/Yasumi/data/translations/pentecostMonday.php b/src/Yasumi/data/translations/pentecostMonday.php index f64d81def..0cbd9d469 100755 --- a/src/Yasumi/data/translations/pentecostMonday.php +++ b/src/Yasumi/data/translations/pentecostMonday.php @@ -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', diff --git a/tests/Denmark/AscensionDayTest.php b/tests/Denmark/AscensionDayTest.php index a54fa972b..6e5d4e530 100644 --- a/tests/Denmark/AscensionDayTest.php +++ b/tests/Denmark/AscensionDayTest.php @@ -50,7 +50,7 @@ public function testTranslation() self::REGION, self::HOLIDAY, $this->generateRandomYear(), - [self::LOCALE => 'Kristi Himmelfartsdag'] + [self::LOCALE => 'Kristi himmelfartsdag'] ); } diff --git a/tests/Denmark/ChristmasDayTest.php b/tests/Denmark/ChristmasDayTest.php index 1f1456652..b4b88263a 100644 --- a/tests/Denmark/ChristmasDayTest.php +++ b/tests/Denmark/ChristmasDayTest.php @@ -58,7 +58,7 @@ public function testTranslation() self::REGION, self::HOLIDAY, $this->generateRandomYear(), - [self::LOCALE => '1. Juledag'] + [self::LOCALE => 'Juledag'] ); } diff --git a/tests/Denmark/EasterMondayTest.php b/tests/Denmark/EasterMondayTest.php index d91565509..66279e375 100644 --- a/tests/Denmark/EasterMondayTest.php +++ b/tests/Denmark/EasterMondayTest.php @@ -50,7 +50,7 @@ public function testTranslation() self::REGION, self::HOLIDAY, $this->generateRandomYear(), - [self::LOCALE => '2. Påskedag'] + [self::LOCALE => '2. påskedag'] ); } diff --git a/tests/Denmark/GreatPrayerDayTest.php b/tests/Denmark/GreatPrayerDayTest.php index c700bb56d..659b1f329 100644 --- a/tests/Denmark/GreatPrayerDayTest.php +++ b/tests/Denmark/GreatPrayerDayTest.php @@ -67,7 +67,7 @@ public function testTranslation() self::REGION, self::HOLIDAY, $this->generateRandomYear(self::ESTABLISHMENT_YEAR), - [self::LOCALE => 'Store Bededag'] + [self::LOCALE => 'Store bededag'] ); } diff --git a/tests/Denmark/PentecostMondayTest.php b/tests/Denmark/PentecostMondayTest.php index 55376e049..04b4ea691 100644 --- a/tests/Denmark/PentecostMondayTest.php +++ b/tests/Denmark/PentecostMondayTest.php @@ -50,7 +50,7 @@ public function testTranslation() self::REGION, self::HOLIDAY, $this->generateRandomYear(), - [self::LOCALE => '2. Pinsedag'] + [self::LOCALE => '2. pinsedag'] ); }