Skip to content

Commit

Permalink
fix(HK): i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
commenthol committed Jun 19, 2021
1 parent d4aff80 commit 7dff646
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 28 deletions.
3 changes: 1 addition & 2 deletions data/countries/HK.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,4 @@ holidays:
substitute: true
name:
en: The first weekday after Christmas Day


zh: 圣诞节后的第一个工作日
1 change: 1 addition & 0 deletions data/names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1040,3 +1040,4 @@ names:
sr: замена дан
uk: замінити день
vi: ngày thay thế
zh: 更换日
2 changes: 1 addition & 1 deletion test/fixtures/HK-2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"date": "2015-12-26 00:00:00",
"start": "2015-12-25T16:00:00.000Z",
"end": "2015-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Sat"
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/HK-2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"date": "2016-05-02 00:00:00",
"start": "2016-05-01T16:00:00.000Z",
"end": "2016-05-02T16:00:00.000Z",
"name": "劳动节 (substitute day)",
"name": "劳动节 (更换日)",
"type": "public",
"substitute": true,
"rule": "05-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -157,7 +157,7 @@
"date": "2016-10-10 00:00:00",
"start": "2016-10-09T16:00:00.000Z",
"end": "2016-10-10T16:00:00.000Z",
"name": "重阳节 (substitute day)",
"name": "重阳节 (更换日)",
"type": "public",
"substitute": true,
"rule": "chinese 09-0-09 and if Sunday then next Monday",
Expand All @@ -176,7 +176,7 @@
"date": "2016-12-26 00:00:00",
"start": "2016-12-25T16:00:00.000Z",
"end": "2016-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Mon"
Expand All @@ -185,7 +185,7 @@
"date": "2016-12-26 00:00:00",
"start": "2016-12-25T16:00:00.000Z",
"end": "2016-12-26T16:00:00.000Z",
"name": "聖誕節 (substitute day)",
"name": "聖誕節 (更换日)",
"type": "public",
"substitute": true,
"rule": "12-25 and if Sunday then next Monday",
Expand All @@ -195,7 +195,7 @@
"date": "2016-12-27 00:00:00",
"start": "2016-12-26T16:00:00.000Z",
"end": "2016-12-27T16:00:00.000Z",
"name": "The first weekday after Christmas Day (substitute day)",
"name": "圣诞节后的第一个工作日 (更换日)",
"type": "public",
"substitute": true,
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/HK-2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"date": "2017-01-02 00:00:00",
"start": "2017-01-01T16:00:00.000Z",
"end": "2017-01-02T16:00:00.000Z",
"name": "一月一日 (substitute day)",
"name": "一月一日 (更换日)",
"type": "public",
"substitute": true,
"rule": "01-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -148,7 +148,7 @@
"date": "2017-10-02 00:00:00",
"start": "2017-10-01T16:00:00.000Z",
"end": "2017-10-02T16:00:00.000Z",
"name": "國慶日 (substitute day)",
"name": "國慶日 (更换日)",
"type": "public",
"substitute": true,
"rule": "10-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -185,7 +185,7 @@
"date": "2017-12-26 00:00:00",
"start": "2017-12-25T16:00:00.000Z",
"end": "2017-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Tue"
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/HK-2018.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"date": "2018-07-02 00:00:00",
"start": "2018-07-01T16:00:00.000Z",
"end": "2018-07-02T16:00:00.000Z",
"name": "香港特別行政區成立紀念日 (substitute day)",
"name": "香港特別行政區成立紀念日 (更换日)",
"type": "public",
"substitute": true,
"rule": "07-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -175,7 +175,7 @@
"date": "2018-12-26 00:00:00",
"start": "2018-12-25T16:00:00.000Z",
"end": "2018-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Wed"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/HK-2019.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"date": "2019-12-26 00:00:00",
"start": "2019-12-25T16:00:00.000Z",
"end": "2019-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Thu"
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/HK-2020.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"date": "2020-10-26 00:00:00",
"start": "2020-10-25T16:00:00.000Z",
"end": "2020-10-26T16:00:00.000Z",
"name": "重阳节 (substitute day)",
"name": "重阳节 (更换日)",
"type": "public",
"substitute": true,
"rule": "chinese 09-0-09 and if Sunday then next Monday",
Expand All @@ -175,7 +175,7 @@
"date": "2020-12-26 00:00:00",
"start": "2020-12-25T16:00:00.000Z",
"end": "2020-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Sat"
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/HK-2021.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"date": "2021-12-26 00:00:00",
"start": "2021-12-25T16:00:00.000Z",
"end": "2021-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Sun"
Expand All @@ -183,7 +183,7 @@
"date": "2021-12-27 00:00:00",
"start": "2021-12-26T16:00:00.000Z",
"end": "2021-12-27T16:00:00.000Z",
"name": "The first weekday after Christmas Day (substitute day)",
"name": "圣诞节后的第一个工作日 (更换日)",
"type": "public",
"substitute": true,
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/HK-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"date": "2022-05-02 00:00:00",
"start": "2022-05-01T16:00:00.000Z",
"end": "2022-05-02T16:00:00.000Z",
"name": "劳动节 (substitute day)",
"name": "劳动节 (更换日)",
"type": "public",
"substitute": true,
"rule": "05-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -148,7 +148,7 @@
"date": "2022-09-12 00:00:00",
"start": "2022-09-11T16:00:00.000Z",
"end": "2022-09-12T16:00:00.000Z",
"name": "中秋節翌日 (substitute day)",
"name": "中秋節翌日 (更换日)",
"type": "public",
"substitute": true,
"rule": "chinese 08-0-16 and if Sunday then next Monday",
Expand Down Expand Up @@ -185,7 +185,7 @@
"date": "2022-12-26 00:00:00",
"start": "2022-12-25T16:00:00.000Z",
"end": "2022-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Mon"
Expand All @@ -194,7 +194,7 @@
"date": "2022-12-26 00:00:00",
"start": "2022-12-25T16:00:00.000Z",
"end": "2022-12-26T16:00:00.000Z",
"name": "聖誕節 (substitute day)",
"name": "聖誕節 (更换日)",
"type": "public",
"substitute": true,
"rule": "12-25 and if Sunday then next Monday",
Expand All @@ -204,7 +204,7 @@
"date": "2022-12-27 00:00:00",
"start": "2022-12-26T16:00:00.000Z",
"end": "2022-12-27T16:00:00.000Z",
"name": "The first weekday after Christmas Day (substitute day)",
"name": "圣诞节后的第一个工作日 (更换日)",
"type": "public",
"substitute": true,
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/HK-2023.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"date": "2023-01-02 00:00:00",
"start": "2023-01-01T16:00:00.000Z",
"end": "2023-01-02T16:00:00.000Z",
"name": "一月一日 (substitute day)",
"name": "一月一日 (更换日)",
"type": "public",
"substitute": true,
"rule": "01-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -148,7 +148,7 @@
"date": "2023-10-02 00:00:00",
"start": "2023-10-01T16:00:00.000Z",
"end": "2023-10-02T16:00:00.000Z",
"name": "國慶日 (substitute day)",
"name": "國慶日 (更换日)",
"type": "public",
"substitute": true,
"rule": "10-01 and if Sunday then next Monday",
Expand Down Expand Up @@ -176,7 +176,7 @@
"date": "2023-12-26 00:00:00",
"start": "2023-12-25T16:00:00.000Z",
"end": "2023-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Tue"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/HK-2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"date": "2024-12-26 00:00:00",
"start": "2024-12-25T16:00:00.000Z",
"end": "2024-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Thu"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/HK-2025.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"date": "2025-12-26 00:00:00",
"start": "2025-12-25T16:00:00.000Z",
"end": "2025-12-26T16:00:00.000Z",
"name": "The first weekday after Christmas Day",
"name": "圣诞节后的第一个工作日",
"type": "public",
"rule": "12-26 and if Sunday then next Monday if Monday then next Tuesday",
"_weekday": "Fri"
Expand Down

0 comments on commit 7dff646

Please sign in to comment.