Skip to content

Commit

Permalink
Do not capitalize paasdag/pinksterdag/kerstdag (#128)
Browse files Browse the repository at this point in the history
Dutch holidays are written in lowercase in case of a compound word with reference to that holiday.
  • Loading branch information
c960657 authored and stelgenhof committed Feb 17, 2019
1 parent d617e13 commit 1a88c0b
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Added

### Changed
- Changed Dutch spelling for Easter/Pentecost/Christmas. [\#128](https://github.com/azuyalabs/yasumi/issues/128) ([c960657](https://github.com/c960657))

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions src/Yasumi/data/translations/easter.php
Expand Up @@ -33,8 +33,8 @@
'lt_LT' => 'Velykos',
'lv_LV' => 'Lieldienas',
'nb_NO' => 'Første påskedag',
'nl_BE' => 'Eerste Paasdag',
'nl_NL' => 'Eerste Paasdag',
'nl_BE' => 'Eerste paasdag',
'nl_NL' => 'Eerste paasdag',
'pl_PL' => 'Wielkanoc',
'pt_BR' => 'Páscoa',
'pt_PT' => 'Páscoa',
Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/data/translations/easterMonday.php
Expand Up @@ -38,7 +38,7 @@
'lv_LV' => 'Otrās Lieldienas',
'nb_NO' => 'Andre påskedag',
'nl_BE' => 'Paasmaandag',
'nl_NL' => 'Tweede Paasdag',
'nl_NL' => 'Tweede paasdag',
'pl_PL' => 'Poniedziałek Wielkanocny',
'ro_RO' => 'A doua zi de Paște',
'sk_SK' => 'Veľkonočný pondelok',
Expand Down
4 changes: 2 additions & 2 deletions src/Yasumi/data/translations/pentecost.php
Expand Up @@ -27,8 +27,8 @@
'hu_HU' => 'Pünkösd',
'it_CH' => 'Pentecoste',
'nb_NO' => 'Første pinsedag',
'nl_BE' => 'Eerste Pinksterdag',
'nl_NL' => 'Eerste Pinksterdag',
'nl_BE' => 'Eerste pinksterdag',
'nl_NL' => 'Eerste pinksterdag',
'pl_PL' => 'Zielone Świątki',
'ro_RO' => 'Rusaliile',
'ru_UA' => 'Троица',
Expand Down
2 changes: 1 addition & 1 deletion src/Yasumi/data/translations/pentecostMonday.php
Expand Up @@ -27,6 +27,6 @@
'it_CH' => 'Lunedi di Pentecoste',
'nb_NO' => 'Andre pinsedag',
'nl_BE' => 'Pinkstermaandag',
'nl_NL' => 'Tweede Pinksterdag',
'nl_NL' => 'Tweede pinksterdag',
'ro_RO' => 'A doua zi de Rusalii',
];
4 changes: 2 additions & 2 deletions src/Yasumi/data/translations/secondChristmasDay.php
Expand Up @@ -28,8 +28,8 @@
'lt_LT' => 'Kalėdos (antra diena)',
'lv_LV' => 'Otrie Ziemassvētki',
'nb_NO' => 'Andre juledag',
'nl_BE' => 'Tweede Kerstdag',
'nl_NL' => 'Tweede Kerstdag',
'nl_BE' => 'Tweede kerstdag',
'nl_NL' => 'Tweede kerstdag',
'pl_PL' => 'drugi dzień Bożego Narodzenia',
'ro_RO' => 'A doua zi de Crăciun',
'sk_SK' => 'Druhý sviatok vianočný',
Expand Down
2 changes: 1 addition & 1 deletion tests/Base/TranslationsTest.php
Expand Up @@ -78,7 +78,7 @@ public function testAddMultipleTranslations(): void

$secondLocale = 'nl_NL';
$secondShortName = 'easter';
$secondTranslation = 'Eerste Paasdag';
$secondTranslation = 'Eerste paasdag';

$translations->addTranslation($secondShortName, $secondLocale, $secondTranslation);

Expand Down
2 changes: 1 addition & 1 deletion tests/Belgium/EasterTest.php
Expand Up @@ -53,7 +53,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Eerste Paasdag']
[self::LOCALE => 'Eerste paasdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Belgium/PentecostTest.php
Expand Up @@ -53,7 +53,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Eerste Pinksterdag']
[self::LOCALE => 'Eerste pinksterdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Netherlands/EasterMondayTest.php
Expand Up @@ -53,7 +53,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Tweede Paasdag']
[self::LOCALE => 'Tweede paasdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Netherlands/EasterTest.php
Expand Up @@ -53,7 +53,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Eerste Paasdag']
[self::LOCALE => 'Eerste paasdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Netherlands/PentecostTest.php
Expand Up @@ -53,7 +53,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Eerste Pinksterdag']
[self::LOCALE => 'Eerste pinksterdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Netherlands/pentecostMondayTest.php
Expand Up @@ -53,7 +53,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Tweede Pinksterdag']
[self::LOCALE => 'Tweede pinksterdag']
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Netherlands/secondChristmasdayTest.php
Expand Up @@ -62,7 +62,7 @@ public function testTranslation(): void
self::REGION,
self::HOLIDAY,
$this->generateRandomYear(),
[self::LOCALE => 'Tweede Kerstdag']
[self::LOCALE => 'Tweede kerstdag']
);
}

Expand Down

0 comments on commit 1a88c0b

Please sign in to comment.