[pve-devel] [PATCH pve-manager 1/3] Make clear what is the value of setting 'Default' for ACLs

Emmanuel Kasper e.kasper at proxmox.com
Thu Apr 21 11:50:22 CEST 2016


Also replace the strings On/Off with Enabled/disabled, so
they get localized

We have translations of 'Enabled' in nearly all languages
and 'disabled' in 5 languages with unfortunately different case.
---
 www/manager6/lxc/ResourceEdit.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index c5d29f0..06b02c0 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -438,7 +438,11 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
 	me.acl = Ext.createWidget('pveKVComboBox', {
 	    name: 'acl',
 	    fieldLabel: gettext('ACLs'),
-	    comboItems: [['Default', 'Default'], ['1', 'On'], ['0', 'Off']],
+	    comboItems: [
+		['Default', gettext('Default') +  ' ('+ gettext('Enabled') + ')'],
+		['1', gettext('Enabled')],
+		['0', gettext('disabled')]
+	    ],
 	    value: 'Default',
 	    allowBlank: true
 	});
-- 
2.1.4




More information about the pve-devel mailing list