[pve-devel] [pve-manager] prevent KRDB and Monitor(s) being localized

Emmanuel Kasper e.kasper at proxmox.com
Tue Jul 12 12:14:01 CEST 2016


Both terms are rather domain specific and should not be translated.
See http://pve.proxmox.com/pipermail/pve-devel/2016-July/021975.html
for the problems of Monitor Host being wrongly translated
---
 www/manager6/storage/RBDEdit.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/storage/RBDEdit.js b/www/manager6/storage/RBDEdit.js
index a38ea52..5e5c802 100644
--- a/www/manager6/storage/RBDEdit.js
+++ b/www/manager6/storage/RBDEdit.js
@@ -40,7 +40,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
 		xtype: me.create ? 'textfield' : 'displayfield',
 		name: 'monhost',
 		value: '',
-		fieldLabel: gettext('Monitor Host'),
+		fieldLabel: 'Monitor(s)',
 		allowBlank: false
 	    },
 	    {
@@ -76,7 +76,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
 		xtype: 'pvecheckbox',
 		name: 'krbd',
 		uncheckedValue: 0,
-		fieldLabel: gettext('KRBD')
+		fieldLabel: 'KRBD'
 	    }
 	];
 	/*jslint confusion: false*/
-- 
2.1.4





More information about the pve-devel mailing list