From 04da73f8517a80b6e913e0b565da253a44046ffb Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 10 Nov 2021 19:25:55 +0100 Subject: [PATCH] ui: backup job: avoid row wrapping due to overly long label We can express that it's a notification in the combobox. Signed-off-by: Thomas Lamprecht --- www/manager6/dc/Backup.js | 2 +- www/manager6/form/EmailNotificationSelector.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js index 45ee7022..477c419b 100644 --- a/www/manager6/dc/Backup.js +++ b/www/manager6/dc/Backup.js @@ -205,7 +205,7 @@ Ext.define('PVE.dc.BackupEdit', { }, { xtype: 'pveEmailNotificationSelector', - fieldLabel: gettext('Email notification'), + fieldLabel: gettext('Email'), name: 'mailnotification', deleteEmpty: !me.isCreate, value: me.isCreate ? 'always' : '', diff --git a/www/manager6/form/EmailNotificationSelector.js b/www/manager6/form/EmailNotificationSelector.js index 44b7af3e..f318ea18 100644 --- a/www/manager6/form/EmailNotificationSelector.js +++ b/www/manager6/form/EmailNotificationSelector.js @@ -2,7 +2,7 @@ Ext.define('PVE.form.EmailNotificationSelector', { extend: 'Proxmox.form.KVComboBox', alias: ['widget.pveEmailNotificationSelector'], comboItems: [ - ['always', gettext('Always')], - ['failure', gettext('On failure only')], + ['always', gettext('Notify always')], + ['failure', gettext('On failure only')], ], });