docs(用例管理): 用例管理一揽子文案优化

--bug=1036321 --user=宋天阳 【用例管理】回收站-彻底删除提示与设计稿一致 https://www.tapd.cn/55049933/s/1466846;--bug=1036372 --user=宋天阳 【用例管理】批量复制/移动-搜索分组名称未匹配到时-提示暂无数据 https://www.tapd.cn/55049933/s/1466847
This commit is contained in:
song-tianyang 2024-02-29 15:20:26 +08:00 committed by 刘瑞斌
parent 6dd36aaf2d
commit f545fb9ccb
4 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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: {

View File

@ -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',

View File

@ -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': '复制用例',