From f63844fc573af19c3e1ccf7d6bb5f681d71ca01a Mon Sep 17 00:00:00 2001 From: GONGONGONG <506419689@qq.com> Date: Thu, 6 Jul 2023 15:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=20sprintfix:=20=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E6=A0=A1=E6=AD=A3=20(closed=20#1445)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/css/app.css | 3 +++ frontend/src/i18n/en.js | 32 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/frontend/src/css/app.css b/frontend/src/css/app.css index 0e25ce002..f2ec67af4 100644 --- a/frontend/src/css/app.css +++ b/frontend/src/css/app.css @@ -857,6 +857,9 @@ body { .bk-ip-selector-box { height: 100%; } +.ip-selector-result-preview .item-text { + height: 30px; +} .bk-dropdown-menu.disabled, .bk-dropdown-menu.disabled * { background-color: transparent; diff --git a/frontend/src/i18n/en.js b/frontend/src/i18n/en.js index 676d94328..2300e424d 100644 --- a/frontend/src/i18n/en.js +++ b/frontend/src/i18n/en.js @@ -188,7 +188,7 @@ export default { 导出: 'Export', 将文件拖到此处或: 'Drop files here or {0}', 上传文件: 'Upload files', - 点击上传: 'Click to Upload', + 点击上传: 'Click to upload', 仅支持xlsx格式的文件下载: '.Xlsx file format supports only, download {0}', 模板文件: 'Template files', 导入: 'Importing', @@ -227,7 +227,7 @@ export default { 删除禁用提示: 'Proxy or P-Agent has been installed in the current "BK-Net"', 添加Agent版本包: 'Add Agent package', 版本包文件类型: 'Support Extension: .tgz / .tar.gz', - 不再提示: 'Do Not Show Again', + 不再提示: 'Do not show again', 多ip输入提示: 'Multiple IPs can be separated by comma, slash, space, empty lines or new lines', 可选: '(Optional)', 正在运行: 'Running', @@ -258,7 +258,7 @@ export default { 确定重装选择的主机: 'Are you sure to reinstall the hosts selected?', 全部过滤提示: 'Host does not meet the installation requirements, task creation failed.', 忽略详情: 'Ignore details', - 查看详情: 'View Details', + 查看详情: 'View details', 确定离开当前页: 'Are you sure to leave this page?', 离开将会导致未保存的信息丢失: 'Leaving will result in the loss of unsaved data.', 节点个数: '{0} nodes', @@ -267,7 +267,7 @@ export default { 共: 'Total', 选择所有: 'Select all', 条: 'items', - 取消选择所有数据: 'Deselect All', + 取消选择所有数据: 'Deselect all', // '当前管控区域对此业务不可见': 'Current cloud services this area is not visible', 部分过滤提示: '{firstIp} and other {total} IPs is automatically ignored by the system, where can be viewed in the execution status filter', 表格设置: 'Table Setting', @@ -318,7 +318,7 @@ export default { 当前版本: 'Current', 安装到业务: 'Install to business', 接入点已在管控区域中设定: 'Access point has been set in the "BK-Net"', - 全部业务: 'All Business', + 全部业务: 'All business', 留空默认为内网IP: 'If left blank, it defaults to the intranet IP', 认证资料期限: 'Expiration', 过期: 'expired', @@ -393,7 +393,7 @@ export default { agentSetupFile: 'The key used to log into the target machine ssh root@10.0.0.1 -i {0}', 补充说明tips: '\nAdditional instructions: \n{0}', IP数量不一致: 'The number of IPs is inconsistent', - proxySetupHostIp: `Private IP address for communication with the Agent in this "BK-Net", ${$DHCP ? '{1}{2} cannot be empty at the same time' : 'Only supports IPv4'}.`, + proxySetupHostIp: `Intranet IP address for communication with the Agent in this "BK-Net", ${$DHCP ? '{1}{2} cannot be empty at the same time' : 'Only supports IPv4'}.`, proxySetupLoginInfo: 'Used for SSH to the target host for Proxy operation:\nLinux only supports SSH mode;', 安装方式: 'Install mode', @@ -478,15 +478,15 @@ export default { 用户创建的接入点: 'User-created access point', 请输入Server的内网IP: 'Please enter the intranet IP of {type} Server', 请输入Server的外网IP: 'Please enter the extranet IP of {type} Server', - Agent安装包: 'Agent Package', + Agent安装包: 'Agent package', Agent包URL: 'Package URL', Agent包服务器目录: 'Package path', 请输入服务器目录: 'Please enter the the server path', - 服务器目录: 'Server Path', + 服务器目录: 'Server path', 请输入内网下载URL: 'Please enter intranet download URL', 请输入外网下载URL: 'Please enter extranet download URL', - 测试Server及URL可用性: 'Test Server and URL availability', - 测试结果: 'Test Results:', + 测试Server及URL可用性: 'Test server and URL availability', + 测试结果: 'Test results:', 地址格式不正确: 'Incorrect address format', IP格式不正确: 'IP format is incorrect', URL格式不正确: 'URL format is incorrect', @@ -503,7 +503,7 @@ export default { 请输入Zookeeper主机的IP: 'Please enter the IP of Zookeeper host', 请输入Zookeeper主机的端口号: 'Please enter the port number of the Zookeeper host', 端口: 'Port', - 集群地址: 'Cluster Address', + 集群地址: 'Cluster address', 确认: 'Confirm', 修改接入点成功: 'Edit active access point successfully', 新增接入点成功: 'New access point successfully', @@ -527,7 +527,7 @@ export default { 后台服务器: 'Servers', 节点管理后台服务状态: 'Required services Health Checks', 节点管理SaaS依赖周边组件状态: 'External System Health Checks ', - 可能原因: 'Possible Causes', + 可能原因: 'Possible causes', 解决方案: 'Solution', 接口描述: 'Interface description: ', 测试参数: 'Test parameters: ', @@ -548,7 +548,7 @@ export default { 重置: 'Reset', 整数范围校验提示: 'Please enter an integer from {min} to {max}', 整数最小值校验提示: 'Please enter an integer not less than {min}', - 保存配置成功: 'Save Configuration successfully', + 保存配置成功: 'Save configuration successfully', 任务配置: 'Task Configuration', 地域信息: 'Geographical information', 区域: 'Region', @@ -702,7 +702,7 @@ export default { 铁将军: 'TJJ', 铁将军IEG: 'TJJ (IEG dedicated)', 安装策略: 'Installation strategy', - 文件列表: 'Document List', + 文件列表: 'Document list', 下载全部: 'Download all', 支持的操作系统: 'Support Linux / Windows / AIX Operating System', 开通Nginx策略提示内网: 'Opening the network policy to the Nginx intranet {url}', @@ -856,7 +856,7 @@ export default { '输入主机IP/主机名/操作系统/管控区域进行搜索...': 'Enter the host IP/hostname/operating system/"BK-Net" to search...', 主机IP: 'Host IP', 主机名: 'Hostname', - 已选项预览: 'Selected Preview', + 已选项预览: 'Selected preview', 关联主机预览: 'Associated host preview', 个: '', 所属业务: 'Business', @@ -1020,7 +1020,7 @@ export default { 下载插件包: 'Download the plugin package', 支持部署于: 'Support deployment', 状态: 'Status', - 版本管理: 'Version Management', + 版本管理: 'Version management', 停用包: 'Deactivate', 下载: 'Download', 插件包已选个数: 'Plug-in package ({0} selected)',