@myun/gimi-chat 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/components/history-list/index.js +14 -11
- package/dist/client/components/slider/index.js +5 -2
- package/dist/client/core/index.js +6 -2
- package/dist/components/ai-chat-dialogue/index.js +26 -23
- package/dist/components/ai-loading/index.js +4 -1
- package/dist/components/answer-item/index.js +7 -4
- package/dist/components/ask-card/index.js +5 -2
- package/dist/components/ask-card/index.module.css +8 -1
- package/dist/components/chat-input/index.js +29 -25
- package/dist/components/chat-voice/VoiceCommunication.js +6 -4
- package/dist/components/chat-voice/VoiceRecord.js +6 -3
- package/dist/components/conversation-delete/index.js +5 -2
- package/dist/components/excel-components/ExcelExcuting.js +28 -23
- package/dist/components/excel-components/ExcelFailCard.js +4 -1
- package/dist/components/excel-components/ExcelSuccessCard.js +8 -5
- package/dist/components/excel-components/index.module.css +1 -1
- package/dist/components/file-card/fileCardSidebar.js +7 -2
- package/dist/components/file-card/index.js +10 -5
- package/dist/components/file-card/index.module.css +3 -1
- package/dist/components/file-upload/index.js +15 -7
- package/dist/components/file-upload/uploadV1.js +15 -8
- package/dist/components/knowledge-trace/KnowledgeIconComponent.js +10 -2
- package/dist/components/knowledge-trace/classList.js +11 -4
- package/dist/components/knowledge-trace/documentList.js +11 -4
- package/dist/components/knowledge-trace/index.js +6 -3
- package/dist/components/knowledge-trace/index.module.css +6 -3
- package/dist/components/knowledge-trace/videoList.js +16 -6
- package/dist/components/message-actions/CopyButton.js +4 -1
- package/dist/components/message-actions/LikeButton.js +4 -1
- package/dist/components/message-actions/RegenerateButton.js +5 -2
- package/dist/components/message-actions/UnLikeButton.js +4 -1
- package/dist/components/message-actions/VoicePlay.js +6 -2
- package/dist/components/no-microphone-root/index.js +9 -7
- package/dist/components/no-microphone-root/index.module.css +10 -1
- package/dist/components/product-tag/index.js +10 -7
- package/dist/components/quoted-content/index.js +17 -12
- package/dist/components/reasoning-content/index.js +8 -5
- package/dist/components/reasoning-search/index.d.ts +1 -1
- package/dist/components/reasoning-search/index.js +15 -6
- package/dist/components/reference-content/index.js +10 -3
- package/dist/components/search-course-list/index.js +13 -6
- package/dist/components/search-course-list/index.module.css +6 -3
- package/dist/components/search-course-list/sidebar.js +7 -2
- package/dist/components/templates/GimiChatComponent.js +5 -1
- package/dist/components/unified-sidebar/FileListContent.js +8 -2
- package/dist/components/unified-sidebar/KnowledgeTraceContent.d.ts +1 -0
- package/dist/components/unified-sidebar/KnowledgeTraceContent.js +33 -3
- package/dist/components/unified-sidebar/SearchCourseListContent.js +8 -4
- package/dist/components/unified-sidebar/index.js +14 -8
- package/dist/components/upload-list/index.js +6 -3
- package/dist/components/voice-recording/index.js +10 -7
- package/dist/components/work-flow-content/index.js +7 -1
- package/dist/hooks/useChatActions.js +9 -6
- package/dist/hooks/useChatHistory.js +4 -1
- package/dist/hooks/useChatRecommend.js +7 -4
- package/dist/hooks/useChatStream.js +12 -2
- package/dist/hooks/useChatVoice.js +12 -6
- package/dist/hooks/useCommonChatAPI.js +25 -21
- package/dist/hooks/useFile.js +14 -9
- package/dist/hooks/useLongPoll.js +5 -2
- package/dist/hooks/useSearchCase.js +5 -2
- package/dist/i18n/GimiChatI18nProvider.d.ts +9 -0
- package/dist/i18n/GimiChatI18nProvider.js +25 -0
- package/dist/i18n/core.d.ts +12 -0
- package/dist/i18n/core.js +71 -0
- package/dist/i18n/index.d.ts +4 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/locales/en-US.d.ts +216 -0
- package/dist/i18n/locales/en-US.js +242 -0
- package/dist/i18n/locales/zh-CN.d.ts +216 -0
- package/dist/i18n/locales/zh-CN.js +242 -0
- package/dist/i18n/useGimiChatTranslation.d.ts +2 -0
- package/dist/i18n/useGimiChatTranslation.js +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/types/chat.d.ts +4 -1
- package/dist/types/modules.d.ts +1 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/utils/tools.d.ts +1 -1
- package/dist/utils/tools.js +5 -5
- package/dist/utils/voice-stream.d.ts +2 -0
- package/dist/utils/voice-stream.js +43 -20
- package/package.json +6 -4
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
declare const enUS: {
|
|
2
|
+
'common.serviceError': string;
|
|
3
|
+
'common.workflowRunningOnOtherDevice': string;
|
|
4
|
+
'common.contentTooLarge': string;
|
|
5
|
+
'sidebar.knowledgeTrace': string;
|
|
6
|
+
'sidebar.fileList': string;
|
|
7
|
+
'sidebar.reasoningSearch': string;
|
|
8
|
+
'sidebar.searchCourseList': string;
|
|
9
|
+
'knowledgeTrace.type.document': string;
|
|
10
|
+
'knowledgeTrace.type.video': string;
|
|
11
|
+
'knowledgeTrace.type.course': string;
|
|
12
|
+
'reasoningSearch.summary': string;
|
|
13
|
+
'chatInput.maxLength': string;
|
|
14
|
+
'chatInput.uploadLimitOne': string;
|
|
15
|
+
'chatInput.flowUnsupported': string;
|
|
16
|
+
'chatInput.uploadFile': string;
|
|
17
|
+
'chatInput.newConversation': string;
|
|
18
|
+
'chatInput.deepThinkTip': string;
|
|
19
|
+
'chatInput.deepThinkModeAuto': string;
|
|
20
|
+
'chatInput.fetchingVoice': string;
|
|
21
|
+
'chatInput.voiceCallUnsupported': string;
|
|
22
|
+
'chatInput.micPermissionRequired': string;
|
|
23
|
+
'answer.taskCompleted': string;
|
|
24
|
+
'answer.stopped': string;
|
|
25
|
+
'answer.courseRecommend': string;
|
|
26
|
+
'answer.allCourses': string;
|
|
27
|
+
'trace.jumpUnsupported': string;
|
|
28
|
+
'trace.video.coverAlt': string;
|
|
29
|
+
'trace.video.playAlt': string;
|
|
30
|
+
'trace.video.segment': string;
|
|
31
|
+
'trace.video.invalid': string;
|
|
32
|
+
'trace.video.total': string;
|
|
33
|
+
'trace.course.coverAlt': string;
|
|
34
|
+
'trace.course.invalid': string;
|
|
35
|
+
'trace.course.total': string;
|
|
36
|
+
'trace.document.coverAlt': string;
|
|
37
|
+
'trace.document.invalid': string;
|
|
38
|
+
'trace.document.total': string;
|
|
39
|
+
'trace.iconAlt': string;
|
|
40
|
+
'trace.countByType': string;
|
|
41
|
+
'file.totalInConversation': string;
|
|
42
|
+
'file.download': string;
|
|
43
|
+
'file.previewTitle': string;
|
|
44
|
+
'file.previewBusy': string;
|
|
45
|
+
'file.previewRetryHint': string;
|
|
46
|
+
'file.viewAll': string;
|
|
47
|
+
'quote.name': string;
|
|
48
|
+
'quote.currentVideo': string;
|
|
49
|
+
'quote.currentCourseVideo': string;
|
|
50
|
+
'quote.relatedVideos': string;
|
|
51
|
+
'quote.courseTooltip': string;
|
|
52
|
+
'quote.maxResources': string;
|
|
53
|
+
'quote.imageAlt': string;
|
|
54
|
+
'quote.durationMinutes': string;
|
|
55
|
+
'quote.empty': string;
|
|
56
|
+
'reasoning.deepThinking': string;
|
|
57
|
+
'reasoning.startAnalysis': string;
|
|
58
|
+
'reasoning.status.thinking': string;
|
|
59
|
+
'reasoning.status.completed': string;
|
|
60
|
+
'reasoning.status.stopped': string;
|
|
61
|
+
'course.jumpUnsupported': string;
|
|
62
|
+
'course.noValidCourse': string;
|
|
63
|
+
'course.noRights': string;
|
|
64
|
+
'course.noPermission': string;
|
|
65
|
+
'course.searchSummary': string;
|
|
66
|
+
'course.viewMore': string;
|
|
67
|
+
'course.totalInConversation': string;
|
|
68
|
+
'course.viewCourse': string;
|
|
69
|
+
'course.coverAlt': string;
|
|
70
|
+
'common.search': string;
|
|
71
|
+
'common.download': string;
|
|
72
|
+
'common.loading': string;
|
|
73
|
+
'common.dataLoading': string;
|
|
74
|
+
'common.pleaseWait': string;
|
|
75
|
+
'common.empty': string;
|
|
76
|
+
'common.delete': string;
|
|
77
|
+
'common.cancel': string;
|
|
78
|
+
'common.retry': string;
|
|
79
|
+
'common.gotIt': string;
|
|
80
|
+
'common.scoreUnit': string;
|
|
81
|
+
'common.networkUnavailable': string;
|
|
82
|
+
'askCard.fileUpload': string;
|
|
83
|
+
'upload.readFailed': string;
|
|
84
|
+
'upload.networkRetry': string;
|
|
85
|
+
'upload.failedMaxRetry': string;
|
|
86
|
+
'upload.retrying': string;
|
|
87
|
+
'upload.clickToUpload': string;
|
|
88
|
+
'upload.limitExceeded': string;
|
|
89
|
+
'upload.sizeExceeded': string;
|
|
90
|
+
'upload.fileFailedWithName': string;
|
|
91
|
+
'upload.failed': string;
|
|
92
|
+
'upload.batchLimit': string;
|
|
93
|
+
'upload.typeUnsupported': string;
|
|
94
|
+
'upload.status.uploadFailed': string;
|
|
95
|
+
'upload.status.networkError': string;
|
|
96
|
+
'upload.status.parseFailed': string;
|
|
97
|
+
'upload.status.parsing': string;
|
|
98
|
+
'upload.status.uploading': string;
|
|
99
|
+
'upload.status.retrying': string;
|
|
100
|
+
'upload.parseFailed': string;
|
|
101
|
+
'upload.parseFailedMaxRetry': string;
|
|
102
|
+
'upload.successWithName': string;
|
|
103
|
+
'history.deleteModal.title': string;
|
|
104
|
+
'history.deleteModal.content': string;
|
|
105
|
+
'history.deleteSuccess': string;
|
|
106
|
+
'history.deleteFailed': string;
|
|
107
|
+
'history.noMore': string;
|
|
108
|
+
'history.empty': string;
|
|
109
|
+
'history.fetchFailed': string;
|
|
110
|
+
'slider.newConversation': string;
|
|
111
|
+
'slider.recentConversations': string;
|
|
112
|
+
'voice.recording': string;
|
|
113
|
+
'voice.countdownPrefix': string;
|
|
114
|
+
'voice.countdownSuffix': string;
|
|
115
|
+
'voice.abandon': string;
|
|
116
|
+
'voice.startTranscribe': string;
|
|
117
|
+
'voice.inputUnsupported': string;
|
|
118
|
+
'voice.inputAlt': string;
|
|
119
|
+
'voice.callUnsupported': string;
|
|
120
|
+
'voice.callAlt': string;
|
|
121
|
+
'voice.micPermissionTitle': string;
|
|
122
|
+
'voice.micPermissionDesc': string;
|
|
123
|
+
'voice.readAloud': string;
|
|
124
|
+
'voice.pauseReadAloud': string;
|
|
125
|
+
'voice.noRecognizedContent': string;
|
|
126
|
+
'voice.transcribeFailed': string;
|
|
127
|
+
'voice.stopRecordingFirst': string;
|
|
128
|
+
'voice.playFailed': string;
|
|
129
|
+
'chatApi.conversationIdMissing': string;
|
|
130
|
+
'chatApi.retryFailed': string;
|
|
131
|
+
'chatApi.aiResponding': string;
|
|
132
|
+
'chatApi.retryActionText': string;
|
|
133
|
+
'chatApi.retryUnavailable': string;
|
|
134
|
+
'chatApi.agentMissing': string;
|
|
135
|
+
'chatApi.createFailed': string;
|
|
136
|
+
'chatApi.deleteSuccess': string;
|
|
137
|
+
'chatApi.deleteFailed': string;
|
|
138
|
+
'chatApi.noRequestToCancel': string;
|
|
139
|
+
'messageAction.copy': string;
|
|
140
|
+
'messageAction.likeDone': string;
|
|
141
|
+
'messageAction.like': string;
|
|
142
|
+
'messageAction.dislikeDone': string;
|
|
143
|
+
'messageAction.dislike': string;
|
|
144
|
+
'messageAction.regenerate': string;
|
|
145
|
+
'action.copySuccess': string;
|
|
146
|
+
'action.copyFailed': string;
|
|
147
|
+
'action.likeDone': string;
|
|
148
|
+
'action.dislikeDone': string;
|
|
149
|
+
'action.likeCancel': string;
|
|
150
|
+
'action.dislikeCancel': string;
|
|
151
|
+
'action.failed': string;
|
|
152
|
+
'conversationDelete.title': string;
|
|
153
|
+
'conversationDelete.content': string;
|
|
154
|
+
'fileValidation.uploadFailed': string;
|
|
155
|
+
'fileValidation.parseFailed': string;
|
|
156
|
+
'fileValidation.uploading': string;
|
|
157
|
+
'fileValidation.parsing': string;
|
|
158
|
+
'fileValidation.retrying': string;
|
|
159
|
+
'polling.timeoutStopped': string;
|
|
160
|
+
'common.requestTimeout': string;
|
|
161
|
+
'common.searchCourseFailed': string;
|
|
162
|
+
'excel.steps.start': string;
|
|
163
|
+
'excel.steps.parse': string;
|
|
164
|
+
'excel.steps.build': string;
|
|
165
|
+
'excel.steps.evaluate': string;
|
|
166
|
+
'excel.steps.determine': string;
|
|
167
|
+
'excel.steps.generate': string;
|
|
168
|
+
'excel.analyzing': string;
|
|
169
|
+
'excel.analyzingDesc': string;
|
|
170
|
+
'excel.finishing': string;
|
|
171
|
+
'excel.finished': string;
|
|
172
|
+
'excel.retry': string;
|
|
173
|
+
'excel.defaultFileName': string;
|
|
174
|
+
'excel.download': string;
|
|
175
|
+
'aiDialogue.newConversation': string;
|
|
176
|
+
'aiDialogue.mutedThinking': string;
|
|
177
|
+
'aiDialogue.muted': string;
|
|
178
|
+
'aiDialogue.connecting': string;
|
|
179
|
+
'aiDialogue.listening': string;
|
|
180
|
+
'aiDialogue.interrupt': string;
|
|
181
|
+
'aiDialogue.reconnect': string;
|
|
182
|
+
'aiDialogue.startSpeaking': string;
|
|
183
|
+
'aiDialogue.thinking': string;
|
|
184
|
+
'aiDialogue.micPermissionRequired': string;
|
|
185
|
+
'aiDialogue.micPermissionDenied': string;
|
|
186
|
+
'aiDialogue.networkError': string;
|
|
187
|
+
'aiDialogue.reloadConfirm': string;
|
|
188
|
+
'aiDialogue.closeCaptions': string;
|
|
189
|
+
'aiDialogue.openCaptions': string;
|
|
190
|
+
'aiDialogue.pleaseSpeak': string;
|
|
191
|
+
'aiDialogue.listeningEllipsis': string;
|
|
192
|
+
'aiDialogue.closeMic': string;
|
|
193
|
+
'aiDialogue.openMic': string;
|
|
194
|
+
'aiDialogue.hangUp': string;
|
|
195
|
+
'aiDialogue.unsupportedCall': string;
|
|
196
|
+
'workflow.querying': string;
|
|
197
|
+
'workflow.terminated': string;
|
|
198
|
+
'workflow.calling': string;
|
|
199
|
+
'workflow.defaultName': string;
|
|
200
|
+
'voice.error.connectFailed': string;
|
|
201
|
+
'voice.error.sendStartFailed': string;
|
|
202
|
+
'voice.error.micPermissionDenied': string;
|
|
203
|
+
'voice.error.stopRecordFailed': string;
|
|
204
|
+
'voice.error.noRecordToStop': string;
|
|
205
|
+
'voice.error.noConnection': string;
|
|
206
|
+
'voice.error.sendEndFailed': string;
|
|
207
|
+
'voice.error.initFailed': string;
|
|
208
|
+
'voice.error.requestFailed': string;
|
|
209
|
+
'voice.error.streamError': string;
|
|
210
|
+
'voice.error.needWebSocket': string;
|
|
211
|
+
'voice.error.inputEmpty': string;
|
|
212
|
+
'voice.error.sendTextFailed': string;
|
|
213
|
+
'voice.error.blobError': string;
|
|
214
|
+
'voice.error.blobFormatError': string;
|
|
215
|
+
};
|
|
216
|
+
export default enUS;
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
var enUS = {
|
|
2
|
+
'common.serviceError': 'Service unavailable',
|
|
3
|
+
'common.workflowRunningOnOtherDevice': 'The current workflow is running on another device. Please wait a moment, then refresh and try again.',
|
|
4
|
+
'common.contentTooLarge': 'The content is too large. Please simplify it and start a new conversation.',
|
|
5
|
+
// Sidebar
|
|
6
|
+
'sidebar.knowledgeTrace': 'Sources',
|
|
7
|
+
'sidebar.fileList': 'All',
|
|
8
|
+
'sidebar.reasoningSearch': 'Search Sources',
|
|
9
|
+
'sidebar.searchCourseList': 'Search Results',
|
|
10
|
+
// KnowledgeTraceContent
|
|
11
|
+
'knowledgeTrace.type.document': 'Document',
|
|
12
|
+
'knowledgeTrace.type.video': 'Video',
|
|
13
|
+
'knowledgeTrace.type.course': 'Course',
|
|
14
|
+
// ReasoningSearch
|
|
15
|
+
'reasoningSearch.summary': 'Search Results',
|
|
16
|
+
// ChatInput
|
|
17
|
+
'chatInput.maxLength': 'Maximum 10000 characters',
|
|
18
|
+
'chatInput.uploadLimitOne': 'Upload limit is one file',
|
|
19
|
+
'chatInput.flowUnsupported': 'This button is not supported in the current flow. Please wait for the current flow to finish or follow the instructions on the chat card.',
|
|
20
|
+
'chatInput.uploadFile': 'Upload File',
|
|
21
|
+
'chatInput.newConversation': 'New Chat',
|
|
22
|
+
'chatInput.deepThinkTip': 'System intelligently switches thinking mode',
|
|
23
|
+
'chatInput.deepThinkModeAuto': 'Deep Think: Auto',
|
|
24
|
+
'chatInput.fetchingVoice': 'Fetching voice content...',
|
|
25
|
+
'chatInput.voiceCallUnsupported': 'Voice call is not supported in the current flow',
|
|
26
|
+
'chatInput.micPermissionRequired': 'Microphone access required',
|
|
27
|
+
// AnswerItem
|
|
28
|
+
'answer.taskCompleted': 'Task completed!',
|
|
29
|
+
'answer.stopped': 'Stopped',
|
|
30
|
+
'answer.courseRecommend': 'Related Courses',
|
|
31
|
+
'answer.allCourses': 'All Courses',
|
|
32
|
+
// Trace Lists
|
|
33
|
+
'trace.jumpUnsupported': 'Source jump is not supported on this platform',
|
|
34
|
+
'trace.video.coverAlt': 'Video cover',
|
|
35
|
+
'trace.video.playAlt': 'Play button',
|
|
36
|
+
'trace.video.segment': 'Video segment: {{start}} - {{end}}',
|
|
37
|
+
'trace.video.invalid': 'Video invalid',
|
|
38
|
+
'trace.video.total': '{{count}} videos in this conversation',
|
|
39
|
+
'trace.course.coverAlt': 'Course cover',
|
|
40
|
+
'trace.course.invalid': 'Course invalid',
|
|
41
|
+
'trace.course.total': '{{count}} courses in this conversation',
|
|
42
|
+
'trace.document.coverAlt': 'Document image',
|
|
43
|
+
'trace.document.invalid': 'Document invalid',
|
|
44
|
+
'trace.document.total': '{{count}} documents in this conversation',
|
|
45
|
+
'trace.iconAlt': 'Knowledge source icon',
|
|
46
|
+
'trace.countByType': '{{count}} {{type}}',
|
|
47
|
+
// File Card
|
|
48
|
+
'file.totalInConversation': '{{count}} documents in this conversation',
|
|
49
|
+
'file.download': 'Download',
|
|
50
|
+
'file.previewTitle': 'Document Preview',
|
|
51
|
+
'file.previewBusy': 'Sorry, service is busy',
|
|
52
|
+
'file.previewRetryHint': 'Please click retry to refresh preview, or download to view',
|
|
53
|
+
'file.viewAll': 'All',
|
|
54
|
+
// Quote
|
|
55
|
+
'quote.name': 'Name',
|
|
56
|
+
'quote.currentVideo': 'Current Video',
|
|
57
|
+
'quote.currentCourseVideo': 'Current Course Video',
|
|
58
|
+
'quote.relatedVideos': 'Related Videos',
|
|
59
|
+
'quote.courseTooltip': 'Cited Course',
|
|
60
|
+
'quote.maxResources': 'Maximum 10 resources',
|
|
61
|
+
'quote.imageAlt': 'Cited resource image',
|
|
62
|
+
'quote.durationMinutes': 'Duration {{minutes}} min',
|
|
63
|
+
'quote.empty': 'No resources cited',
|
|
64
|
+
// Reasoning
|
|
65
|
+
'reasoning.deepThinking': 'Deep Thinking',
|
|
66
|
+
'reasoning.startAnalysis': 'Start Analysis',
|
|
67
|
+
'reasoning.status.thinking': 'Thinking',
|
|
68
|
+
'reasoning.status.completed': 'Thinking Completed',
|
|
69
|
+
'reasoning.status.stopped': 'Thinking Stopped',
|
|
70
|
+
// Course
|
|
71
|
+
'course.jumpUnsupported': 'Jumping to view course is not supported on this platform',
|
|
72
|
+
'course.noValidCourse': 'No valid course to view',
|
|
73
|
+
'course.noRights': 'No Access Rights',
|
|
74
|
+
'course.noPermission': 'No Access Rights',
|
|
75
|
+
'course.searchSummary': 'Found {{count}} related items',
|
|
76
|
+
'course.viewMore': 'View More',
|
|
77
|
+
'course.totalInConversation': '{{count}} courses in this conversation',
|
|
78
|
+
'course.viewCourse': 'View Course',
|
|
79
|
+
'course.coverAlt': 'Course Cover',
|
|
80
|
+
// Common
|
|
81
|
+
'common.search': 'Search',
|
|
82
|
+
'common.download': 'Download',
|
|
83
|
+
'common.loading': 'Loading...',
|
|
84
|
+
'common.dataLoading': 'Data loading...',
|
|
85
|
+
'common.pleaseWait': 'Please wait...',
|
|
86
|
+
'common.empty': 'No content',
|
|
87
|
+
'common.delete': 'Delete',
|
|
88
|
+
'common.cancel': 'Cancel',
|
|
89
|
+
'common.retry': 'Retry',
|
|
90
|
+
'common.gotIt': 'Got it',
|
|
91
|
+
'common.scoreUnit': 'Points',
|
|
92
|
+
'common.networkUnavailable': 'Network unavailable',
|
|
93
|
+
// AskCard
|
|
94
|
+
'askCard.fileUpload': 'File Upload',
|
|
95
|
+
// Upload
|
|
96
|
+
'upload.readFailed': 'File read failed',
|
|
97
|
+
'upload.networkRetry': 'Network error, waiting to retry',
|
|
98
|
+
'upload.failedMaxRetry': 'Upload failed, max retries reached',
|
|
99
|
+
'upload.retrying': 'Upload failed, retrying ({{current}}/{{total}})',
|
|
100
|
+
'upload.clickToUpload': 'Click to Upload',
|
|
101
|
+
'upload.limitExceeded': 'Maximum {{limit}} files allowed',
|
|
102
|
+
'upload.sizeExceeded': 'File size exceeded',
|
|
103
|
+
'upload.fileFailedWithName': '{{name}} upload failed',
|
|
104
|
+
'upload.failed': 'Upload failed',
|
|
105
|
+
'upload.batchLimit': 'Only {{limit}} files supported per batch',
|
|
106
|
+
'upload.typeUnsupported': 'File type not supported',
|
|
107
|
+
'upload.status.uploadFailed': 'Upload Failed',
|
|
108
|
+
'upload.status.networkError': 'Network Error',
|
|
109
|
+
'upload.status.parseFailed': 'Parse Failed',
|
|
110
|
+
'upload.status.parsing': 'Parsing...',
|
|
111
|
+
'upload.status.uploading': 'Uploading...',
|
|
112
|
+
'upload.status.retrying': 'Retrying...',
|
|
113
|
+
'upload.parseFailed': 'File parse failed',
|
|
114
|
+
'upload.parseFailedMaxRetry': 'File parse failed, max retries reached',
|
|
115
|
+
'upload.successWithName': '{{name}} uploaded successfully',
|
|
116
|
+
// History
|
|
117
|
+
'history.deleteModal.title': 'Delete Conversation Permanently',
|
|
118
|
+
'history.deleteModal.content': 'This conversation record will be permanently deleted and cannot be recovered or undone. Are you sure?',
|
|
119
|
+
'history.deleteSuccess': 'Deleted successfully',
|
|
120
|
+
'history.deleteFailed': 'Delete failed',
|
|
121
|
+
'history.noMore': 'No more records',
|
|
122
|
+
'history.empty': 'No recent conversations',
|
|
123
|
+
'history.fetchFailed': 'Failed to fetch history',
|
|
124
|
+
// Slider
|
|
125
|
+
'slider.newConversation': 'New Chat',
|
|
126
|
+
'slider.recentConversations': 'Recent Chats',
|
|
127
|
+
// Voice
|
|
128
|
+
'voice.recording': 'Listening',
|
|
129
|
+
'voice.countdownPrefix': '(Countdown',
|
|
130
|
+
'voice.countdownSuffix': 's)',
|
|
131
|
+
'voice.abandon': 'Cancel Transcription',
|
|
132
|
+
'voice.startTranscribe': 'Start Transcription',
|
|
133
|
+
'voice.inputUnsupported': 'Voice input not supported in current work flow',
|
|
134
|
+
'voice.inputAlt': 'Voice Input',
|
|
135
|
+
'voice.callUnsupported': 'Voice call not supported in current work flow',
|
|
136
|
+
'voice.callAlt': 'Voice Call',
|
|
137
|
+
'voice.micPermissionTitle': 'Microphone permission not granted',
|
|
138
|
+
'voice.micPermissionDesc': 'Voice calls require microphone access in your browser. Please go to settings to enable it.',
|
|
139
|
+
'voice.readAloud': 'Read aloud',
|
|
140
|
+
'voice.pauseReadAloud': 'Pause reading',
|
|
141
|
+
'voice.noRecognizedContent': 'No voice content recognized',
|
|
142
|
+
'voice.transcribeFailed': 'Transcription failed, please retry',
|
|
143
|
+
'voice.stopRecordingFirst': 'Please stop recording first',
|
|
144
|
+
'voice.playFailed': 'Voice playback failed',
|
|
145
|
+
// Chat API
|
|
146
|
+
'chatApi.conversationIdMissing': 'Conversation ID missing',
|
|
147
|
+
'chatApi.retryFailed': 'Retry failed',
|
|
148
|
+
'chatApi.aiResponding': 'AI is responding, please wait',
|
|
149
|
+
'chatApi.retryActionText': 'Retry',
|
|
150
|
+
'chatApi.retryUnavailable': 'Retry unavailable for this message',
|
|
151
|
+
'chatApi.agentMissing': 'Please associate an agent first',
|
|
152
|
+
'chatApi.createFailed': 'Failed to create conversation',
|
|
153
|
+
'chatApi.deleteSuccess': 'Conversation deleted successfully',
|
|
154
|
+
'chatApi.deleteFailed': 'Failed to delete conversation',
|
|
155
|
+
'chatApi.noRequestToCancel': 'No request to cancel',
|
|
156
|
+
// Message Action
|
|
157
|
+
'messageAction.copy': 'Copy',
|
|
158
|
+
'messageAction.likeDone': 'Liked',
|
|
159
|
+
'messageAction.like': 'Like',
|
|
160
|
+
'messageAction.dislikeDone': 'Disliked',
|
|
161
|
+
'messageAction.dislike': 'Dislike',
|
|
162
|
+
'messageAction.regenerate': 'Regenerate',
|
|
163
|
+
'action.copySuccess': 'Copied successfully',
|
|
164
|
+
'action.copyFailed': 'Copy failed',
|
|
165
|
+
'action.likeDone': 'Liked',
|
|
166
|
+
'action.dislikeDone': 'Disliked',
|
|
167
|
+
'action.likeCancel': 'Like canceled',
|
|
168
|
+
'action.dislikeCancel': 'Dislike canceled',
|
|
169
|
+
'action.failed': 'Operation failed',
|
|
170
|
+
// Conversation Delete
|
|
171
|
+
'conversationDelete.title': 'Are you sure you want to delete this conversation?',
|
|
172
|
+
'conversationDelete.content': 'This action is irreversible',
|
|
173
|
+
// File Validation
|
|
174
|
+
'fileValidation.uploadFailed': 'File upload failed, please retry',
|
|
175
|
+
'fileValidation.parseFailed': 'File parse failed, please retry',
|
|
176
|
+
'fileValidation.uploading': 'File uploading, please wait',
|
|
177
|
+
'fileValidation.parsing': 'File parsing, please wait',
|
|
178
|
+
'fileValidation.retrying': 'File processing retry, please wait',
|
|
179
|
+
// Polling
|
|
180
|
+
'polling.timeoutStopped': 'Polling timeout exceeded, stopped automatically',
|
|
181
|
+
// Common Errors
|
|
182
|
+
'common.requestTimeout': 'Request timeout',
|
|
183
|
+
'common.searchCourseFailed': 'Failed to search related courses',
|
|
184
|
+
// Excel
|
|
185
|
+
'excel.steps.start': 'Start Core Analysis Module',
|
|
186
|
+
'excel.steps.parse': 'Parse Key Elements',
|
|
187
|
+
'excel.steps.build': 'Build Multi-scenario Solutions',
|
|
188
|
+
'excel.steps.evaluate': 'Evaluate Execution Strategy',
|
|
189
|
+
'excel.steps.determine': 'Determine Optimal Path',
|
|
190
|
+
'excel.steps.generate': 'Generating Output Result',
|
|
191
|
+
'excel.analyzing': 'Analyzing and Generating Template...',
|
|
192
|
+
'excel.analyzingDesc': 'Starting task processing flow. Combining context information, the system has entered deep analysis stage. Please wait 5-10 minutes.',
|
|
193
|
+
'excel.finishing': 'Analysis complete. Result is being generated and prepared for presentation...',
|
|
194
|
+
'excel.finished': 'Analysis complete. Result is being generated and prepared for presentation',
|
|
195
|
+
'excel.retry': 'Retry',
|
|
196
|
+
'excel.defaultFileName': 'Download.xlsx',
|
|
197
|
+
'excel.download': 'Download',
|
|
198
|
+
// AI Chat Dialogue
|
|
199
|
+
'aiDialogue.newConversation': 'New Chat',
|
|
200
|
+
'aiDialogue.mutedThinking': 'You are muted (Thinking)',
|
|
201
|
+
'aiDialogue.muted': 'You are muted',
|
|
202
|
+
'aiDialogue.connecting': 'Connecting',
|
|
203
|
+
'aiDialogue.listening': 'Listening',
|
|
204
|
+
'aiDialogue.interrupt': 'Speak or click to interrupt',
|
|
205
|
+
'aiDialogue.reconnect': 'Click to reconnect',
|
|
206
|
+
'aiDialogue.startSpeaking': 'You can start speaking',
|
|
207
|
+
'aiDialogue.thinking': 'Thinking',
|
|
208
|
+
'aiDialogue.micPermissionRequired': 'Microphone access required',
|
|
209
|
+
'aiDialogue.micPermissionDenied': 'Microphone permission denied',
|
|
210
|
+
'aiDialogue.networkError': 'Network unavailable',
|
|
211
|
+
'aiDialogue.reloadConfirm': 'Reloading will end the current voice call. Continue?',
|
|
212
|
+
'aiDialogue.closeCaptions': 'Close Captions',
|
|
213
|
+
'aiDialogue.openCaptions': 'Open Captions',
|
|
214
|
+
'aiDialogue.pleaseSpeak': 'Please speak',
|
|
215
|
+
'aiDialogue.listeningEllipsis': 'Listening...',
|
|
216
|
+
'aiDialogue.closeMic': 'Close Mic',
|
|
217
|
+
'aiDialogue.openMic': 'Open Mic',
|
|
218
|
+
'aiDialogue.hangUp': 'Hang Up',
|
|
219
|
+
'aiDialogue.unsupportedCall': 'Call display not supported in subsequent flow. You can hang up and continue.',
|
|
220
|
+
// Work Flow
|
|
221
|
+
'workflow.querying': 'Querying available workflows...',
|
|
222
|
+
'workflow.terminated': 'Terminated',
|
|
223
|
+
'workflow.calling': 'Calling {{name}}...',
|
|
224
|
+
'workflow.defaultName': 'Workflow',
|
|
225
|
+
// Voice Stream Errors
|
|
226
|
+
'voice.error.connectFailed': 'Connection failed',
|
|
227
|
+
'voice.error.sendStartFailed': 'Failed to send start: {{message}}',
|
|
228
|
+
'voice.error.micPermissionDenied': 'Microphone permission denied: {{message}}',
|
|
229
|
+
'voice.error.stopRecordFailed': 'Failed to stop recording: {{message}}',
|
|
230
|
+
'voice.error.noRecordToStop': 'No recording to stop',
|
|
231
|
+
'voice.error.noConnection': 'No valid connection',
|
|
232
|
+
'voice.error.sendEndFailed': 'Failed to send end: {{message}}',
|
|
233
|
+
'voice.error.initFailed': 'Tencent Cloud recording not initialized, cannot stop',
|
|
234
|
+
'voice.error.requestFailed': 'Request failed',
|
|
235
|
+
'voice.error.streamError': 'Audio stream error: {{message}}',
|
|
236
|
+
'voice.error.needWebSocket': 'Please establish WebSocket connection first',
|
|
237
|
+
'voice.error.inputEmpty': 'Please enter text to synthesize',
|
|
238
|
+
'voice.error.sendTextFailed': 'Failed to send text: {{message}}',
|
|
239
|
+
'voice.error.blobError': 'Blob to Base64 failed: Result is not a string',
|
|
240
|
+
'voice.error.blobFormatError': 'Blob to Base64 failed: Format exception'
|
|
241
|
+
};
|
|
242
|
+
export default enUS;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
declare const zhCN: {
|
|
2
|
+
'common.serviceError': string;
|
|
3
|
+
'common.workflowRunningOnOtherDevice': string;
|
|
4
|
+
'common.contentTooLarge': string;
|
|
5
|
+
'sidebar.knowledgeTrace': string;
|
|
6
|
+
'sidebar.fileList': string;
|
|
7
|
+
'sidebar.reasoningSearch': string;
|
|
8
|
+
'sidebar.searchCourseList': string;
|
|
9
|
+
'knowledgeTrace.type.document': string;
|
|
10
|
+
'knowledgeTrace.type.video': string;
|
|
11
|
+
'knowledgeTrace.type.course': string;
|
|
12
|
+
'reasoningSearch.summary': string;
|
|
13
|
+
'chatInput.maxLength': string;
|
|
14
|
+
'chatInput.uploadLimitOne': string;
|
|
15
|
+
'chatInput.flowUnsupported': string;
|
|
16
|
+
'chatInput.uploadFile': string;
|
|
17
|
+
'chatInput.newConversation': string;
|
|
18
|
+
'chatInput.deepThinkTip': string;
|
|
19
|
+
'chatInput.deepThinkModeAuto': string;
|
|
20
|
+
'chatInput.fetchingVoice': string;
|
|
21
|
+
'chatInput.voiceCallUnsupported': string;
|
|
22
|
+
'chatInput.micPermissionRequired': string;
|
|
23
|
+
'answer.taskCompleted': string;
|
|
24
|
+
'answer.stopped': string;
|
|
25
|
+
'answer.courseRecommend': string;
|
|
26
|
+
'answer.allCourses': string;
|
|
27
|
+
'trace.jumpUnsupported': string;
|
|
28
|
+
'trace.video.coverAlt': string;
|
|
29
|
+
'trace.video.playAlt': string;
|
|
30
|
+
'trace.video.segment': string;
|
|
31
|
+
'trace.video.invalid': string;
|
|
32
|
+
'trace.video.total': string;
|
|
33
|
+
'trace.course.coverAlt': string;
|
|
34
|
+
'trace.course.invalid': string;
|
|
35
|
+
'trace.course.total': string;
|
|
36
|
+
'trace.document.coverAlt': string;
|
|
37
|
+
'trace.document.invalid': string;
|
|
38
|
+
'trace.document.total': string;
|
|
39
|
+
'trace.iconAlt': string;
|
|
40
|
+
'trace.countByType': string;
|
|
41
|
+
'file.totalInConversation': string;
|
|
42
|
+
'file.download': string;
|
|
43
|
+
'file.previewTitle': string;
|
|
44
|
+
'file.previewBusy': string;
|
|
45
|
+
'file.previewRetryHint': string;
|
|
46
|
+
'file.viewAll': string;
|
|
47
|
+
'quote.name': string;
|
|
48
|
+
'quote.currentVideo': string;
|
|
49
|
+
'quote.currentCourseVideo': string;
|
|
50
|
+
'quote.relatedVideos': string;
|
|
51
|
+
'quote.courseTooltip': string;
|
|
52
|
+
'quote.maxResources': string;
|
|
53
|
+
'quote.imageAlt': string;
|
|
54
|
+
'quote.durationMinutes': string;
|
|
55
|
+
'quote.empty': string;
|
|
56
|
+
'reasoning.deepThinking': string;
|
|
57
|
+
'reasoning.startAnalysis': string;
|
|
58
|
+
'reasoning.status.thinking': string;
|
|
59
|
+
'reasoning.status.completed': string;
|
|
60
|
+
'reasoning.status.stopped': string;
|
|
61
|
+
'course.jumpUnsupported': string;
|
|
62
|
+
'course.noValidCourse': string;
|
|
63
|
+
'course.noRights': string;
|
|
64
|
+
'course.noPermission': string;
|
|
65
|
+
'course.searchSummary': string;
|
|
66
|
+
'course.viewMore': string;
|
|
67
|
+
'course.totalInConversation': string;
|
|
68
|
+
'course.viewCourse': string;
|
|
69
|
+
'course.coverAlt': string;
|
|
70
|
+
'common.search': string;
|
|
71
|
+
'common.download': string;
|
|
72
|
+
'common.loading': string;
|
|
73
|
+
'common.dataLoading': string;
|
|
74
|
+
'common.pleaseWait': string;
|
|
75
|
+
'common.empty': string;
|
|
76
|
+
'common.delete': string;
|
|
77
|
+
'common.cancel': string;
|
|
78
|
+
'common.retry': string;
|
|
79
|
+
'common.gotIt': string;
|
|
80
|
+
'common.scoreUnit': string;
|
|
81
|
+
'common.networkUnavailable': string;
|
|
82
|
+
'askCard.fileUpload': string;
|
|
83
|
+
'upload.readFailed': string;
|
|
84
|
+
'upload.networkRetry': string;
|
|
85
|
+
'upload.failedMaxRetry': string;
|
|
86
|
+
'upload.retrying': string;
|
|
87
|
+
'upload.clickToUpload': string;
|
|
88
|
+
'upload.limitExceeded': string;
|
|
89
|
+
'upload.sizeExceeded': string;
|
|
90
|
+
'upload.fileFailedWithName': string;
|
|
91
|
+
'upload.failed': string;
|
|
92
|
+
'upload.batchLimit': string;
|
|
93
|
+
'upload.typeUnsupported': string;
|
|
94
|
+
'upload.status.uploadFailed': string;
|
|
95
|
+
'upload.status.networkError': string;
|
|
96
|
+
'upload.status.parseFailed': string;
|
|
97
|
+
'upload.status.parsing': string;
|
|
98
|
+
'upload.status.uploading': string;
|
|
99
|
+
'upload.status.retrying': string;
|
|
100
|
+
'upload.parseFailed': string;
|
|
101
|
+
'upload.parseFailedMaxRetry': string;
|
|
102
|
+
'upload.successWithName': string;
|
|
103
|
+
'history.deleteModal.title': string;
|
|
104
|
+
'history.deleteModal.content': string;
|
|
105
|
+
'history.deleteSuccess': string;
|
|
106
|
+
'history.deleteFailed': string;
|
|
107
|
+
'history.noMore': string;
|
|
108
|
+
'history.empty': string;
|
|
109
|
+
'history.fetchFailed': string;
|
|
110
|
+
'slider.newConversation': string;
|
|
111
|
+
'slider.recentConversations': string;
|
|
112
|
+
'voice.recording': string;
|
|
113
|
+
'voice.countdownPrefix': string;
|
|
114
|
+
'voice.countdownSuffix': string;
|
|
115
|
+
'voice.abandon': string;
|
|
116
|
+
'voice.startTranscribe': string;
|
|
117
|
+
'voice.inputUnsupported': string;
|
|
118
|
+
'voice.inputAlt': string;
|
|
119
|
+
'voice.callUnsupported': string;
|
|
120
|
+
'voice.callAlt': string;
|
|
121
|
+
'voice.micPermissionTitle': string;
|
|
122
|
+
'voice.micPermissionDesc': string;
|
|
123
|
+
'voice.readAloud': string;
|
|
124
|
+
'voice.pauseReadAloud': string;
|
|
125
|
+
'voice.noRecognizedContent': string;
|
|
126
|
+
'voice.transcribeFailed': string;
|
|
127
|
+
'voice.stopRecordingFirst': string;
|
|
128
|
+
'voice.playFailed': string;
|
|
129
|
+
'chatApi.conversationIdMissing': string;
|
|
130
|
+
'chatApi.retryFailed': string;
|
|
131
|
+
'chatApi.aiResponding': string;
|
|
132
|
+
'chatApi.retryActionText': string;
|
|
133
|
+
'chatApi.retryUnavailable': string;
|
|
134
|
+
'chatApi.agentMissing': string;
|
|
135
|
+
'chatApi.createFailed': string;
|
|
136
|
+
'chatApi.deleteSuccess': string;
|
|
137
|
+
'chatApi.deleteFailed': string;
|
|
138
|
+
'chatApi.noRequestToCancel': string;
|
|
139
|
+
'messageAction.copy': string;
|
|
140
|
+
'messageAction.likeDone': string;
|
|
141
|
+
'messageAction.like': string;
|
|
142
|
+
'messageAction.dislikeDone': string;
|
|
143
|
+
'messageAction.dislike': string;
|
|
144
|
+
'messageAction.regenerate': string;
|
|
145
|
+
'action.copySuccess': string;
|
|
146
|
+
'action.copyFailed': string;
|
|
147
|
+
'action.likeDone': string;
|
|
148
|
+
'action.dislikeDone': string;
|
|
149
|
+
'action.likeCancel': string;
|
|
150
|
+
'action.dislikeCancel': string;
|
|
151
|
+
'action.failed': string;
|
|
152
|
+
'conversationDelete.title': string;
|
|
153
|
+
'conversationDelete.content': string;
|
|
154
|
+
'fileValidation.uploadFailed': string;
|
|
155
|
+
'fileValidation.parseFailed': string;
|
|
156
|
+
'fileValidation.uploading': string;
|
|
157
|
+
'fileValidation.parsing': string;
|
|
158
|
+
'fileValidation.retrying': string;
|
|
159
|
+
'polling.timeoutStopped': string;
|
|
160
|
+
'common.requestTimeout': string;
|
|
161
|
+
'common.searchCourseFailed': string;
|
|
162
|
+
'excel.steps.start': string;
|
|
163
|
+
'excel.steps.parse': string;
|
|
164
|
+
'excel.steps.build': string;
|
|
165
|
+
'excel.steps.evaluate': string;
|
|
166
|
+
'excel.steps.determine': string;
|
|
167
|
+
'excel.steps.generate': string;
|
|
168
|
+
'excel.analyzing': string;
|
|
169
|
+
'excel.analyzingDesc': string;
|
|
170
|
+
'excel.finishing': string;
|
|
171
|
+
'excel.finished': string;
|
|
172
|
+
'excel.retry': string;
|
|
173
|
+
'excel.defaultFileName': string;
|
|
174
|
+
'excel.download': string;
|
|
175
|
+
'aiDialogue.newConversation': string;
|
|
176
|
+
'aiDialogue.mutedThinking': string;
|
|
177
|
+
'aiDialogue.muted': string;
|
|
178
|
+
'aiDialogue.connecting': string;
|
|
179
|
+
'aiDialogue.listening': string;
|
|
180
|
+
'aiDialogue.interrupt': string;
|
|
181
|
+
'aiDialogue.reconnect': string;
|
|
182
|
+
'aiDialogue.startSpeaking': string;
|
|
183
|
+
'aiDialogue.thinking': string;
|
|
184
|
+
'aiDialogue.micPermissionRequired': string;
|
|
185
|
+
'aiDialogue.micPermissionDenied': string;
|
|
186
|
+
'aiDialogue.networkError': string;
|
|
187
|
+
'aiDialogue.reloadConfirm': string;
|
|
188
|
+
'aiDialogue.closeCaptions': string;
|
|
189
|
+
'aiDialogue.openCaptions': string;
|
|
190
|
+
'aiDialogue.pleaseSpeak': string;
|
|
191
|
+
'aiDialogue.listeningEllipsis': string;
|
|
192
|
+
'aiDialogue.closeMic': string;
|
|
193
|
+
'aiDialogue.openMic': string;
|
|
194
|
+
'aiDialogue.hangUp': string;
|
|
195
|
+
'aiDialogue.unsupportedCall': string;
|
|
196
|
+
'workflow.querying': string;
|
|
197
|
+
'workflow.terminated': string;
|
|
198
|
+
'workflow.calling': string;
|
|
199
|
+
'workflow.defaultName': string;
|
|
200
|
+
'voice.error.connectFailed': string;
|
|
201
|
+
'voice.error.sendStartFailed': string;
|
|
202
|
+
'voice.error.micPermissionDenied': string;
|
|
203
|
+
'voice.error.stopRecordFailed': string;
|
|
204
|
+
'voice.error.noRecordToStop': string;
|
|
205
|
+
'voice.error.noConnection': string;
|
|
206
|
+
'voice.error.sendEndFailed': string;
|
|
207
|
+
'voice.error.initFailed': string;
|
|
208
|
+
'voice.error.requestFailed': string;
|
|
209
|
+
'voice.error.streamError': string;
|
|
210
|
+
'voice.error.needWebSocket': string;
|
|
211
|
+
'voice.error.inputEmpty': string;
|
|
212
|
+
'voice.error.sendTextFailed': string;
|
|
213
|
+
'voice.error.blobError': string;
|
|
214
|
+
'voice.error.blobFormatError': string;
|
|
215
|
+
};
|
|
216
|
+
export default zhCN;
|