mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 10:28:14 +00:00
ui: fix PBS edit typos
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d3d1e19912
commit
34b53ccc82
@ -13,16 +13,13 @@ Ext.define('Proxmox.form.PBSEncryptionCheckbox', {
|
|||||||
blabel: (get) => {
|
blabel: (get) => {
|
||||||
let v = get('value');
|
let v = get('value');
|
||||||
let original = get('originalValue');
|
let original = get('originalValue');
|
||||||
if (get('isCreate')) {
|
if (!get('isCreate') && original) {
|
||||||
return gettext('Auto-generate a client encryption key, safed privately on cluster.');
|
|
||||||
}
|
|
||||||
if (original) {
|
|
||||||
if (!v) {
|
if (!v) {
|
||||||
return gettext('Warning: Existing encryption Key will be deleted!');
|
return gettext('Warning: Existing encryption key will be deleted!');
|
||||||
}
|
}
|
||||||
return gettext('Active');
|
return gettext('Active');
|
||||||
} else {
|
} 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');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user