[pve-devel] applied: [PATCH manager] ui: fix PBS edit typos
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Aug 19 15:49:54 CEST 2020
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
replaces
https://lists.proxmox.com/pipermail/pve-devel/2020-August/044629.html
www/manager6/storage/PBSEdit.js | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/www/manager6/storage/PBSEdit.js b/www/manager6/storage/PBSEdit.js
index 0562a17b..99ce058e 100644
--- a/www/manager6/storage/PBSEdit.js
+++ b/www/manager6/storage/PBSEdit.js
@@ -13,16 +13,13 @@ Ext.define('Proxmox.form.PBSEncryptionCheckbox', {
blabel: (get) => {
let v = get('value');
let original = get('originalValue');
- if (get('isCreate')) {
- return gettext('Auto-generate a client encryption key, safed privately on cluster.');
- }
- if (original) {
+ if (!get('isCreate') && original) {
if (!v) {
- return gettext('Warning: Existing encryption Key will be deleted!');
+ return gettext('Warning: Existing encryption key will be deleted!');
}
return gettext('Active');
} else {
- return gettext('Auto-generate a client encryption key, safed privately on cluster filesystem');
+ return gettext('Auto-generate a client encryption key, saved privately on cluster filesystem');
}
},
},
--
2.20.1
More information about the pve-devel
mailing list