]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
HostPort vtype: improve error message
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Oct 2020 08:30:58 +0000 (10:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 15:40:46 +0000 (16:40 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Toolkit.js

index 8a27b26cc738c56f2bae9095f9cd070b291f6bc2..0f39f71cb21b4f718e5a8a953daa2a55284a5859 100644 (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(/[ ,;]+/);