Skip to content

Commit

Permalink
Translate holiday names to Danish in HolidaysDefinition (#794)
Browse files Browse the repository at this point in the history
* Translate holiday names to Danish in HolidaysDefinition

* Fix Danish holiday names based on feedback #793 (comment)

* Add LastYear: 2023 for DK/Store bededag

Store Bededag was a recognized holiday in Denmark until 2023. Starting in 2024, it has been abolished by the Danish government but remains an official holiday in Greenland and the Faroe Islands. See #793 (comment)
  • Loading branch information
albertospelta authored Jul 24, 2024
1 parent 31d6762 commit 5267322
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/Assets/ManageDates/Templates/HolidaysDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -1587,15 +1587,14 @@
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},

{
"IsoCountry": "DK",
"MonthNumber": 1,
"DayNumber": 1,
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "New Year's Day",
"HolidayName": "Nytårsdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 100
},
Expand All @@ -1606,7 +1605,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Maundy Thursday",
"HolidayName": "Skærtorsdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1617,7 +1616,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Good Friday",
"HolidayName": "Langfredag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1628,7 +1627,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Easter Monday",
"HolidayName": "Anden påskedag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1639,9 +1638,10 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Prayer Day",
"HolidayName": "Store bededag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
"ConflictPriority": 50,
"LastYear": 2023
},
{
"IsoCountry": "DK",
Expand All @@ -1650,7 +1650,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Ascension Day",
"HolidayName": "Kristi himmelfartsdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1661,7 +1661,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Whit Monday",
"HolidayName": "Anden pinsedag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1672,7 +1672,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Labour Day",
"HolidayName": "Arbejdernes kampdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 100
},
Expand All @@ -1683,7 +1683,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Constitution Day",
"HolidayName": "Grundlovsdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1694,7 +1694,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Christmas Eve",
"HolidayName": "Juleaftensdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 50
},
Expand All @@ -1705,7 +1705,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Christmas Day",
"HolidayName": "Juledag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 100
},
Expand All @@ -1716,7 +1716,7 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "Second Day of Christmas",
"HolidayName": "Anden juledag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 100
},
Expand All @@ -1727,11 +1727,10 @@
"WeekDayNumber": 0,
"OffsetWeek": 0,
"OffsetDays": 0,
"HolidayName": "New Year's Eve",
"HolidayName": "Nytårsaftensdag",
"SubstituteHoliday": "NoSubstituteHoliday",
"ConflictPriority": 100
},

{
"IsoCountry": "BR",
"MonthNumber": 1,
Expand Down

0 comments on commit 5267322

Please sign in to comment.