[pve-devel] [PATCH manager] do no translate ha states

Dominik Csapak d.csapak at proxmox.com
Mon Jan 23 14:32:25 CET 2017


because they have a special meaning, do not translate them

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/ha/ResourceEdit.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/manager6/ha/ResourceEdit.js b/www/manager6/ha/ResourceEdit.js
index 596cdb5..66de504 100644
--- a/www/manager6/ha/ResourceEdit.js
+++ b/www/manager6/ha/ResourceEdit.js
@@ -109,9 +109,9 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
 		value: 'started',
 		fieldLabel: gettext('Request State'),
 		comboItems: [
-		    ['started', gettext('Started')],
-		    ['stopped', gettext('Stopped')],
-		    ['disabled', gettext('Disabled')]
+		    ['started', 'started'],
+		    ['stopped', 'stopped'],
+		    ['disabled', 'disabled']
 		],
 		listeners: {
 		    'change': function(field, newValue) {
-- 
2.1.4





More information about the pve-devel mailing list