refactor: 优化文案

--story=1015272 --user=陈建星 用户反馈优化 https://www.tapd.cn/55049933/s/1523789
This commit is contained in:
AgAngle 2024-05-30 18:22:09 +08:00 committed by 刘瑞斌
parent 2bb7b7a8af
commit 6653d5497d
13 changed files with 20 additions and 15 deletions

View File

@ -57,7 +57,7 @@
allow-clear
:max-length="255"
/>
<a-tooltip :content="isExpandAll ? t('apiScenario.collapseAll') : t('apiScenario.expandAllStep')">
<a-tooltip :content="isExpandAll ? t('apiScenario.collapseAll') : t('ms.comment.expandAllModule')">
<a-button
type="outline"
class="expand-btn arco-btn-outline--secondary"

View File

@ -7,4 +7,5 @@ export default {
'ms.comment.deleteConfirm': 'Are you sure you want to delete this comment?',
'ms.comment.deleteContent': 'After deletion, the comment cannot be replied to. Please proceed with caution.',
'ms.comment.enterPlaceHolderTip': 'Please enter a comment and press ⌘ + Enter to finish.',
'ms.comment.expandAllModule': 'Expand all submodules',
};

View File

@ -7,4 +7,5 @@ export default {
'ms.comment.deleteConfirm': '确认删除该评论吗?',
'ms.comment.deleteContent': '删除后,评论无法回复,请谨慎操作',
'ms.comment.enterPlaceHolderTip': '请输入评论,⌘ + Enter 结束',
'ms.comment.expandAllModule': '展开全部子模块',
};

View File

@ -33,7 +33,7 @@
allow-clear
:max-length="255"
></a-input>
<a-tooltip :content="isExpandAll ? t('apiScenario.collapseAll') : t('apiScenario.expandAllStep')">
<a-tooltip :content="isExpandAll ? t('apiScenario.collapseAll') : t('ms.comment.expandAllModule')">
<a-button
type="outline"
class="expand-btn arco-btn-outline--secondary"

View File

