From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager 2/2] ui: CephInstall: fix a/an typo
Date: Wed, 10 Aug 2022 17:10:20 +0200 [thread overview]
Message-ID: <20220810151020.573769-2-a.lauterer@proxmox.com> (raw)
In-Reply-To: <20220810151020.573769-1-a.lauterer@proxmox.com>
and switch to template string
Signed-off-by: Aaron Lauterer <a.lauterer@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
next prev parent reply other threads:[~2022-08-10 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 15:10 [pve-devel] [PATCH manager 1/2] ui: CephInstallWizard: make first mon node static Aaron Lauterer
2022-08-10 15:10 ` Aaron Lauterer [this message]
2022-09-07 13:28 ` [pve-devel] applied: [PATCH manager 2/2] ui: CephInstall: fix a/an typo Thomas Lamprecht
2022-09-07 13:26 ` [pve-devel] applied: [PATCH manager 1/2] ui: CephInstallWizard: make first mon node static Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220810151020.573769-2-a.lauterer@proxmox.com \
--to=a.lauterer@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox