diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue index e422221a84..e956cf05e3 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTree.vue @@ -13,7 +13,7 @@ :keyword="groupKeyword" :node-more-actions="caseMoreActions" :expand-all="props.isExpandAll" - :empty-text="t('caseManagement.featureCase.caseEmptyContent')" + :empty-text="t('common.noData')" draggable :virtual-list-props="virtualListProps" block-node diff --git a/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue index 5cbaa61e67..55e519445c 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue @@ -731,8 +731,8 @@ async function handleBatchDelete() { openModal({ type: 'error', - title: t('caseManagement.featureCase.batchDelete', { number: batchParams.value.currentSelectCount }), - content: t('caseManagement.featureCase.cleanOutDeleteTip'), + title: t('caseManagement.featureCase.batchDeleteCompleted', {number: batchParams.value.currentSelectCount}), + content: t('caseManagement.featureCase.cleanOutDeleteOnRecycleTip'), okText: t('common.confirmDelete'), cancelText: t('common.cancel'), okButtonProps: { @@ -791,8 +791,8 @@ function handleBatchCleanOut(record: CaseManagementTable) { openModal({ type: 'error', - title: t('caseManagement.featureCase.deleteCaseTitle', { name: characterLimit(record.name) }), - content: t('caseManagement.featureCase.cleanOutDeleteTip'), + title: t('caseManagement.featureCase.completedDeleteCaseTitle', {name: characterLimit(record.name)}), + content: t('caseManagement.featureCase.cleanOutDeleteOnRecycleTip'), okText: t('common.confirmDelete'), cancelText: t('common.cancel'), okButtonProps: { diff --git a/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts b/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts index 53641c2c21..9200f19589 100644 --- a/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts +++ b/frontend/src/views/case-management/caseManagementFeature/locale/en-US.ts @@ -78,6 +78,7 @@ export default { 'caseManagement.featureCase.selectAttrs': 'select attributes', 'caseManagement.featureCase.batchUpdate': 'Batch update to', 'caseManagement.featureCase.batchDelete': 'Are you sure to delete the use case {number} ?', + 'caseManagement.featureCase.batchDeleteCompleted': 'Are you sure to completed delete the use case {number} ?', 'caseManagement.featureCase.batchMoveTitle': 'Batch Move', 'caseManagement.featureCase.batchMove': '({number} selected use cases)', 'caseManagement.featureCase.batchMoveSelectedModules': 'Batch Move', @@ -115,6 +116,7 @@ export default { 'caseManagement.featureCase.recoveredSuccessfully': 'Recovered successfully', 'caseManagement.featureCase.cleanOutDeleteTip': 'After deletion, the data will not be recovered, please operate with caution!', + 'caseManagement.featureCase.cleanOutDeleteOnRecycleTip': 'After deletion, the case will not be recovered, please operate with caution!', 'caseManagement.featureCase.pleaseEnterInputTags': 'Please enter content Enter add label', 'caseManagement.featureCase.copy': 'Copy', 'caseManagement.featureCase.copyCase': 'Copy case', diff --git a/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts b/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts index 7b34a61f79..fd0cded78f 100644 --- a/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts +++ b/frontend/src/views/case-management/caseManagementFeature/locale/zh-CN.ts @@ -50,6 +50,7 @@ export default { 'caseManagement.featureCase.tableColumnActions': '操作', 'caseManagement.featureCase.beforeDeleteCase': '删除后的内容将放入回收站,可在回收站内进行恢复数据', 'caseManagement.featureCase.deleteCaseTitle': '确认删除 {name} 用例 ?', + 'caseManagement.featureCase.completedDeleteCaseTitle': '确认彻底删除 {name} 用例 ?', 'caseManagement.featureCase.export': '导出', 'caseManagement.featureCase.exportExcel': '导出 Excel 表格 (xlsx)', 'caseManagement.featureCase.exportXMind': '导出思维导图 (xmind)', @@ -76,6 +77,7 @@ export default { 'caseManagement.featureCase.selectAttrs': '选择属性', 'caseManagement.featureCase.batchUpdate': '批量更新为', 'caseManagement.featureCase.batchDelete': '确认删除 {number} 条用例吗?', + 'caseManagement.featureCase.batchDeleteCompleted': '确认彻底删除 {number} 条用例吗?', 'caseManagement.featureCase.batchMoveTitle': '批量移动', 'caseManagement.featureCase.batchMove': '(已选 { number } 条用例)', 'caseManagement.featureCase.batchMoveSelectedModules': '移动 { number } 个用例至已选模块', @@ -113,6 +115,7 @@ export default { 'caseManagement.featureCase.batchCleanOut': '彻底删除', 'caseManagement.featureCase.recoveredSuccessfully': '恢复成功', 'caseManagement.featureCase.cleanOutDeleteTip': '删除后,数据将无法恢复,请谨慎操作!', + 'caseManagement.featureCase.cleanOutDeleteOnRecycleTip': '删除后,用例无法恢复,请谨慎操作!', 'caseManagement.featureCase.pleaseEnterInputTags': '请输入内容回车添加标签', 'caseManagement.featureCase.copy': '复制', 'caseManagement.featureCase.copyCase': '复制用例',