[pve-devel] applied: [PATCH v3 manager 1/3] gui/cluster: fix translation for cluster join button

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Apr 1 18:58:50 CEST 2020


On 3/23/20 1:41 PM, Stefan Reiter wrote:
> New version including the cluster name didn't work in some languages,
> e.g. german: "Beitreten 'cluster'" vs the correct "'cluster' beitreten"
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
>  www/manager6/dc/ClusterEdit.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/dc/ClusterEdit.js b/www/manager6/dc/ClusterEdit.js
> index e0fa5d9d..7542104a 100644
> --- a/www/manager6/dc/ClusterEdit.js
> +++ b/www/manager6/dc/ClusterEdit.js
> @@ -166,7 +166,7 @@ Ext.define('PVE.ClusterJoinNodeWindow', {
>  	    submittxt: function(get) {
>  		let cn = get('info.clusterName');
>  		if (cn) {
> -		    return `${gettext('Join')} '${cn}'`;
> +		    return Ext.String.format(gettext('Join {0}'), `'${cn}'`);
>  		}
>  		return gettext('Join');
>  	    },
> 

applied, thanks




More information about the pve-devel mailing list