fix(UI自动化): 修复UI表头字段国际化问题

--bug=1014873 --user=刘瑶 【UI测试】ms系统语言切换为英文-系统页面默认模块树标题和列表功能按钮、表头字段部分仍展示为中文及显示问题 https://www.tapd.cn/55049933/s/1203644
This commit is contained in:
nathan.liu 2022-07-18 18:35:45 +08:00 committed by zhangdahai112
parent 027d672457
commit 0310f45203
7 changed files with 58 additions and 7 deletions

@ -1 +1 @@
Subproject commit fcfe1200cffcd15d8079aa0386fedc9d489f5fe7
Subproject commit a9abdd910d6ae37351e2ecec6dfd830bd20e24ad

View File

@ -352,6 +352,7 @@ export default {
.metric-box {
display: inline-block;
text-align: center;
min-width: 62px;
}
.metric-box .value {

@ -1 +1 @@
Subproject commit b8ec7e7e2cf2d0a7dba138f7895428298652cac2
Subproject commit 1bbac774ec8f5dec7b177ba84967c98b1140a56d

View File

@ -264,12 +264,12 @@ export let CUSTOM_TABLE_HEADER = {
//缺陷列表
ELEMENT_LIST: [
{id: 'num', key: '1', label: 'ID'},
{id: 'name', key: '2', label: '元素名称'},
{id: 'locationType', key: '3', label: '定位类型'},
{id: 'location', key: '4', label: '元素定位'},
{id: 'createUser', key: '5', label: '创建人'},
{id: 'name', key: '2', label: 'ui.element_name'},
{id: 'locationType', key: '3', label: 'ui.element_locator_type'},
{id: 'location', key: '4', label: 'ui.element_locator'},
{id: 'createUser', key: '5', label: 'ui.create_user'},
{id: 'createTime', key: '6', label: 'commons.create_time'},
{id: 'updateUser', key: '7', label: '更新人'},
{id: 'updateUser', key: '7', label: 'ui.update_user'},
{id: 'updateTime', key: '8', label: 'commons.update_time'},
],

View File

@ -3272,5 +3272,22 @@ export default {
ui_debug_mode: 'UI debugging mode',
ui_local_debug: 'local',
ui_server_debug: 'server',
all_element: "All elements",
element_name: "Element name",
element_locator: "Element locator",
element_locator_type: "Locator type",
screenshot: "screenshot",
update_user: "Update user",
create_user: "Create user",
all_scenario: "All scenario",
scenario_list: "Scenario list",
log: "log",
performance_mode: "Performance mode",
error_handling: "error handling",
other_settings: "Other settings",
step_results: "Step results",
treatment_method: "Treatment method",
scenario_steps: "Scenario steps",
basic_information: "Basic information"
}
};

View File

@ -3329,5 +3329,21 @@ export default {
ui_debug_mode: 'UI自动化调试方式',
ui_local_debug: '本地调试',
ui_server_debug: '后端调试',
all_element: "全部元素",
element_name: "元素名称",
element_locator: "元素定位",
element_locator_type: "定位类型",
screenshot: "截图",
update_user: "更新人",
create_user: "创建人",
all_scenario: "全部场景",
log: "日志",
performance_mode: "性能模式",
error_handling: "错误处理",
other_settings: "其他设置",
step_results: "步骤结果",
treatment_method: "处理方式",
scenario_steps: "场景步骤",
basic_information: "基础信息"
}
};

View File

@ -3275,5 +3275,22 @@ export default {
ui_debug_mode: 'UI自動化調試管道',
ui_local_debug: '本地調試',
ui_server_debug: '後端調試',
all_element: "全部元素",
element_name: "元素名稱",
element_locator: "元素定位",
element_locator_type: "定位類型",
screenshot: "截圖",
update_user: "更新人",
create_user: "創建人",
all_scenario: "全部場景",
scenario_list: "場景列表",
log: "日誌",
performance_mode: "性能模式",
error_handling: "錯誤處理",
other_settings: "其他設置",
step_results: "步骤结果",
treatment_method: "處理方式",
scenario_steps: "場景步驟",
basic_information: "基礎信息"
}
};