From 52673229058feb6afed85797c371a1632f0533bf Mon Sep 17 00:00:00 2001 From: Alberto Spelta Date: Wed, 24 Jul 2024 14:29:20 +0000 Subject: [PATCH] Translate holiday names to Danish in HolidaysDefinition (#794) * Translate holiday names to Danish in HolidaysDefinition * Fix Danish holiday names based on feedback https://github.com/sql-bi/Bravo/issues/793#issuecomment-2241780291 * 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 https://github.com/sql-bi/Bravo/issues/793#issuecomment-2241780291 --- .../Templates/HolidaysDefinition.json | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/Assets/ManageDates/Templates/HolidaysDefinition.json b/src/Assets/ManageDates/Templates/HolidaysDefinition.json index 7dafe1c0..d8a18b31 100644 --- a/src/Assets/ManageDates/Templates/HolidaysDefinition.json +++ b/src/Assets/ManageDates/Templates/HolidaysDefinition.json @@ -1587,7 +1587,6 @@ "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, - { "IsoCountry": "DK", "MonthNumber": 1, @@ -1595,7 +1594,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "New Year's Day", + "HolidayName": "Nytårsdag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 100 }, @@ -1606,7 +1605,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Maundy Thursday", + "HolidayName": "Skærtorsdag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -1617,7 +1616,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Good Friday", + "HolidayName": "Langfredag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -1628,7 +1627,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Easter Monday", + "HolidayName": "Anden påskedag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -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", @@ -1650,7 +1650,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Ascension Day", + "HolidayName": "Kristi himmelfartsdag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -1661,7 +1661,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Whit Monday", + "HolidayName": "Anden pinsedag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -1672,7 +1672,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Labour Day", + "HolidayName": "Arbejdernes kampdag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 100 }, @@ -1683,7 +1683,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Constitution Day", + "HolidayName": "Grundlovsdag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -1694,7 +1694,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Christmas Eve", + "HolidayName": "Juleaftensdag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 50 }, @@ -1705,7 +1705,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Christmas Day", + "HolidayName": "Juledag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 100 }, @@ -1716,7 +1716,7 @@ "WeekDayNumber": 0, "OffsetWeek": 0, "OffsetDays": 0, - "HolidayName": "Second Day of Christmas", + "HolidayName": "Anden juledag", "SubstituteHoliday": "NoSubstituteHoliday", "ConflictPriority": 100 }, @@ -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,