Skip to content

Commit c5dfe27

Browse files
authored
feat(locale): improve zh_TW (#2320)
1 parent c158b38 commit c5dfe27

File tree

6 files changed

+93
-0
lines changed

6 files changed

+93
-0
lines changed

src/locales/zh_TW/color/human.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
export default [
2+
'紅色',
3+
'綠色',
4+
'藍色',
5+
'黃色',
6+
'紫色',
7+
'薄荷綠色',
8+
'藍綠色',
9+
'白色',
10+
'黑色',
11+
'橙色',
12+
'粉紅色',
13+
'灰色',
14+
'紅褐色',
15+
'藍紫色',
16+
'青綠色',
17+
'棕褐色',
18+
'天藍色',
19+
'淺橙色',
20+
'紫紅色',
21+
'淡紫色',
22+
'淡褐色',
23+
'青檸色',
24+
'乳白色',
25+
'靛藍色',
26+
'金色',
27+
'銀色',
28+
];

src/locales/zh_TW/color/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { ColorDefinition } from '../../..';
6+
import human from './human';
7+
8+
const color: ColorDefinition = {
9+
human,
10+
};
11+
12+
export default color;

src/locales/zh_TW/date/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { DateDefinition } from '../../..';
6+
import month from './month';
7+
import weekday from './weekday';
8+
9+
const date: DateDefinition = {
10+
month,
11+
weekday,
12+
};
13+
14+
export default date;

src/locales/zh_TW/date/month.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
export default {
2+
wide: [
3+
'1月',
4+
'2月',
5+
'3月',
6+
'4月',
7+
'5月',
8+
'6月',
9+
'7月',
10+
'8月',
11+
'9月',
12+
'10月',
13+
'11月',
14+
'12月',
15+
],
16+
17+
abbr: [
18+
'1月',
19+
'2月',
20+
'3月',
21+
'4月',
22+
'5月',
23+
'6月',
24+
'7月',
25+
'8月',
26+
'9月',
27+
'10月',
28+
'11月',
29+
'12月',
30+
],
31+
};

src/locales/zh_TW/date/weekday.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
wide: ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
3+
abbr: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'],
4+
};

src/locales/zh_TW/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { LocaleDefinition } from '../..';
6+
import color from './color';
7+
import date from './date';
68
import location from './location';
79
import metadata from './metadata';
810
import person from './person';
911
import phone_number from './phone_number';
1012

1113
const zh_TW: LocaleDefinition = {
14+
color,
15+
date,
1216
location,
1317
metadata,
1418
person,

0 commit comments

Comments
 (0)