Skip to content

Commit

Permalink
sprintfix: 国际化翻译校正 (closed #1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
GONGONGONG authored and ZhuoZhuoCrayon committed Jul 6, 2023
1 parent 4a9e30d commit a1b92fd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions frontend/src/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
32 changes: 16 additions & 16 deletions frontend/src/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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: ',
Expand All @@ -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',
Expand Down Expand Up @@ -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}',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -1020,7 +1020,7 @@ export default {
下载插件包: 'Download the plugin package',
支持部署于: 'Support deployment',
状态: 'Status',
版本管理: 'Version Management',
版本管理: 'Version management',
停用包: 'Deactivate',
下载: 'Download',
插件包已选个数: 'Plug-in package ({0} selected)',
Expand Down

0 comments on commit a1b92fd

Please sign in to comment.