HostPort vtype: improve error message

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-01 10:30:58 +02:00
parent 0f687dd7b5
commit a9bea10488

View File

@ -152,8 +152,7 @@ Ext.apply(Ext.form.field.VTypes, {
Proxmox.Utils.HostPortBrackets_match.test(v) ||
Proxmox.Utils.IP6_dotnotation_match.test(v);
},
HostPortText: gettext('Not a valid hosts'),
HostPortText: gettext('Host/IP address or optional port is invalid'),
HostList: function(v) {
let list = v.split(/[ ,;]+/);