and switch to template string

Signed-off-by: Aaron Lauterer <[email protected]>
---
the spaces should still be where we need them due to the string being
multi line.

if we don't want to use them like this, drop this patch, but please fix
the a/an typo :)

 www/manager6/window/CephInstall.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/manager6/window/CephInstall.js 
b/www/manager6/window/CephInstall.js
index 1b8abc41..432c6719 100644
--- a/www/manager6/window/CephInstall.js
+++ b/www/manager6/window/CephInstall.js
@@ -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>' +
-- 
2.30.2



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to