-
-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locale): support color and date for zh_CN (#2223)
- Loading branch information
Showing
6 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export default [ | ||
'红色', | ||
'绿色', | ||
'蓝色', | ||
'黄色', | ||
'紫色', | ||
'薄荷绿色', | ||
'蓝绿色', | ||
'白色', | ||
'黑色', | ||
'橙色', | ||
'粉红色', | ||
'灰色', | ||
'红褐色', | ||
'蓝紫色', | ||
'青绿色', | ||
'棕褐色', | ||
'天蓝色', | ||
'浅橙色', | ||
'紫红色', | ||
'淡紫色', | ||
'淡褐色', | ||
'青柠色', | ||
'乳白色', | ||
'靛蓝色', | ||
'金色', | ||
'银色', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { ColorDefinition } from '../../..'; | ||
import human from './human'; | ||
|
||
const color: ColorDefinition = { | ||
human, | ||
}; | ||
|
||
export default color; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { DateDefinition } from '../../..'; | ||
import month from './month'; | ||
import weekday from './weekday'; | ||
|
||
const date: DateDefinition = { | ||
month, | ||
weekday, | ||
}; | ||
|
||
export default date; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export default { | ||
wide: [ | ||
'1月', | ||
'2月', | ||
'3月', | ||
'4月', | ||
'5月', | ||
'6月', | ||
'7月', | ||
'8月', | ||
'9月', | ||
'10月', | ||
'11月', | ||
'12月', | ||
], | ||
|
||
abbr: [ | ||
'1月', | ||
'2月', | ||
'3月', | ||
'4月', | ||
'5月', | ||
'6月', | ||
'7月', | ||
'8月', | ||
'9月', | ||
'10月', | ||
'11月', | ||
'12月', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default { | ||
wide: ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], | ||
abbr: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters