Skip to content

Commit

Permalink
sprintfix: agent安装提示 缺省替换为 未填写(closed #1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
GONGONGONG authored and ZhuoZhuoCrayon committed Feb 9, 2023
1 parent 50faa54 commit 17d2eff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ export default {
业务属性: 'Business attributes',
云区域属性: 'Cloud zone attributes',
传输信息: 'Transmit information',
agentSetupHostIp: 'The IP address of the target host, the data will be synchronized to CMDB, and {1} and {2} cannot be empty at the same time.\n\nNote: {0} is the default {1} address as the {0}. If {1} is defaulted, {2} is used as the {0}. If the host has multiple network cards, and the IP address used for login is inconsistent with the IP recorded in the CMDB, it is necessary to specify the {0} of the host separately for Agent installation.',
agentSetupHostIp: 'The IP address of the target host, the data will be synchronized to CMDB, {1}{2} cannot be empty at the same time. \n\nNote: If {0} is not filled in, {1} address is preferred as {0}, if {1} is not filled in, then {2} is used as {0}. If the host has multiple network cards, and the IP address used for login is inconsistent with the IP recorded in the CMDB, you need to specify {0} of the host separately for Agent installation.',
agentSetupLoginInfo: 'Used to log in to the target host for proxy operations:\nLinux only supports SSH;\nWindows only supports WMI/SSH (only direct connection).',
agentSetupInnerIp: 'The IP address of the target host, the data will be synchronized to CMDB, fill in at least one of {1}{2}\n\nNote: {0} is preferred to use {1} as {0} by default, if the host has multiple network cards, use When the logged-in IP address is inconsistent with the IP recorded in the CMDB, you need to specify {0} of the host separately for Agent installation to be set separately',
agentSetupInnerIpv6: 'The IPv6 address of the target host, the data will be synchronized to CMDB, fill in at least one of {1}{2}\n\nNote: {1} takes {2} address as {0} by default, if the host has multiple network cards, use When the logged-in IP address is inconsistent with the IP recorded in the CMDB, it is necessary to specify {0} of the host separately for Agent installation. {0} defaults to {1}',
agentSetupInnerIp: 'The IP address of the target host, the data will be synchronized to CMDB, fill in at least one of {1}{2}\n\nNote: If {0} is not filled in, {1} is preferred as {0}, if the host has multiple network cards, use When the logged-in IP address is inconsistent with the IP recorded in the CMDB, you need to specify {0} of the host separately for Agent installation to be set separately',
agentSetupInnerIpv6: 'The IPv6 address of the target host, the data will be synchronized to CMDB, fill in at least one of {1}{2}\n\nNote: If {1} is not filled in, take {2} address as {0}, if the host has multiple network cards, use When the logged-in IP address is inconsistent with the IP recorded in the CMDB, it is necessary to specify {0} of the host separately for Agent installation. {1} is preferred when {0} is not filled',
agentSetupLoginIp: 'The IP address of the target host for logging in for Agent installation, which is different from the IP recorded in the CMDB;\nSupports IP and IPv6.',
agentSetupLoginAccount: 'Log in as user on the target host\nssh {0}@10.0.0.1 -p 22',
agentSetupPort: 'ssh root@10.0.0.1 -p {0}\nCurrent environment recommended: {1}{2}{3}',
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/i18n/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ export default {
业务属性: '业务属性',
云区域属性: '云区域属性',
传输信息: '传输信息',
agentSetupHostIp: '目标主机的IP地址,数据将同步至 CMDB,{1}{2}不能同时为空。\n\n注:{0}缺省时优先取{1}地址作为{0},若{1}缺省,则取{2}为{0}。若主机有多网卡,用于登录的 IP 地址与 CMDB 中记录的 IP 不一致时,需要单独指定该主机的{0}用于进行 Agent 安装另行设置。',
agentSetupHostIp: '目标主机的IP地址,数据将同步至 CMDB,{1}{2}不能同时为空。\n\n注:{0}未填写时优先取{1}地址作为{0},若{1}未填写,则取{2}为{0}。若主机有多网卡,用于登录的 IP 地址与 CMDB 中记录的 IP 不一致时,需要单独指定该主机的{0}用于进行 Agent 安装另行设置。',
agentSetupLoginInfo: '用于登录到目标主机上进行 Agent 操作:\nLinux 仅支持 SSH 方式;\nWindows 支持 WMI / SSH(仅直连)。',
agentSetupInnerIp: '目标主机的 IP 地址,数据将同步至 CMDB,{1}{2}至少填一个\n\n注:{0}缺省时优先取{1}作为{0},若主机有多网卡,用于登录的 IP 地址与 CMDB 中记录的 IP 不一致时,需要单独指定该主机的{0}用于进行 Agent 安装另行设置',
agentSetupInnerIpv6: '目标主机的 IPv6 地址,数据将同步至 CMDB,{1}{2}至少填一个\n\n注:{1}缺省时取{2}地址作为{0},若主机有多网卡,用于登录的 IP 地址与 CMDB 中记录的 IP 不一致时,需要单独指定该主机的{0}用于进行 Agent 安装另行设置。{0}缺省时优先取{1}',
agentSetupInnerIp: '目标主机的 IP 地址,数据将同步至 CMDB,{1}{2}至少填一个\n\n注:{0}未填写时优先取{1}作为{0},若主机有多网卡,用于登录的 IP 地址与 CMDB 中记录的 IP 不一致时,需要单独指定该主机的{0}用于进行 Agent 安装另行设置',
agentSetupInnerIpv6: '目标主机的 IPv6 地址,数据将同步至 CMDB,{1}{2}至少填一个\n\n注:{1}未填写时取{2}地址作为{0},若主机有多网卡,用于登录的 IP 地址与 CMDB 中记录的 IP 不一致时,需要单独指定该主机的{0}用于进行 Agent 安装另行设置。{0}未填写时优先取{1}',
agentSetupLoginAccount: '登录到目标主机上所使用的用户\nssh {0}@10.0.0.1 -p 22',
agentSetupLoginIp: '目标主机的用于登录进行 Agent 安装的 IP 地址,区别于记录在 CMDB 中的 IP;\n支持 IP、IPv6。',
agentSetupPort: 'ssh root@10.0.0.1 -p {0}\n当前环境推荐:{1}{2}{3}',
Expand Down

0 comments on commit 17d2eff

Please sign in to comment.