fix(UI自动化): 检查GRID提示国际化

This commit is contained in:
zhangdahai112 2022-11-21 19:23:33 +08:00 committed by zhangdahai112
parent 4edfc6c103
commit 26c8623e40
4 changed files with 24 additions and 6 deletions

View File

@ -2996,6 +2996,12 @@ const message = {
delete_command_lable: "Delete command", delete_command_lable: "Delete command",
command_name_label: "Command name", command_name_label: "Command name",
unplanned_module: "Unplanned module", unplanned_module: "Unplanned module",
check_grid: "Connection failed, please check selenium-grid service status",
check_grid_ip: "Connection failed, please check selenium-grid address information",
view_config: "View configuration information",
config_ip: "The local ip and port information are not detected, please check",
personal_info: "Personal Information",
in_config: "In Settings",
}, },
project_application: { project_application: {
workstation: { workstation: {

View File

@ -3008,6 +3008,12 @@ const message = {
command_steps_label: "指令步骤", command_steps_label: "指令步骤",
command_step_info: "在右侧添加指令步骤", command_step_info: "在右侧添加指令步骤",
unplanned_scenario: "未规划场景", unplanned_scenario: "未规划场景",
check_grid: "连接失败,请检查 selenium-grid 服务状态",
check_grid_ip: "连接失败,请检查 selenium-grid 地址信息",
view_config: "查看配置信息",
config_ip: "没有检测到本地ip和端口信息请在",
personal_info: "个人信息",
in_config: "中设置",
}, },
project_application: { project_application: {
workstation: { workstation: {

View File

@ -2986,7 +2986,13 @@ const message = {
command_name_label: "指令名稱", command_name_label: "指令名稱",
command_steps_label: "指令步驟", command_steps_label: "指令步驟",
command_step_info: "在右側添加指令步驟", command_step_info: "在右側添加指令步驟",
unplanned_scenario: "未規劃場景" unplanned_scenario: "未規劃場景",
check_grid: "連接失敗,請檢查 selenium-grid 服務狀態",
check_grid_ip: "連接失敗,請檢查 selenium-grid 地址信息",
view_config: "查看配置信息",
config_ip: "沒有檢測到本地ip和端口信息請在",
personal_info: "個人信息",
in_config: "中設置",
}, },
project_application: { project_application: {
workstation: { workstation: {

View File

@ -486,7 +486,7 @@ export default {
h( h(
"span", "span",
null, null,
"连接失败,请检查 selenium-grid 服务状态" this.$t("ui.check_grid")
), ),
h( h(
"p", "p",
@ -498,15 +498,15 @@ export default {
}, },
}, },
}, },
"查看配置信息" this.$t("ui.view_config")
), ),
]) ])
); );
validate = false; validate = false;
} else { } else {
this.showServerMessageBox( this.showServerMessageBox(
h("p", null, [ h("p", null, [
h("span", null, "连接失败,请检查 selenium-grid 地址信息"), h("span", null, this.$t("ui.check_grid_ip")),
h( h(
"p", "p",
{ {
@ -517,7 +517,7 @@ export default {
}, },
}, },
}, },
"查看配置信息" this.$t("ui.view_config")
), ),
]) ])
); );