]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: CephInstall: fix a/an typo
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 10 Aug 2022 15:10:20 +0000 (17:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Sep 2022 13:25:09 +0000 (15:25 +0200)
and switch to template string

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/window/CephInstall.js

index 1b8abc41f4e341df1b8d1d4d580e3d017e1be0af..432c6719fa7111f2fcfaaf431e6d3878d59ee759 100644 (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>' +