Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/language zh tw #1255

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions src/locale/zh_TW.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// 文件有效,为国际化做准备
import 'dayjs/locale/zh-cn';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是 zh-tw 包~


export default {
actionSheet: {
cancel: '取消',
},
calendar: {
title: '請選擇日期',
confirm: '確認',
weekdays: ['日', '一', '二', '三', '四', '五', '六'],
monthTitle: '{year} 年 {month}',
months: ['1 月', '2 月', '3 月', '4 月', '5 月', '6 月', '7 月', '8 月', '9 月', '10 月', '11 月', '12 月'],
},
cascader: {
title: '標題',
placeholder: '選擇選項',
},
dropdownMenu: {
reset: '重置',
confirm: '確認',
},
dateTimePicker: {
title: '選擇時間',
cancel: '取消',
confirm: '確定',
format: 'YYYY-MM-DD',
yearLabel: '年',
monthLabel: '月',
dateLabel: '日',
hourLabel: '時',
minuteLabel: '分',
secondLabel: '秒',
},
picker: {
cancel: '取消',
confirm: '確認',
},
pullDownRefresh: {
loadingTexts: ['下拉重新整理', '鬆手重新整理', '正在重新整理', '重新整理完成'],
},
rate: {
valueText: '{value} 分',
noValueText: '未評分',
},
tabBar: {
newsAriaLabel: '有新的訊息',
moreNewsAriaLabel: '有很多訊息',
haveMoreNewsAriaLabel: '有 {value}+ 條訊息',
haveNewsAriaLabel: '有 {value} 條訊息',
},
table: {
empty: '暫無資料',
},
list: {
loading: '載入中...',
loadingMoreText: '點選載入更多',
pulling: '下拉即可重新整理...',
loosing: '釋放即可重新整理...',
success: '重新整理成功',
},
upload: {
progress: {
uploadingText: '上傳中...',
waitingText: '待上傳',
failText: '上傳失敗',
successText: '上傳成功',
},
},
guide: {
next: '下一步',
skip: '跳過',
finish: '完成',
back: '返回',
},
};
Loading