refactor(接口测试): 修改国际化

This commit is contained in:
wxg0103 2024-06-05 14:40:05 +08:00 committed by Craftsman
parent c14b6399ec
commit 20969243cd
7 changed files with 9 additions and 7 deletions

View File

@ -136,7 +136,7 @@ export default {
'common.tip': 'Tips', 'common.tip': 'Tips',
'common.stay': 'Stay', 'common.stay': 'Stay',
'common.apply': 'Apply', 'common.apply': 'Apply',
'common.stop': 'Stopped', 'common.stop': 'Stop',
'common.module': 'Module', 'common.module': 'Module',
'common.yes': 'Yes', 'common.yes': 'Yes',
'common.no': 'No', 'common.no': 'No',
@ -185,4 +185,5 @@ export default {
'common.updateTime': 'Update time', 'common.updateTime': 'Update time',
'common.belongProject': 'Belong to Project', 'common.belongProject': 'Belong to Project',
'common.noMatchData': 'No matching data', 'common.noMatchData': 'No matching data',
'common.stopped': 'Stopped',
}; };

View File

@ -136,7 +136,7 @@ export default {
'common.tip': '温馨提示', 'common.tip': '温馨提示',
'common.stay': '留下', 'common.stay': '留下',
'common.apply': '应用', 'common.apply': '应用',
'common.stop': '停止', 'common.stop': '停止',
'common.module': '模块', 'common.module': '模块',
'common.yes': '是', 'common.yes': '是',
'common.no': '否', 'common.no': '否',
@ -186,4 +186,5 @@ export default {
'common.updateTime': '更新时间', 'common.updateTime': '更新时间',
'common.belongProject': '所属项目', 'common.belongProject': '所属项目',
'common.noMatchData': '暂无匹配数据', 'common.noMatchData': '暂无匹配数据',
'common.stopped': '已停止',
}; };

View File

@ -27,7 +27,7 @@
class: '!text-[rgb(var(--link-6))]', class: '!text-[rgb(var(--link-6))]',
}, },
STOPPED: { STOPPED: {
label: 'common.stop', label: 'common.stopped',
color: 'rgb(var(--warning-2))', color: 'rgb(var(--warning-2))',
class: '!text-[rgb(var(--warning-6))]', class: '!text-[rgb(var(--warning-6))]',
}, },

View File

@ -26,7 +26,7 @@
[ScenarioExecuteStatus.STOP]: { [ScenarioExecuteStatus.STOP]: {
bgColor: 'rgb(var(--link-2))', bgColor: 'rgb(var(--link-2))',
color: 'rgb(var(--link-6))', color: 'rgb(var(--link-6))',
text: 'common.stop', text: 'common.stopped',
}, },
[ScenarioExecuteStatus.EXECUTING]: { [ScenarioExecuteStatus.EXECUTING]: {
bgColor: 'rgb(var(--link-2))', bgColor: 'rgb(var(--link-2))',

View File

@ -50,7 +50,7 @@
[ExecuteStatusFilters.STOPPED]: { [ExecuteStatusFilters.STOPPED]: {
bgColor: 'rgb(var(--link-2))', bgColor: 'rgb(var(--link-2))',
color: 'rgb(var(--color-border-2))', color: 'rgb(var(--color-border-2))',
text: 'common.stop', text: 'common.stopped',
}, },
}; };
const status = computed(() => { const status = computed(() => {

View File

@ -27,7 +27,7 @@
class: '!text-[rgb(var(--link-6))]', class: '!text-[rgb(var(--link-6))]',
}, },
STOPPED: { STOPPED: {
label: 'common.stop', label: 'common.stopped',
color: 'rgb(var(--warning-2))', color: 'rgb(var(--warning-2))',
class: '!text-[rgb(var(--warning-6))]', class: '!text-[rgb(var(--warning-6))]',
}, },

View File

@ -27,7 +27,7 @@
class: '!text-[rgb(var(--link-6))]', class: '!text-[rgb(var(--link-6))]',
}, },
STOPPED: { STOPPED: {
label: 'common.stop', label: 'common.stopped',
color: 'rgb(var(--warning-2))', color: 'rgb(var(--warning-2))',
class: '!text-[rgb(var(--warning-6))]', class: '!text-[rgb(var(--warning-6))]',
}, },