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

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 24 08:54:35 CET 2017


Am 23.01.2017 um 14:32 schrieb Dominik Csapak:
> because they have a special meaning, do not translate them
>

Makes sense to me.

> 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) {
>

Reviewed-by: Thomas Lamprecht <t.lamprecht at proxmox.com>



More information about the pve-devel mailing list