yangdx
commited on
Commit
·
41a154a
1
Parent(s):
b785968
Add unit to progress indicator on pipeline status dialog
Browse files
lightrag_webui/src/components/documents/PipelineStatusDialog.tsx
CHANGED
@@ -159,7 +159,7 @@ export default function PipelineStatusDialog({
|
|
159 |
<div>{t('documentPanel.pipelineStatus.jobName')}: {status?.job_name || '-'}</div>
|
160 |
<div className="flex justify-between">
|
161 |
<span>{t('documentPanel.pipelineStatus.startTime')}: {status?.job_start ? new Date(status.job_start).toLocaleString() : '-'}</span>
|
162 |
-
<span>{t('documentPanel.pipelineStatus.progress')}: {status ? `${status.cur_batch}/${status.batchs}` : '-'}</span>
|
163 |
</div>
|
164 |
</div>
|
165 |
|
|
|
159 |
<div>{t('documentPanel.pipelineStatus.jobName')}: {status?.job_name || '-'}</div>
|
160 |
<div className="flex justify-between">
|
161 |
<span>{t('documentPanel.pipelineStatus.startTime')}: {status?.job_start ? new Date(status.job_start).toLocaleString() : '-'}</span>
|
162 |
+
<span>{t('documentPanel.pipelineStatus.progress')}: {status ? `${status.cur_batch}/${status.batchs} ${t('documentPanel.pipelineStatus.unit')}` : '-'}</span>
|
163 |
</div>
|
164 |
</div>
|
165 |
|
lightrag_webui/src/locales/ar.json
CHANGED
@@ -99,6 +99,7 @@
|
|
99 |
"jobName": "اسم المهمة",
|
100 |
"startTime": "وقت البدء",
|
101 |
"progress": "التقدم",
|
|
|
102 |
"latestMessage": "آخر رسالة",
|
103 |
"historyMessages": "سجل الرسائل",
|
104 |
"errors": {
|
|
|
99 |
"jobName": "اسم المهمة",
|
100 |
"startTime": "وقت البدء",
|
101 |
"progress": "التقدم",
|
102 |
+
"unit": "دفعة",
|
103 |
"latestMessage": "آخر رسالة",
|
104 |
"historyMessages": "سجل الرسائل",
|
105 |
"errors": {
|
lightrag_webui/src/locales/en.json
CHANGED
@@ -99,6 +99,7 @@
|
|
99 |
"jobName": "Job Name",
|
100 |
"startTime": "Start Time",
|
101 |
"progress": "Progress",
|
|
|
102 |
"latestMessage": "Latest Message",
|
103 |
"historyMessages": "History Message",
|
104 |
"errors": {
|
|
|
99 |
"jobName": "Job Name",
|
100 |
"startTime": "Start Time",
|
101 |
"progress": "Progress",
|
102 |
+
"unit": "batch",
|
103 |
"latestMessage": "Latest Message",
|
104 |
"historyMessages": "History Message",
|
105 |
"errors": {
|
lightrag_webui/src/locales/fr.json
CHANGED
@@ -99,6 +99,7 @@
|
|
99 |
"jobName": "Nom du travail",
|
100 |
"startTime": "Heure de début",
|
101 |
"progress": "Progression",
|
|
|
102 |
"latestMessage": "Dernier message",
|
103 |
"historyMessages": "Historique des messages",
|
104 |
"errors": {
|
|
|
99 |
"jobName": "Nom du travail",
|
100 |
"startTime": "Heure de début",
|
101 |
"progress": "Progression",
|
102 |
+
"unit": "lot",
|
103 |
"latestMessage": "Dernier message",
|
104 |
"historyMessages": "Historique des messages",
|
105 |
"errors": {
|
lightrag_webui/src/locales/zh.json
CHANGED
@@ -99,6 +99,7 @@
|
|
99 |
"jobName": "作业名称",
|
100 |
"startTime": "开始时间",
|
101 |
"progress": "进度",
|
|
|
102 |
"latestMessage": "最新消息",
|
103 |
"historyMessages": "历史消息",
|
104 |
"errors": {
|
|
|
99 |
"jobName": "作业名称",
|
100 |
"startTime": "开始时间",
|
101 |
"progress": "进度",
|
102 |
+
"unit": "批",
|
103 |
"latestMessage": "最新消息",
|
104 |
"historyMessages": "历史消息",
|
105 |
"errors": {
|