From a5d6c92f60ea26b329faea23160756a750050e8d Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 21 Mar 2024 17:33:24 +0100 Subject: [PATCH] window: password edit: clarify labels Signed-off-by: Thomas Lamprecht --- src/window/PasswordEdit.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/window/PasswordEdit.js b/src/window/PasswordEdit.js index fc7f68a..bc54b8d 100644 --- a/src/window/PasswordEdit.js +++ b/src/window/PasswordEdit.js @@ -7,8 +7,9 @@ Ext.define('Proxmox.window.PasswordEdit', { url: '/api2/extjs/access/password', + width: 380, fieldDefaults: { - labelWidth: 120, + labelWidth: 150, }, // allow products to opt-in as their API gains support for this. @@ -18,7 +19,7 @@ Ext.define('Proxmox.window.PasswordEdit', { { xtype: 'textfield', inputType: 'password', - fieldLabel: gettext('Current password'), + fieldLabel: gettext('Your Current Password'), reference: 'confirmation-password', name: 'confirmation-password', allowBlank: false, @@ -31,7 +32,7 @@ Ext.define('Proxmox.window.PasswordEdit', { { xtype: 'textfield', inputType: 'password', - fieldLabel: gettext('Password'), + fieldLabel: gettext('New Password'), minLength: 5, allowBlank: false, name: 'password', @@ -43,7 +44,7 @@ Ext.define('Proxmox.window.PasswordEdit', { { xtype: 'textfield', inputType: 'password', - fieldLabel: gettext('Confirm password'), + fieldLabel: gettext('Confirm New Password'), name: 'verifypassword', allowBlank: false, vtype: 'password',