common.ts
5.59 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
const translation = {
api: {
success: "Success",
},
operation: {
confirm: "Confirm",
cancel: "Cancel",
save: "Save",
edit: "Edit",
search: "Search",
download: "Download",
delete: "Delete",
settings: "Settings",
ok: "OK",
params: "Params",
audioSourceUnavailable: "AudioSource is unavailable",
close: "Close",
copyImage: "Copy Image",
imageCopied: "Image copied",
zoomOut: "Zoom Out",
zoomIn: "Zoom In",
openInNewTab: "Open in new tab",
},
placeholder: {
input: "Please enter",
select: "Please select",
},
voice: {
language: {
zhHans: "Chinese",
enUS: "English",
},
},
actionMsg: {
modifiedSuccessfully: "Modified successfully",
modifiedUnsuccessfully: "Modified unsuccessfully",
},
model: {
params: {
stop_sequencesPlaceholder: "Enter sequence and press Tab",
},
},
userProfile: {
settings: "Settings",
},
settings: {
workplaceGroup: "WORKSPACE",
generalGroup: "GENERAL",
members: "Members",
billing: "Billing",
language: "Language",
provider: "Model Provider",
dataSource: "Data Source",
apiBasedExtension: "API Extension",
},
modelProvider: {
embeddingModel: {
key: "Embedding Model",
tip: "Set the default model for document embedding processing of the Knowledge, both retrieval and import of the Knowledge use this Embedding model for vectorization processing. Switching will cause the vector dimension between the imported Knowledge and the question to be inconsistent, resulting in retrieval failure. To avoid retrieval failure, please do not switch this model at will.",
required: "Embedding Model is required",
},
},
dataSource: {
notion: {
selector: {
pageSelected: "Pages Selected",
searchPages: "Search pages...",
noSearchResult: "No search results",
addPages: "Add pages",
preview: "PREVIEW",
},
},
},
apiBasedExtension: {
selector: {
title: "API Extension",
},
},
datasetMenus: {
relatedApp: "linked apps",
},
voiceInput: {
speaking: "Speak now...",
converting: "Converting to text...",
notAllow: "microphone not authorized",
},
chat: {
renameConversation: "Rename Conversation",
conversationName: "Conversation name",
conversationNamePlaceholder: "Please input conversation name",
conversationNameCanNotEmpty: "Conversation name required",
citation: {
title: "CITATIONS",
linkToDataset: "Link to Knowledge",
characters: "Characters:",
hitCount: "Retrieval count:",
vectorHash: "Vector hash:",
hitScore: "Retrieval Score:",
},
inputPlaceholder: "请输入要查询的问题,我将为您解答",
thinking: "Thinking...",
thought: "Thought",
},
promptEditor: {
placeholder:
"Write your prompt word here, enter '{' to insert a variable, enter '/' to insert a prompt content block",
context: {
item: {
title: "Context",
desc: "Insert context template",
},
modal: {
title: "{{num}} Knowledge in Context",
add: "Add Context ",
footer: "You can manage contexts in the Context section below.",
},
},
history: {
item: {
title: "Conversation History",
desc: "Insert historical message template",
},
modal: {
title: "EXAMPLE",
user: "Hello",
assistant: "Hello! How can I assist you today?",
edit: "Edit Conversation Role Names",
},
},
variable: {
item: {
title: "Variables & External Tools",
desc: "Insert Variables & External Tools",
},
outputToolDisabledItem: {
title: "Variables",
desc: "Insert Variables",
},
modal: {
add: "New variable",
addTool: "New tool",
},
},
query: {
item: {
title: "Query",
desc: "Insert user query template",
},
},
existed: "Already exists in the prompt",
},
imageUploader: {
uploadFromComputer: "Upload from Computer",
uploadFromComputerReadError: "Image reading failed, please try again.",
uploadFromComputerUploadError: "Image upload failed, please upload again.",
uploadFromComputerLimit: "Upload images cannot exceed {{size}} MB",
pasteImageLink: "Paste image link",
pasteImageLinkInputPlaceholder: "Paste image link here",
pasteImageLinkInvalid: "Invalid image link",
imageUpload: "Image Upload",
},
fileUploader: {
uploadFromComputer: "Local upload",
pasteFileLink: "Paste file link",
pasteFileLinkInputPlaceholder: "Enter URL...",
uploadFromComputerReadError: "File reading failed, please try again.",
uploadFromComputerUploadError: "File upload failed, please upload again.",
uploadFromComputerLimit: "Upload {{type}} cannot exceed {{size}}",
pasteFileLinkInvalid: "Invalid file link",
fileExtensionNotSupport: "File extension not supported",
},
tag: {
placeholder: "All Tags",
addNew: "Add new tag",
noTag: "No tags",
noTagYet: "No tags yet",
addTag: "Add tags",
editTag: "Edit tags",
manageTags: "Manage Tags",
selectorPlaceholder: "Type to search or create",
create: "Create",
delete: "Delete tag",
deleteTip: "The tag is being used, delete it?",
created: "Tag created successfully",
failed: "Tag creation failed",
},
pagination: {
perPage: "Items per page",
},
imageInput: {
dropImageHere: "Drop your image here, or",
browse: "browse",
supportedFormats: "Supports PNG, JPG, JPEG, WEBP and GIF",
},
};
export default translation;