Skip to content

Commit 808fc7c

Browse files
fix: language
1 parent b52b01c commit 808fc7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ui/src/components/ai-chat/KnowledgeSource.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<div class="border-t color-secondary flex-between mt-12" style="padding-top: 12px">
4545
<div>
46-
<span class="mr-8"> {{ $t('chat.KnowledgeSource.consume') }} tokens: {{ data?.message_tokens + data?.answer_tokens }} </span>
46+
<span class="mr-8"> {{ $t('chat.KnowledgeSource.consume') }}: {{ data?.message_tokens + data?.answer_tokens }} </span>
4747
<span> {{ $t('chat.KnowledgeSource.consumeTime') }}: {{ data?.run_time?.toFixed(2) }} s</span>
4848
</div>
4949
<el-button

ui/src/locales/lang/en-US/ai-chat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ export default {
88
chatId: 'Chat ID',
99
userInput: 'User Input',
1010
quote: 'Quote',
11-
download: 'Click to Download File',
11+
download: 'Download File',
1212
passwordValidator: {
1313
title: 'Enter password to open the link',
1414
errorMessage1: 'Password cannot be empty',
1515
errorMessage2: 'Incorrect password'
1616
},
1717
operation: {
18-
play: 'Click to Play',
18+
play: 'Play',
1919
pause: 'Stop',
2020
regeneration: 'Re-answer',
2121
like: 'Agree',

0 commit comments

Comments
 (0)