forked from Jazee6/cloudflare-ai-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.config.ts
43 lines (43 loc) · 1.61 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
export default defineI18nConfig(() => ({
legacy: false,
messages: {
zh: {
setting: '设置',
use_own_key: '使用自己的key',
new_chat: '新建对话',
// need_image: '需要图片',
// waited: '已等待',
// image_max_5MB: '图片大小不能超过5MB',
input_password: '请输入访问密码',
confirm: '确定',
with_history: '发送时携带历史记录',
without_history: '发送时不携带历史记录',
please_input_text: '请输入文本',
// add_image: '添加图片',
// support_paste: '支持粘贴',
send: '发送',
img_gen_steps: '图片生成步数',
text_generation: '文本生成',
image_generation: '图像生成',
},
en: {
setting: 'Setting',
use_own_key: 'Use own key',
new_chat: 'New chat',
// need_image: 'Need image',
// waited: 'Waited',
// image_max_5MB: 'Image size cannot exceed 5MB',
input_password: 'Please enter access password',
confirm: 'Confirm',
with_history: 'Send with history',
without_history: 'Send without history',
please_input_text: 'Please input text',
// add_image: 'Add image',
// support_paste: 'Support paste',
send: 'Send',
img_gen_steps: 'Image generation steps',
text_generation: 'Text generation',
image_generation: 'Image generation',
}
}
}))