[pbs-devel] [PATCH proxmox-backup 2/2] ui: token view: rephrase token regenerate dialog message

Maximiliano Sandoval m.sandoval at proxmox.com
Thu Apr 10 11:06:18 CEST 2025


Lukas Wagner <l.wagner at proxmox.com> writes:

> Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
> ---
>  www/config/TokenView.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/www/config/TokenView.js b/www/config/TokenView.js
> index 1734b359..23299542 100644
> --- a/www/config/TokenView.js
> +++ b/www/config/TokenView.js
> @@ -193,7 +193,7 @@ Ext.define('PBS.config.TokenView', {
>  	    handler: 'regenerateToken',
>  	    dangerous: true,
>  	    confirmMsg: rec => Ext.String.format(
> -		gettext("Regenerate the secret of the API token '{0}'? All current use-sites will lose access!"),
> +		gettext("Regenerate the secret of the API token '{0}'? All users of the previous token secret will lose access!"),
>  		rec.data.tokenid,
>  	    ),
>  	},

This is a string that I had troubles translating, the proposed version
would be a big improvement both for ease of translation and clarity.

Reviewed-by: Maximiliano Sandoval <m.sandoval at proxmox.com>




More information about the pbs-devel mailing list