File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
components/Upstream/components Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ const Component: React.FC<Props> = ({ readonly }) => {
5151 / ( ^ ( [ 1 - 9 ] ? \d | 1 \d { 2 } | 2 [ 0 - 4 ] \d | 2 5 [ 0 - 5 ] ) ( \. ( 2 5 [ 0 - 5 ] | 1 \d { 2 } | 2 [ 0 - 4 ] \d | [ 1 - 9 ] ? \d ) ) { 3 } $ | ^ (? ! [ 0 - 9 . ] + $ ) ( [ a - z A - Z 0 - 9 _ - ] + ) ( \. [ a - z A - Z 0 - 9 _ - ] + ) { 0 , } $ ) / ,
5252 'g' ,
5353 ) ,
54+ message : formatMessage ( {
55+ id : 'page.upstream.step.valid.domain.name.or.ip' ,
56+ } )
5457 } ,
5558 ] }
5659 >
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export default {
1919 'page.upstream.step.select.upstream.select.option' : 'Custom' ,
2020 'page.upstream.form.item-label.node.domain.or.ip' : 'Targets' ,
2121 'page.upstream.step.input.domain.name.or.ip' : 'Please enter domain or IP' ,
22+ 'page.upstream.step.valid.domain.name.or.ip' : 'Please enter valid a domain or IP' ,
2223 'page.upstream.step.domain.name.or.ip' : 'Hostname or IP' ,
2324 'page.upstream.step.input.port' : 'Please enter port number' ,
2425 'page.upstream.step.port' : 'Port' ,
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export default {
2020 'page.upstream.form.item-label.node.domain.or.ip' : '目标节点' ,
2121 'page.upstream.step.input.domain.name.or.ip' : '请输入域名或 IP' ,
2222 'page.upstream.step.domain.name.or.ip' : '主机名或 IP' ,
23+ 'page.upstream.step.valid.domain.name.or.ip' : '请输入合法的域名或 IP' ,
2324 'page.upstream.step.input.port' : '请输入' ,
2425 'page.upstream.step.port' : '端口' ,
2526 'page.upstream.step.input.weight' : '请输入权重' ,
You can’t perform that action at this time.
0 commit comments