[pve-devel] [PATCH manager 2/2] ui: CephInstall: fix a/an typo
Aaron Lauterer
a.lauterer at proxmox.com
Wed Aug 10 17:10:20 CEST 2022
and switch to template string
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
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
More information about the pve-devel
mailing list