[PATCH widget-toolkit 1/1] fixes #4874: Improve VM Name error message

Amin Vakil info at aminvakil.com
Wed Jul 26 17:36:24 CEST 2023


Signed-off-by: Amin Vakil <info at aminvakil.com>
---
 src/Toolkit.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Toolkit.js b/src/Toolkit.js
index 67200c8..9dc28b9 100644
--- a/src/Toolkit.js
+++ b/src/Toolkit.js
@@ -129,12 +129,12 @@ Ext.apply(Ext.form.field.VTypes, {
     DnsName: function(v) {
 	return Proxmox.Utils.DnsName_match.test(v);
     },
-    DnsNameText: gettext('This is not a valid DNS name'),
+    DnsNameText: gettext('This is not a valid Host name'),
 
     DnsNameOrWildcard: function(v) {
 	return Proxmox.Utils.DnsName_or_Wildcard_match.test(v);
     },
-    DnsNameOrWildcardText: gettext('This is not a valid DNS name'),
+    DnsNameOrWildcardText: gettext('This is not a valid Host name'),
 
     // email regex used by pve-common
     proxmoxMail: function(v) {
-- 
2.41.0





More information about the pve-devel mailing list