ui: CephInstall: fix a/an typo

and switch to template string

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
This commit is contained in:
Aaron Lauterer 2022-08-10 17:10:20 +02:00 committed by Thomas Lamprecht
parent f25c38553e
commit 219293bd1d

View File

@ -34,9 +34,9 @@ Ext.define('PVE.ceph.Install', {
},
windowText: function(get) {
if (get('isInstalled')) {
return '<p class="install-mask">' +
Ext.String.format(gettext('{0} is not initialized.'), 'Ceph') + ' '+
gettext('You need to create a initial config once.') + '</p>';
return `<p class="install-mask">
${Ext.String.format(gettext('{0} is not initialized.'), 'Ceph')}
${gettext('You need to create an initial config once.')}</p>`;
} else {
return '<p class="install-mask">' +
Ext.String.format(gettext('{0} is not installed on this node.'), 'Ceph') + '<br>' +