Skip to content

Commit 463ad49

Browse files
perf: optimization translation and style
1 parent ee7cc80 commit 463ad49

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ui/src/locales/lang/en-US/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
loading: 'Loading',
66
noMore: 'No more! ',
77
selectParagraph: {
8-
title: 'Select Paragraph',
8+
title: 'Select Segments',
99
error: 'Process only the failed segments',
1010
all: 'All Segments'
1111
}

ui/src/views/document/component/EmbeddingContentDialog.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
v-model="dialogVisible"
44
:title="$t('components.selectParagraph.title')"
55
:before-close="close"
6+
width="450"
67
>
78
<el-radio-group v-model="state" class="radio-block">
89
<el-radio value="error" size="large" class="mb-16">{{
910
$t('components.selectParagraph.error')
1011
}}</el-radio>
11-
<el-radio value="all" size="large">{{
12-
$t('components.selectParagraph.all')
13-
}}</el-radio>
12+
<el-radio value="all" size="large">{{ $t('components.selectParagraph.all') }}</el-radio>
1413
</el-radio-group>
1514
<template #footer>
1615
<div class="dialog-footer">

0 commit comments

Comments
 (0)