Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing label in nodes component #1823

Merged
merged 2 commits into from
Apr 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/src/components/Upstream/components/Nodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const Component: React.FC<Props> = ({ readonly }) => {
<Row style={{ marginBottom: 10 }} gutter={16} key={index}>
<Col span={5}>
<Form.Item
label={formatMessage({id: 'page.upstream.step.host'})}
style={{ marginBottom: 0 }}
name={[field.name, 'host']}
rules={[
Expand Down
1 change: 1 addition & 0 deletions web/src/pages/Upstream/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions web/src/pages/Upstream/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': '端口',
Expand Down