perf: Chinese translations (#363)

* Finish zh-hans

* Fix zh-hans

* Add zh-hant
This commit is contained in:
David Xuang 2022-01-14 03:16:17 +08:00 committed by GitHub
parent 05bcc9e587
commit 6c7372b41e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 101 additions and 6 deletions

View file

@ -4,6 +4,9 @@ const locale = {
settings: '设置',
pause: '暂停',
delete: '删除',
save: '保存',
cancel: '取消',
confirm: '确认',
/** Torrent */
torrent: {
@ -11,7 +14,12 @@ const locale = {
added: '添加时间',
availability: '可用性',
size: '大小',
progress: '进度'
progress: '进度',
directory: '目录',
downloaded: '下载量',
uploaded: '上传量',
created: '制作程序',
comments: '注释'
},
/** Navbar */
navbar: {
@ -19,11 +27,14 @@ const locale = {
freeSpace: '剩余磁盘空间',
topActions: {
addTorrent: '打开种子',
resumeSelected: '继续选中种子',
pauseSelected: '暂停选中种子',
removeSelected: '删除选中种子',
resumeSelected: '继续选中种子',
pauseSelected: '暂停选中种子',
removeSelected: '删除选中种子',
openSettings: '打开设置',
searchNew: '搜索新的种子'
searchNew: '搜索新种子'
},
sessionStats: {
tooltip: '自 qBittorrent 上次重启以来'
}
},
@ -32,6 +43,9 @@ const locale = {
add: {
title: '添加新的种子',
selectFiles: '选择文件'
},
delete: {
check: '同时从存储中删除'
}
},
@ -61,7 +75,7 @@ const locale = {
},
category: '设置分类',
limit: '设置限制',
copy: '赋值',
copy: '复制…',
info: '显示详情'
}
}

81
src/lang/zh-hant.js Normal file
View file

@ -0,0 +1,81 @@
const locale = {
/** General */
category: '分類',
settings: '設置',
pause: '暫停',
delete: '刪除',
save: '儲存',
cancel: '取消',
confirm: '確認',
/** Torrent */
torrent: {
title: '標題',
added: '添加時間',
availability: '可用性',
size: '大小',
progress: '進度',
directory: '目錄',
downloaded: '下載量',
uploaded: '上載量',
created: '製作程式',
comments: '注釋'
},
/** Navbar */
navbar: {
currentSpeed: '當前速率',
freeSpace: '剩餘磁碟空間',
topActions: {
addTorrent: '打開種子',
resumeSelected: '繼續選中種子',
pauseSelected: '暫停選中種子',
removeSelected: '刪除選中種子',
openSettings: '打開設置',
searchNew: '搜尋新種子'
},
sessionStats: {
tooltip: '自 qBittorrent 上次重新啟動以來'
}
},
/** Modals */
modals: {
add: {
title: '添加新的種子',
selectFiles: '選擇檔案'
},
delete: {
check: '同時從記憶體上刪除'
}
},
/** Toast */
toast: {
loginSuccess: '登入成功!🎉',
loginFailed: '登入失敗…😕',
settingsSaved: '設置儲存成功!',
categorySaved: '分類編輯成功!'
},
/** RightClick **/
rightClick: {
resume: '繼續',
forceResume: '強制繼續',
advanced: {
advanced: '進階',
changeLocation: '修改儲存位置',
rename: '重新命名'
},
prio: {
prio: '設置優先級',
top: '最高',
bottom: '最低',
increase: '提升',
decrease: '降低'
},
category: '設置分類',
limit: '設置限制',
copy: '複製…',
info: '顯示詳情'
}
}