-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathi18n.config.ts
More file actions
182 lines (182 loc) · 6 KB
/
i18n.config.ts
File metadata and controls
182 lines (182 loc) · 6 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
export default defineI18nConfig(() => ({
legacy: false,
locale: 'zh',
messages: {
en: {
welcome:
'WebRTC-powered Peer-to-Peer webcam surveillance application for real-time monitoring platform.',
home: 'Home',
about: 'About',
login: 'Login',
label: {
title: 'Title',
lang: 'Lang',
length: 'Length',
totalViews: 'Total views',
totalLikes: 'Total likes',
totalCollections: 'Total collections',
description: 'Description',
secondsAgo: '{n} seconds ago',
minutesAgo: '{n} minutes ago',
hoursAgo: '{n} hours ago',
daysAgo: '{n} days ago',
search: 'Search',
model: 'Model',
prompt: 'Prompt',
genResult: 'Generate result',
quickStart: 'Quick start',
selectImage: 'Select image',
analysisResult: 'Analysis result',
recResult: 'Recognition result',
summaryResult: 'Summary results',
wordCount: 'Word-count',
audioFile: 'Audio file',
webRec: 'Web recording',
connectionID: 'Connection ID',
audioDev: 'Audio device',
videoDev: 'Video device',
resolution: 'Resolution',
'4K_priority': '4K Priority',
'2K_priority': '2K Priority',
'1080P_priority': '1080P Priority',
'720P_priority': '720P Priority',
record: 'Record',
recordSettings: 'Record settings',
format: 'Format',
bps: 'Bitrate'
},
btn: {
myFav: 'My Favorites',
submit: 'Submit',
update: 'Update',
saveDraft: 'Save draft',
ok: 'OK',
cancel: 'Cancel',
send: 'Send',
clear: 'Clear',
generate: 'Generate',
download: 'Download',
translate: 'Translate',
copy: 'Copy',
copied: 'Copied',
startAnalysis: 'Start analysis',
startRecognizing: 'Start recognizing',
startSummarizing: 'Start summarizing',
startRec: 'Start recording',
stopRec: 'Stop recording',
downloadJSONFile: 'Download JSON file',
camera: 'Camera',
monitor: 'Monitor',
connect: 'Connect',
disconnect: 'Disconnect',
autoConnect: 'Auto connect',
openAudio: 'Open audio'
},
des: {
t1: 'Native Support',
d1: 'Most modern browsers natively support WebRTC',
t2: 'Efficient Realtime',
d2: 'WebRTC utilizes peer-to-peer (P2P) communication to avoid server relays, improving communication efficiency',
t3: 'Privacy & Security',
d3: 'WebRTC incorporates built-in encryption to secure the communication content'
},
usage: {
usage: 'Usage',
step1:
'First, connect the camera. Go to the `Camera` page on the device to be used as a camera, enter the connection ID, and click connect.',
step2:
'On the monitoring side, go to the `Monitor` page, enter the same connection ID as the camera, and click connect to connect to the corresponding camera.'
},
hint: {
recHint:
'The current browser does not support the file access api, limiting the recording time to 10 minutes'
}
},
zh: {
welcome: '基于WebRTC的点对点网络摄像头实时监控工具',
home: '主页',
about: '关于',
login: '登陆',
label: {
title: '标题',
lang: '语言',
length: '长度',
totalViews: '总浏览量',
totalLikes: '总点赞数',
totalCollections: '总收藏数',
description: '描述',
secondsAgo: '{n} 秒前',
minutesAgo: '{n} 分前',
hoursAgo: '{n} 小时前',
daysAgo: '{n} 天前',
search: '搜索',
model: '模型',
prompt: '提示词',
genResult: '生成结果',
quickStart: '快速开始',
selectImage: '选择图片',
analysisResult: '分析结果',
recResult: '识别结果',
summaryResult: '总结结果',
wordCount: '字数',
audioFile: '音频文件',
webRec: '网页录音',
connectionID: '连接ID',
audioDev: '音频设备',
videoDev: '视频设备',
resolution: '分辨率',
'4K_priority': '4K优先',
'2K_priority': '2K优先',
'1080P_priority': '1080P优先',
'720P_priority': '720P优先',
record: '录制',
recordSettings: '录制设置',
format: '格式',
bps: '比特率'
},
btn: {
myFav: '我的收藏',
submit: '提交',
update: '更新',
saveDraft: '保存草稿',
ok: '确定',
cancel: '取消',
send: '发送',
clear: '清空',
generate: '生成',
download: '下载',
translate: '翻译',
copy: '复制',
copied: '已复制',
startAnalysis: '开始分析',
startRecognizing: '开始识别',
startSummarizing: '开始总结',
startRec: '开始录制',
stopRec: '停止录制',
downloadJSONFile: '下载JSON文件',
camera: '摄像头',
monitor: '监控',
connect: '连接',
disconnect: '断开连接',
autoConnect: '自动连接',
openAudio: '开启音频'
},
des: {
t1: '原生支持',
d1: '大部分现代浏览器原生支持WebRTC',
t2: '高效实时',
d2: 'WebRTC通过P2P通信避免服务器中继,提高通信效率',
t3: '隐私安全',
d3: 'WebRTC内置了加密技术,保护了通信内容的安全'
},
usage: {
usage: '使用方法',
step1: '先连接摄像头,将作为摄像头的设备进入`摄像头`页面,输入连接ID,点连接。',
step2: '监控端进入`监控`页面,填入与摄像头相同的连接ID,点连接,即可连到对应的摄像头'
},
hint: {
recHint: '当前浏览器不支持文件访问API,限制录制时长10分钟'
}
}
}
}))