From 554590f8cbf89e9e88251e5586120c90314697df Mon Sep 17 00:00:00 2001 From: Arkadii Yakovets Date: Tue, 24 Sep 2024 14:17:59 -0700 Subject: [PATCH 1/3] =?UTF-8?q?Update=20apostrophes:=20change=20`=E2=80=99?= =?UTF-8?q?`=20to=20`'`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/conf.py | 6 +++--- holidays/countries/china.py | 2 +- holidays/countries/south_korea.py | 8 ++++---- holidays/locale/en_US/LC_MESSAGES/CN.po | 2 +- holidays/locale/th/LC_MESSAGES/CN.po | 2 +- holidays/locale/zh_CN/LC_MESSAGES/CN.po | 2 +- holidays/locale/zh_TW/LC_MESSAGES/CN.po | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index bd5c20013..17eb20c14 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -79,7 +79,7 @@ # templates_path = ['_templates'] # The name of the Pygments (syntax highlighting) style to use. -# If not set, either the theme’s default style or 'sphinx' is selected for HTML +# If not set, either the theme's default style or 'sphinx' is selected for HTML # output. # pygments_style = "sphinx" @@ -112,7 +112,7 @@ # html_style = "css/custom.css" -# The “title” for HTML documentation generated with Sphinx’s own templates. +# The “title” for HTML documentation generated with Sphinx's own templates. # # html_title = ' v documentation' # default @@ -128,7 +128,7 @@ # # html_favicon = None # default -# A ‘Last updated on:’ timestamp is inserted at every page bottom, using the +# A ‘Last updated on:' timestamp is inserted at every page bottom, using the # given strftime() format. The empty # string is equivalent to '%b %d, %Y' # (or a locale-dependent equivalent). # diff --git a/holidays/countries/china.py b/holidays/countries/china.py index 4a8c0b1b0..5ddc8b7cd 100644 --- a/holidays/countries/china.py +++ b/holidays/countries/china.py @@ -220,7 +220,7 @@ class ChinaStaticHolidays: # Mid-Autumn Festival. mid_autumn_festival = tr("中秋节") - # 70th Anniversary of the Victory of the Chinese People’s War of Resistance against + # 70th Anniversary of the Victory of the Chinese People's War of Resistance against # Japanese Aggression and the World Anti-Fascist War. victory_70_anniversary = tr("中国人民抗日战争暨世界反法西斯战争胜利70周年纪念日") diff --git a/holidays/countries/south_korea.py b/holidays/countries/south_korea.py index 06bb979be..61d88933b 100644 --- a/holidays/countries/south_korea.py +++ b/holidays/countries/south_korea.py @@ -429,20 +429,20 @@ class SouthKoreaStaticHolidays: # Provincial-level Local Elections. (AUG, 13, local_election_day), ), - # President Syngman Rhee’s Birthday. + # President Syngman Rhee's Birthday. 1957: (MAR, 26, syngman_rhee_birthday), 1958: ( # 4th National Assembly Election. (MAY, 2, national_assembly_election_day), - # President Syngman Rhee’s Birthday. + # President Syngman Rhee's Birthday. (MAR, 26, syngman_rhee_birthday), ), - # President Syngman Rhee’s Birthday. + # President Syngman Rhee's Birthday. 1959: (MAR, 26, syngman_rhee_birthday), 1960: ( # Sabang Day. (MAR, 16, tr("사방의 날")), - # President Syngman Rhee’s Birthday. + # President Syngman Rhee's Birthday. (MAR, 26, syngman_rhee_birthday), # 4th Presidential Election/5th Vice President Election. (MAR, 15, presidential_election_day), diff --git a/holidays/locale/en_US/LC_MESSAGES/CN.po b/holidays/locale/en_US/LC_MESSAGES/CN.po index 575633d57..a9c3a4f83 100644 --- a/holidays/locale/en_US/LC_MESSAGES/CN.po +++ b/holidays/locale/en_US/LC_MESSAGES/CN.po @@ -89,7 +89,7 @@ msgstr "%m/%d/%Y" msgid "休息日(%s日起取代)" msgstr "Day off (substituted from %s)" -#. 70th Anniversary of the Victory of the Chinese People’s War of Resistance +#. 70th Anniversary of the Victory of the Chinese People's War of Resistance #. against Japanese #. Aggression and the World Anti-Fascist War. msgid "中国人民抗日战争暨世界反法西斯战争胜利70周年纪念日" diff --git a/holidays/locale/th/LC_MESSAGES/CN.po b/holidays/locale/th/LC_MESSAGES/CN.po index 154cd686b..67b26469f 100644 --- a/holidays/locale/th/LC_MESSAGES/CN.po +++ b/holidays/locale/th/LC_MESSAGES/CN.po @@ -89,7 +89,7 @@ msgstr "%d/%m/%Y" msgid "休息日(%s日起取代)" msgstr "วันหยุด (แทน %s)" -#. 70th Anniversary of the Victory of the Chinese People’s War of Resistance +#. 70th Anniversary of the Victory of the Chinese People's War of Resistance #. against Japanese #. Aggression and the World Anti-Fascist War. msgid "中国人民抗日战争暨世界反法西斯战争胜利70周年纪念日" diff --git a/holidays/locale/zh_CN/LC_MESSAGES/CN.po b/holidays/locale/zh_CN/LC_MESSAGES/CN.po index b7ad41067..bf569a309 100644 --- a/holidays/locale/zh_CN/LC_MESSAGES/CN.po +++ b/holidays/locale/zh_CN/LC_MESSAGES/CN.po @@ -89,7 +89,7 @@ msgstr "" msgid "休息日(%s日起取代)" msgstr "" -#. 70th Anniversary of the Victory of the Chinese People’s War of Resistance +#. 70th Anniversary of the Victory of the Chinese People's War of Resistance #. against Japanese #. Aggression and the World Anti-Fascist War. msgid "中国人民抗日战争暨世界反法西斯战争胜利70周年纪念日" diff --git a/holidays/locale/zh_TW/LC_MESSAGES/CN.po b/holidays/locale/zh_TW/LC_MESSAGES/CN.po index 508d78388..aaf0b9307 100644 --- a/holidays/locale/zh_TW/LC_MESSAGES/CN.po +++ b/holidays/locale/zh_TW/LC_MESSAGES/CN.po @@ -89,7 +89,7 @@ msgstr "%Y-%m-%d" msgid "休息日(%s日起取代)" msgstr "休息日(%s日起取代)" -#. 70th Anniversary of the Victory of the Chinese People’s War of Resistance +#. 70th Anniversary of the Victory of the Chinese People's War of Resistance #. against Japanese #. Aggression and the World Anti-Fascist War. msgid "中国人民抗日战争暨世界反法西斯战争胜利70周年纪念日" From dd67ff69d46f5a31c36c000d21f6399da3a5a3fb Mon Sep 17 00:00:00 2001 From: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com> Date: Wed, 25 Sep 2024 08:01:38 -0700 Subject: [PATCH 2/3] Update docs/source/conf.py Co-authored-by: ~Jhellico --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 17eb20c14..63a9c0bce 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -128,7 +128,7 @@ # # html_favicon = None # default -# A ‘Last updated on:' timestamp is inserted at every page bottom, using the +# A 'Last updated on:' timestamp is inserted at every page bottom, using the # given strftime() format. The empty # string is equivalent to '%b %d, %Y' # (or a locale-dependent equivalent). # From 5e4ab7477de77f142e717d0fc520f286662374b0 Mon Sep 17 00:00:00 2001 From: Arkadii Yakovets Date: Wed, 25 Sep 2024 08:16:32 -0700 Subject: [PATCH 3/3] Add another case --- holidays/locale/en_US/LC_MESSAGES/CN.po | 2 +- snapshots/countries/CN_COMMON.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/holidays/locale/en_US/LC_MESSAGES/CN.po b/holidays/locale/en_US/LC_MESSAGES/CN.po index a9c3a4f83..a3a5c6bc1 100644 --- a/holidays/locale/en_US/LC_MESSAGES/CN.po +++ b/holidays/locale/en_US/LC_MESSAGES/CN.po @@ -94,7 +94,7 @@ msgstr "Day off (substituted from %s)" #. Aggression and the World Anti-Fascist War. msgid "中国人民抗日战争暨世界反法西斯战争胜利70周年纪念日" msgstr "" -"70th Anniversary of the Victory of the Chinese People’s War of Resistance " +"70th Anniversary of the Victory of the Chinese People's War of Resistance " "against Japanese Aggression and the World Anti-Fascist War" #. Chinese New Year (Spring Festival) Extended Holiday. diff --git a/snapshots/countries/CN_COMMON.json b/snapshots/countries/CN_COMMON.json index ccaa2c53f..17b549996 100644 --- a/snapshots/countries/CN_COMMON.json +++ b/snapshots/countries/CN_COMMON.json @@ -918,7 +918,7 @@ "2015-06-20": "Dragon Boat Festival", "2015-06-22": "Dragon Boat Festival (observed)", "2015-08-01": "Army Day", - "2015-09-03": "70th Anniversary of the Victory of the Chinese People\u2019s War of Resistance against Japanese Aggression and the World Anti-Fascist War", + "2015-09-03": "70th Anniversary of the Victory of the Chinese People's War of Resistance against Japanese Aggression and the World Anti-Fascist War", "2015-09-04": "Day off (substituted from 09/06/2015)", "2015-09-27": "Mid-Autumn Festival", "2015-10-01": "National Day",