Skip to content

Commit

Permalink
i18n: improve pass_host
Browse files Browse the repository at this point in the history
  • Loading branch information
juzhiyuan committed Mar 16, 2021
1 parent a425955 commit f2aae04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/components/Upstream/UpstreamForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ const UpstreamForm: React.FC<Props> = forwardRef(
<Select.Option value="node">
{formatMessage({ id: 'page.upstream.step.pass-host.node' })}
</Select.Option>
<Select.Option value="rewrite">
<Select.Option value="rewrite" disabled>
{formatMessage({ id: 'page.upstream.step.pass-host.rewrite' })}
</Select.Option>
</Select>
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/Upstream/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {
'page.upstream.step.pass-host': 'Host Transform',
'page.upstream.step.pass-host.pass': 'Keep the same Host from client request',
'page.upstream.step.pass-host.node': 'Use the domain or IP from Node List',
'page.upstream.step.pass-host.rewrite': 'Custom Host',
'page.upstream.step.pass-host.rewrite': 'Custom Host (Will be deprecated in the future)',
'page.upstream.step.pass-host.upstream_host': 'Custom Host',
'page.upstream.step.connect.timeout': 'Connect Timeout',
'page.upstream.step.input.connect.timeout': 'Please input connect timeout',
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/Upstream/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default {
'page.upstream.step.pass-host': 'Host 转换',
'page.upstream.step.pass-host.pass': '保持与客户端请求一致的 Host 请求头',
'page.upstream.step.pass-host.node': '使用上游节点列表中的域名或 IP',
'page.upstream.step.pass-host.rewrite': '自定义 Host 请求头',
'page.upstream.step.pass-host.rewrite': '自定义 Host 请求头(即将废弃)',
'page.upstream.step.pass-host.upstream_host': '自定义 Host 请求头',
'page.upstream.step.connect.timeout': '连接超时',
'page.upstream.step.input.connect.timeout': '请输入连接超时时间',
Expand Down

0 comments on commit f2aae04

Please sign in to comment.