-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathi18n.config.ts
137 lines (137 loc) · 5.01 KB
/
i18n.config.ts
1
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
export default defineI18nConfig(() => ({
legacy: false,
locale: 'en',
messages: {
en: {
welcome: 'Welcome',
description: 'Fast peer-to-peer file and directory transfers',
home: 'Home',
sender: 'Sender',
recipient: 'Recipient',
about: 'About',
label: {
title: 'Title',
secondsAgo: '{n} seconds ago',
minutesAgo: '{n} minutes ago',
hoursAgo: '{n} hours ago',
daysAgo: '{n} days ago',
send: 'Send',
receive: 'Receive',
receiveCode: 'Receive Code',
quickStart: 'Quick Start',
transmitted: 'Transmitted',
times: 'times',
totalProgress: 'Total progress',
autoConfirmBySender: 'Auto confirm by sender',
dragHereToSendFile: 'Drag here to send the file'
},
btn: {
submit: 'Submit',
update: 'Update',
ok: 'OK',
cancel: 'Cancel',
send: 'Send',
receive: 'Receive',
clear: 'Clear',
download: 'Download',
copy: 'Copy',
copyLink: 'Copy link',
copied: 'Copied',
sendFile: 'Send file',
sendDir: 'Send folder',
syncDir: 'Folder synchronization',
selectDir: 'Select folder',
toHome: 'Back to home',
terminate: 'Terminate',
buyMeCoffee: 'Buy me coffee'
},
hint: {
noModernFileAPIWarn:
'Warning: Your browser does not support modern file access APIs, making the `Folder synchronization` and `Send folder` features unavailable. Additionally, the file receiving limit is 1GB.',
toManyPeople: 'There are too many people currently connected, please try again later',
serverError: 'The service is abnormal, please try again later',
closeTheProxy:
'If you are currently in a proxy environment, please close the proxy and try again',
connecting: 'Connecting',
noSupportDirTrans2: "The recipient's browser does not support directory transfer",
connectInterrupted: 'Connection interrupted, transmission failed',
areYouSureContinue: 'Are you sure to continue the transmission?',
inTransit: 'In transit',
transCompleted: 'Transmission completed',
invalidPickupCode: 'Invalid pickup code',
refusesToTransmit: 'The other party refuses to transmit',
waitingForConfirm: 'Waiting for confirmation from the other party',
noSupportDirTrans: 'The current browser does not support directory transfer',
connectTimeout: 'Connection timeout',
hashCheckFail: 'File hash checksum failure!',
serviceUnavailable: 'Service unavailable',
noSupportFolderDrag: 'Drag and drop of folders is not supported'
}
},
zh: {
welcome: '欢迎',
description: '点对点快速传输文件和目录',
home: '主页',
sender: '发送',
recipient: '接收',
about: '关于',
label: {
title: '标题',
secondsAgo: '{n} 秒前',
minutesAgo: '{n} 分前',
hoursAgo: '{n} 小时前',
daysAgo: '{n} 天前',
send: '发送',
receive: '接收',
receiveCode: '取件码',
quickStart: '快速开始',
transmitted: '已传输',
times: '次',
totalProgress: '总进度',
autoConfirmBySender: '发送方自动确认',
dragHereToSendFile: '拖动到此处发送文件'
},
btn: {
submit: '提交',
update: '更新',
ok: '确定',
cancel: '取消',
send: '发送',
receive: '接收',
clear: '清空',
download: '下载',
copy: '复制',
copyLink: '复制链接',
copied: '已复制',
sendFile: '发送文件',
sendDir: '发送目录',
syncDir: '目录同步',
selectDir: '选择目录',
toHome: '回首页',
terminate: '终止',
buyMeCoffee: '请我喝咖啡'
},
hint: {
noModernFileAPIWarn:
'警告:您的浏览器不支持现代文件访问API,无法使用`目录同步`以及`发送目录`功能,同时接收文件限制1GB。',
toManyPeople: '当前连接人数太多,请稍后再试',
serverError: '服务异常,请稍后再试',
closeTheProxy: '如果当前处于代理环境,请关闭代理重试',
connecting: '连接中',
noSupportDirTrans2: '接收方浏览器不支持目录传输',
connectInterrupted: '连接中断,传输失败',
areYouSureContinue: '确定继续传输吗?',
inTransit: '传输中',
transCompleted: '传输完成',
invalidPickupCode: '取件码无效',
refusesToTransmit: '对方拒绝传输',
waitingForConfirm: '等待对方确认',
noSupportDirTrans: '当前浏览器不支持目录传输',
connectTimeout: '连接超时',
hashCheckFail: '文件哈希校验失败',
serviceUnavailable: '服务不可用',
noSupportFolderDrag: '暂不支持文件夹拖放'
}
}
}
}))