public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't
@ 2023-11-24 14:58 Maximiliano Sandoval
  2023-11-24 15:33 ` Dietmar Maurer
  2023-11-24 15:41 ` Lukas Wagner
  0 siblings, 2 replies; 4+ messages in thread
From: Maximiliano Sandoval @ 2023-11-24 14:58 UTC (permalink / raw)
  To: pve-devel

It would be preferable to use "won't" but I would rather err on the safe
side when it comes to escapes in gettext.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 src/node/APTRepositories.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
index 4e74da2..f27e713 100644
--- a/src/node/APTRepositories.js
+++ b/src/node/APTRepositories.js
@@ -471,7 +471,7 @@ Ext.define('Proxmox.node.APTRepositories', {
 
 	    if (!enterprise && !nosubscription && !test) {
 		addCritical(
-		    Ext.String.format(gettext('No {0} repository is enabled, you do not get any updates!'), vm.get('product')),
+		    Ext.String.format(gettext('No {0} repository is enabled, you would not get any updates!'), vm.get('product')),
 		);
 	    } else if (errors.length > 0) {
 		// nothing extra, just avoid that we show "get updates"
-- 
2.39.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't
  2023-11-24 14:58 [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't Maximiliano Sandoval
@ 2023-11-24 15:33 ` Dietmar Maurer
  2023-11-24 15:41 ` Lukas Wagner
  1 sibling, 0 replies; 4+ messages in thread
From: Dietmar Maurer @ 2023-11-24 15:33 UTC (permalink / raw)
  To: Proxmox VE development discussion, Maximiliano Sandoval

Do you also plan to fix those typos in the translation files?
Else we need to re-tralstale them for all languages!

> On 24.11.2023 15:58 CET Maximiliano Sandoval <m.sandoval@proxmox.com> wrote:
> 
>  
> It would be preferable to use "won't" but I would rather err on the safe
> side when it comes to escapes in gettext.
> 
> Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
> ---
>  src/node/APTRepositories.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js
> index 4e74da2..f27e713 100644
> --- a/src/node/APTRepositories.js
> +++ b/src/node/APTRepositories.js
> @@ -471,7 +471,7 @@ Ext.define('Proxmox.node.APTRepositories', {
>  
>  	    if (!enterprise && !nosubscription && !test) {
>  		addCritical(
> -		    Ext.String.format(gettext('No {0} repository is enabled, you do not get any updates!'), vm.get('product')),
> +		    Ext.String.format(gettext('No {0} repository is enabled, you would not get any updates!'), vm.get('product')),
>  		);
>  	    } else if (errors.length > 0) {
>  		// nothing extra, just avoid that we show "get updates"
> -- 
> 2.39.2
> 
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't
  2023-11-24 14:58 [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't Maximiliano Sandoval
  2023-11-24 15:33 ` Dietmar Maurer
@ 2023-11-24 15:41 ` Lukas Wagner
  2023-11-24 16:08   ` Fiona Ebner
  1 sibling, 1 reply; 4+ messages in thread
From: Lukas Wagner @ 2023-11-24 15:41 UTC (permalink / raw)
  To: Proxmox VE development discussion, Maximiliano Sandoval



On 11/24/23 15:58, Maximiliano Sandoval wrote:
> -		    Ext.String.format(gettext('No {0} repository is enabled, you do not get any updates!'), vm.get('product')),
> +		    Ext.String.format(gettext('No {0} repository is enabled, you would not get any updates!'), vm.get('product')),

The long form of won't is 'will not', not 'would not'. 'will not' also 
seems more appropriate here.

-- 
- Lukas




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't
  2023-11-24 15:41 ` Lukas Wagner
@ 2023-11-24 16:08   ` Fiona Ebner
  0 siblings, 0 replies; 4+ messages in thread
From: Fiona Ebner @ 2023-11-24 16:08 UTC (permalink / raw)
  To: Proxmox VE development discussion, Lukas Wagner, Maximiliano Sandoval

Am 24.11.23 um 16:41 schrieb Lukas Wagner:
> 
> 
> On 11/24/23 15:58, Maximiliano Sandoval wrote:
>> -            Ext.String.format(gettext('No {0} repository is enabled,
>> you do not get any updates!'), vm.get('product')),
>> +            Ext.String.format(gettext('No {0} repository is enabled,
>> you would not get any updates!'), vm.get('product')),
> 
> The long form of won't is 'will not', not 'would not'. 'will not' also
> seems more appropriate here.
> 

Both wordings are correct, just a different tense

You do not get any updates (i.e. right now)
You will not get any updates (i.e. in the future)

Is there a good reason for changing it in the first place? Should be
mentioned in the commit message then ;)




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-24 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-24 14:58 [pve-devel] [PATCH widget-toolkit] node: repos: Use won't rather than don't Maximiliano Sandoval
2023-11-24 15:33 ` Dietmar Maurer
2023-11-24 15:41 ` Lukas Wagner
2023-11-24 16:08   ` Fiona Ebner

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