diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d370afe9..8d21d6aa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed - Fixed spelling issue in the Swedish translation. [\#97](https://github.com/azuyalabs/yasumi/pull/97) +- Fixed spelling issues in the Danish translation. [\#96](https://github.com/azuyalabs/yasumi/pull/96) ### Removed diff --git a/src/Yasumi/Provider/Denmark.php b/src/Yasumi/Provider/Denmark.php index 84b1f7292..ea7997628 100644 --- a/src/Yasumi/Provider/Denmark.php +++ b/src/Yasumi/Provider/Denmark.php @@ -83,7 +83,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 3baf5b872..71b06b8e8 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 be32f35a7..cc20fef29 100755 --- a/src/Yasumi/data/translations/christmasDay.php +++ b/src/Yasumi/data/translations/christmasDay.php @@ -15,7 +15,7 @@ 'bs_Latn_BA' => 'Božić', '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 08a2aaa83..c3c67809c 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'] ); }