From f9877388acd7d1c9613af072264c948a3c7e7821 Mon Sep 17 00:00:00 2001 From: Eric Shen Date: Sat, 24 Apr 2021 00:47:48 +0800 Subject: [PATCH 1/2] add host label in locales Signed-off-by: Eric Shen --- web/src/pages/Upstream/locales/en-US.ts | 1 + web/src/pages/Upstream/locales/zh-CN.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/web/src/pages/Upstream/locales/en-US.ts b/web/src/pages/Upstream/locales/en-US.ts index 702104eba4..7bd7dd93a8 100644 --- a/web/src/pages/Upstream/locales/en-US.ts +++ b/web/src/pages/Upstream/locales/en-US.ts @@ -21,6 +21,7 @@ export default { 'page.upstream.step.input.domain.name.or.ip': 'Please enter domain or IP', 'page.upstream.step.valid.domain.name.or.ip': 'Please enter valid a domain or IP', 'page.upstream.step.domain.name.or.ip': 'Hostname or IP', + 'page.upstream.step.host': 'Host', 'page.upstream.step.input.port': 'Please enter port number', 'page.upstream.step.port': 'Port', 'page.upstream.step.input.weight': 'Please enter weight', diff --git a/web/src/pages/Upstream/locales/zh-CN.ts b/web/src/pages/Upstream/locales/zh-CN.ts index eb0c19acc9..0af98ad0f1 100644 --- a/web/src/pages/Upstream/locales/zh-CN.ts +++ b/web/src/pages/Upstream/locales/zh-CN.ts @@ -20,6 +20,7 @@ export default { 'page.upstream.form.item-label.node.domain.or.ip': '目标节点', 'page.upstream.step.input.domain.name.or.ip': '请输入域名或 IP', 'page.upstream.step.domain.name.or.ip': '主机名或 IP', + 'page.upstream.step.host': '主机名', 'page.upstream.step.valid.domain.name.or.ip': '请输入合法的域名或 IP', 'page.upstream.step.input.port': '请输入', 'page.upstream.step.port': '端口', From cfaee0c7cb5de93816762f9e06ddea6455e9f50a Mon Sep 17 00:00:00 2001 From: Eric Shen Date: Sat, 24 Apr 2021 00:54:20 +0800 Subject: [PATCH 2/2] fix: add missing label in nodes Signed-off-by: Eric Shen --- web/src/components/Upstream/components/Nodes.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/components/Upstream/components/Nodes.tsx b/web/src/components/Upstream/components/Nodes.tsx index 92bfcda74f..977b2244c6 100644 --- a/web/src/components/Upstream/components/Nodes.tsx +++ b/web/src/components/Upstream/components/Nodes.tsx @@ -37,6 +37,7 @@ const Component: React.FC = ({ readonly }) => {