fix(frontend): add cancelled, finalizing, draft statuses to parse-status dropdown
The '全部状态' (All Statuses) filter dropdown on the knowledge base documents page was missing the 'cancelled', 'finalizing', and 'draft' status options, even though documents can reach these states (e.g. cancelled via the '停止解析' button). Added all three status options and their i18n translations for zh-CN, en-US, ru-RU, and ko-KR.
This commit is contained in:
@@ -654,7 +654,10 @@ export default {
|
||||
parseStatusPending: 'Pending',
|
||||
parseStatusProcessing: 'Processing',
|
||||
parseStatusCompleted: 'Completed',
|
||||
parseStatusFinalizing: 'Optimizing',
|
||||
parseStatusFailed: 'Failed',
|
||||
parseStatusCancelled: 'Cancelled',
|
||||
parseStatusDraft: 'Draft',
|
||||
sourceFilter: 'Source',
|
||||
allSources: 'All Sources',
|
||||
sourceWeb: 'Web',
|
||||
|
||||
@@ -660,7 +660,10 @@ export default {
|
||||
parseStatusPending: "대기 중",
|
||||
parseStatusProcessing: "처리 중",
|
||||
parseStatusCompleted: "완료됨",
|
||||
parseStatusFinalizing: "최적화 중",
|
||||
parseStatusFailed: "실패",
|
||||
parseStatusCancelled: "취소됨",
|
||||
parseStatusDraft: "초안",
|
||||
sourceFilter: "출처",
|
||||
allSources: "모든 출처",
|
||||
sourceWeb: "웹",
|
||||
|
||||
@@ -578,7 +578,10 @@ export default {
|
||||
parseStatusPending: 'Ожидание',
|
||||
parseStatusProcessing: 'Обработка',
|
||||
parseStatusCompleted: 'Завершено',
|
||||
parseStatusFinalizing: 'Оптимизация',
|
||||
parseStatusFailed: 'Ошибка',
|
||||
parseStatusCancelled: 'Отменено',
|
||||
parseStatusDraft: 'Черновик',
|
||||
sourceFilter: 'Источник',
|
||||
allSources: 'Все источники',
|
||||
sourceWeb: 'Веб',
|
||||
|
||||
@@ -658,7 +658,10 @@ export default {
|
||||
parseStatusPending: "等待中",
|
||||
parseStatusProcessing: "处理中",
|
||||
parseStatusCompleted: "已完成",
|
||||
parseStatusFinalizing: "整理优化中",
|
||||
parseStatusFailed: "失败",
|
||||
parseStatusCancelled: "已取消",
|
||||
parseStatusDraft: "草稿",
|
||||
sourceFilter: "来源",
|
||||
allSources: "全部来源",
|
||||
sourceWeb: "网页",
|
||||
|
||||
@@ -528,6 +528,9 @@ const parseStatusOptions = computed(() => [
|
||||
{ label: t('knowledgeBase.parseStatusProcessing'), value: 'processing' },
|
||||
{ label: t('knowledgeBase.parseStatusCompleted'), value: 'completed' },
|
||||
{ label: t('knowledgeBase.parseStatusFailed'), value: 'failed' },
|
||||
{ label: t('knowledgeBase.parseStatusCancelled'), value: 'cancelled' },
|
||||
{ label: t('knowledgeBase.parseStatusFinalizing'), value: 'finalizing' },
|
||||
{ label: t('knowledgeBase.parseStatusDraft'), value: 'draft' },
|
||||
]);
|
||||
const selectedSource = ref('');
|
||||
// Source filter combines ingestion channels and the "manual"/"url" virtual
|
||||
|
||||
Reference in New Issue
Block a user