Skip to content

Commit

Permalink
Update Germany holidays: add Liberation from Nazi Regime Day 2025 in …
Browse files Browse the repository at this point in the history
…Berlin (#2052)

Co-authored-by: Konstantin <[email protected]>
Co-authored-by: PPsyrius <[email protected]>
  • Loading branch information
3 people authored Oct 17, 2024
1 parent ed048eb commit b0a7ecb
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 14 deletions.
10 changes: 10 additions & 0 deletions holidays/countries/germany.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,14 @@ class GermanyStaticHolidays:
"und der Beendigung des Zweiten Weltkriegs in Europa"
),
),
2025: (
MAY,
8,
# 80th anniversary of the liberation from Nazism and
# the end of the Second World War in Europe.
tr(
"80. Jahrestag der Befreiung vom Nationalsozialismus "
"und der Beendigung des Zweiten Weltkriegs in Europa"
),
),
}
15 changes: 11 additions & 4 deletions holidays/locale/de/LC_MESSAGES/DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
# Germany holidays.
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.23\n"
"Project-Id-Version: Holidays 0.59\n"
"POT-Creation-Date: 2023-04-04 16:13+0300\n"
"PO-Revision-Date: 2023-04-09 18:41+0300\n"
"Last-Translator: ~Jhellico <[email protected]>\n"
"PO-Revision-Date: 2024-10-17 11:43+0700\n"
"Last-Translator: PPsyrius <[email protected]>\n"
"Language-Team: Holidays localization team\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.2.2\n"
"X-Generator: Poedit 3.5\n"

#. New Year's Day.
msgid "Neujahr"
Expand Down Expand Up @@ -89,6 +89,13 @@ msgid ""
"Zweiten Weltkriegs in Europa"
msgstr ""

#. 80th anniversary of the liberation from Nazism and the end of the Second
#. World War in Europe.
msgid ""
"80. Jahrestag der Befreiung vom Nationalsozialismus und der Beendigung des "
"Zweiten Weltkriegs in Europa"
msgstr ""

#. Epiphany.
msgid "Heilige Drei Könige"
msgstr ""
Expand Down
17 changes: 13 additions & 4 deletions holidays/locale/en_US/LC_MESSAGES/DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.23\n"
"Project-Id-Version: Holidays 0.59\n"
"POT-Creation-Date: 2023-04-04 16:13+0300\n"
"PO-Revision-Date: 2023-04-09 18:42+0300\n"
"Last-Translator: ~Jhellico <[email protected]>\n"
"PO-Revision-Date: 2024-10-17 11:43+0700\n"
"Last-Translator: PPsyrius <[email protected]>\n"
"Language-Team: Holidays localization team\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.2.2\n"
"X-Generator: Poedit 3.5\n"

#. New Year's Day.
msgid "Neujahr"
Expand Down Expand Up @@ -92,6 +92,15 @@ msgstr ""
"75th anniversary of the liberation from Nazism and the end of the Second "
"World War in Europe"

#. 80th anniversary of the liberation from Nazism and the end of the Second
#. World War in Europe.
msgid ""
"80. Jahrestag der Befreiung vom Nationalsozialismus und der Beendigung des "
"Zweiten Weltkriegs in Europa"
msgstr ""
"80th anniversary of the liberation from Nazism and the end of the Second "
"World War in Europe"

#. Epiphany.
msgid "Heilige Drei Könige"
msgstr "Epiphany"
Expand Down
13 changes: 11 additions & 2 deletions holidays/locale/th/LC_MESSAGES/DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.57\n"
"Project-Id-Version: Holidays 0.59\n"
"POT-Creation-Date: 2024-09-05 23:21+0700\n"
"PO-Revision-Date: 2024-09-05 23:23+0700\n"
"PO-Revision-Date: 2024-10-17 11:44+0700\n"
"Last-Translator: PPsyrius <[email protected]>\n"
"Language-Team: Holidays Localization Team\n"
"Language: th\n"
Expand Down Expand Up @@ -92,6 +92,15 @@ msgstr ""
"วันครบรอบ 75 "
"ปีของการปลดปล่อยจากระบอบชาติสังคมนิยมและการสิ้นสุดสงครามโลกครั้งที่สองในยุโรป"

#. 80th anniversary of the liberation from Nazism and the end of the Second
#. World War in Europe.
msgid ""
"80. Jahrestag der Befreiung vom Nationalsozialismus und der Beendigung des "
"Zweiten Weltkriegs in Europa"
msgstr ""
"วันครบรอบ 80 "
"ปีของการปลดปล่อยจากระบอบชาติสังคมนิยมและการสิ้นสุดสงครามโลกครั้งที่สองในยุโรป"

#. Epiphany.
msgid "Heilige Drei Könige"
msgstr "วันสมโภชพระคริสต์แสดงองค์"
Expand Down
17 changes: 13 additions & 4 deletions holidays/locale/uk/LC_MESSAGES/DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Holidays 0.23\n"
"Project-Id-Version: Holidays 0.59\n"
"POT-Creation-Date: 2023-04-04 16:13+0300\n"
"PO-Revision-Date: 2023-04-09 18:42+0300\n"
"Last-Translator: ~Jhellico <[email protected]>\n"
"PO-Revision-Date: 2024-10-17 11:44+0700\n"
"Last-Translator: PPsyrius <[email protected]>\n"
"Language-Team: Holidays localization team\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.2.2\n"
"X-Generator: Poedit 3.5\n"

#. New Year's Day.
msgid "Neujahr"
Expand Down Expand Up @@ -92,6 +92,15 @@ msgstr ""
"75-та річниця визволення від націонал-соціалізму та завершення Другої "
"світової війни в Європі"

#. 80th anniversary of the liberation from Nazism and the end of the Second
#. World War in Europe.
msgid ""
"80. Jahrestag der Befreiung vom Nationalsozialismus und der Beendigung des "
"Zweiten Weltkriegs in Europa"
msgstr ""
"80-та річниця визволення від націонал-соціалізму та завершення Другої "
"світової війни в Європі"

#. Epiphany.
msgid "Heilige Drei Könige"
msgstr "Богоявлення"
Expand Down
1 change: 1 addition & 0 deletions snapshots/countries/DE_BE.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@
"2025-04-18": "Good Friday",
"2025-04-21": "Easter Monday",
"2025-05-01": "Labor Day",
"2025-05-08": "80th anniversary of the liberation from Nazism and the end of the Second World War in Europe",
"2025-05-29": "Ascension Day",
"2025-06-09": "Whit Monday",
"2025-10-03": "German Unity Day",
Expand Down
9 changes: 9 additions & 0 deletions tests/countries/test_germany.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,15 @@ def test_75_jahrestag_beendigung_zweiter_weltkrieg(self):
for subdiv in subdivs_that_dont:
self.assertNoHoliday(self.subdiv_holidays[subdiv], "2020-05-08")

def test_80_jahrestag_beendigung_zweiter_weltkrieg(self):
subdivs_that_have = {"BE"}
subdivs_that_dont = set(DE.subdivisions) - subdivs_that_have

for subdiv in subdivs_that_have:
self.assertHoliday(self.subdiv_holidays[subdiv], "2025-05-08")
for subdiv in subdivs_that_dont:
self.assertNoHoliday(self.subdiv_holidays[subdiv], "2025-05-08")

def test_christi_himmelfahrt(self):
known_good = (
"2014-05-29",
Expand Down

0 comments on commit b0a7ecb

Please sign in to comment.