@ -28,7 +28,7 @@ export default {
'ms.personal.changePswTip': 'After changing the password, you need to use the new password to log in to the system',
'ms.personal.updatePswSuccess':
'The password has been modified successfully and will automatically log out in {count} seconds. Please log in with the new password.',
'ms.personal.apiKeyTip': 'After adding, you can access MeterSphere',
'ms.personal.apiKeyTip': 'The MeterSphere API is accessible through the APIKEY',
'ms.personal.expireTime': 'Expiration',
'ms.personal.expired': 'Expired',
'ms.personal.expiredTip': 'The expiration time can be changed in [Settings]',

View File

@ -26,7 +26,7 @@ export default {
'ms.personal.newPsw': '新密码',
'ms.personal.changePswTip': '修改密码后,需要使用新的密码登录系统',
'ms.personal.updatePswSuccess': '密码修改成功,将在 {count} 秒后自动退出,请使用新密码登录',
'ms.personal.apiKeyTip': '新增后,可访问 MeterSphere',
'ms.personal.apiKeyTip': '通过 APIKEY 访问 MeterSphere API',
'ms.personal.expireTime': '过期时间',
'ms.personal.expired': '已到期',
'ms.personal.expiredTip': '可在【设置】内更改到期时间',

View File

@ -2,7 +2,7 @@
<div>
<div class="mb-[8px] flex items-center gap-[8px]">
<a-input v-model:model-value="moduleKeyword" :placeholder="t('apiScenario.quoteTreeSearchTip')" allow-clear />
<a-tooltip :content="isExpandAll ? t('apiScenario.collapseAll') : t('apiScenario.expandAllStep')">
<a-tooltip :content="isExpandAll ? t('apiScenario.collapseAll') : t('ms.comment.expandAllModule')">
<a-button
type="outline"
class="expand-btn arco-btn-outline--secondary"

View File

@ -22,7 +22,7 @@ export default {
'project.menu.API_CLEAN_REPORT': 'Report Retention Time Range',
'project.menu.API_SHARE_REPORT': 'Report Link Validity Period',
'project.menu.API_RESOURCE_POOL': 'Execution Resource Pool',
'project.menu.API_RESOURCE_POOL_TIP': 'The current resource pool is: {name}; you can switch resource pools',
'project.menu.API_RESOURCE_POOL_TIP': 'Execution machine for interface testing',
'project.menu.API_SCRIPT_REVIEWER': 'Script Review',
'project.menu.API_SCRIPT_REVIEWER_TIP':
'The interface case contains script steps that need to be reviewed by a designated user; the reviewer can be changed',

View File

@ -21,7 +21,7 @@ export default {
'project.menu.API_CLEAN_REPORT': '报告保留时间范围',
'project.menu.API_SHARE_REPORT': '报告链接有效期',
'project.menu.API_RESOURCE_POOL': '执行资源池',
'project.menu.API_RESOURCE_POOL_TIP': '当前使用资源池为:{name};可切换资源池',
'project.menu.API_RESOURCE_POOL_TIP': '接口测试的执行机',
'project.menu.API_SCRIPT_REVIEWER': '脚本审核',
'project.menu.API_SCRIPT_REVIEWER_TIP': '接口用例中包含脚本步骤需要指定用户审核;可更改审核人',
'project.menu.API_ERROR_REPORT_RULE': '误报规则',

View File

@ -97,14 +97,7 @@
:disabled="!hasAnyPermission(['PROJECT_APPLICATION_API:UPDATE'])"
@change="(v: SelectValue) => handleMenuStatusChange('API_RESOURCE_POOL_ID',v as string,MenuEnum.apiTest)"
/>
<a-tooltip
:content="
t('project.menu.API_RESOURCE_POOL_TIP', {
name: getPoolTipName(allValueMap['API_RESOURCE_POOL_ID'], MenuEnum.apiTest),
})
"
position="right"
>
<a-tooltip :content="t('project.menu.API_RESOURCE_POOL_TIP')" position="right">
<div>
<MsIcon
class="ml-[4px] text-[var(--color-text-4)] hover:text-[rgb(var(--primary-5))]"

View File

@ -121,6 +121,14 @@
:precision="2"
:default-value="100"
/>
<template #label>
{{ t('testPlan.planForm.passThreshold') }}
<a-tooltip position="tl" :content="t('testPlan.planForm.passThresholdTip')">
<IconQuestionCircle
class="h-[16px] w-[16px] text-[--color-text-4] hover:text-[rgb(var(--primary-5))]"
/>
</a-tooltip>
</template>
</a-form-item>
</template>
</MsMoreSettingCollapse>

View File

@ -82,6 +82,7 @@ export default {
'testPlan.planForm.passThreshold': 'Pass threshold',
'testPlan.planForm.repeatCaseTip1': 'Enable: Repeatedly associate the same case',
'testPlan.planForm.repeatCaseTip2': 'Close: Cannot be associated with the same case repeatedly',
'testPlan.planForm.passThresholdTip': 'If the pass rate reaches the specified pass threshold, the result is passed',
'testPlan.planForm.pickCases': 'Select cases',
'testPlan.testPlanDetail.executed': 'Executed',
'testPlan.testPlanDetail.generateReport': 'Generate report',

View File

@ -77,6 +77,7 @@ export default {
'testPlan.planForm.passThreshold': '通过阀值',
'testPlan.planForm.repeatCaseTip1': '开启:可重复关联同一个用例',
'testPlan.planForm.repeatCaseTip2': '关闭:不可重复关联同一用例',
'testPlan.planForm.passThresholdTip': '通过率达到设置的通过阈值时,报告结果为通过',
'testPlan.planForm.pickCases': '选择用例',
'testPlan.testPlanDetail.executed': '已执行',
'testPlan.testPlanDetail.generateReport': '生成报告',