public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* Re: [pve-devel] [PATCH widget-toolkit 1/1] fixes #4874: Improve VM Name error message
       [not found] ` <20230726153624.61608-2-info@aminvakil.com>
@ 2023-08-02  8:16   ` Thomas Lamprecht
  0 siblings, 0 replies; only message in thread
From: Thomas Lamprecht @ 2023-08-02  8:16 UTC (permalink / raw)
  To: Amin Vakil, pve-devel

First thanks for this patch, such polishing are important contributions!

Am 26/07/2023 um 17:36 schrieb Amin Vakil:

please add the cover letter text to the commit message so that the context is
actually conserved in git history.

Also, for a simple single patch a cover letter is rather overhead, so you can
omit it there.


> Signed-off-by: Amin Vakil <info@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'),

I'd not capitalize "Host" that looks odd here, it isn't an acronym after all.

Maybe even spell it together as "hostname", but no hard feelings on that part.

>  
>      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'),

same as above

>  
>      // email regex used by pve-common
>      proxmoxMail: function(v) {





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-02  8:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230726153624.61608-1-info@aminvakil.com>
     [not found] ` <20230726153624.61608-2-info@aminvakil.com>
2023-08-02  8:16   ` [pve-devel] [PATCH widget-toolkit 1/1] fixes #4874: Improve VM Name error message Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal