ui: pool backup: adapt labels a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-06-28 19:20:24 +02:00
parent ab64886987
commit a82afef0b9

View File

@ -32,7 +32,7 @@ Ext.define('PVE.dc.BackupEdit', {
['include', gettext('Include selected VMs')], ['include', gettext('Include selected VMs')],
['all', gettext('All')], ['all', gettext('All')],
['exclude', gettext('Exclude selected VMs')], ['exclude', gettext('Exclude selected VMs')],
['pool', gettext('Pool')] ['pool', gettext('Pool based')]
], ],
fieldLabel: gettext('Selection mode'), fieldLabel: gettext('Selection mode'),
name: 'selMode', name: 'selMode',
@ -128,7 +128,7 @@ Ext.define('PVE.dc.BackupEdit', {
}; };
var selPool = Ext.create('PVE.form.PoolSelector', { var selPool = Ext.create('PVE.form.PoolSelector', {
fieldLabel: gettext('Pool'), fieldLabel: gettext('Pool to backup'),
hidden: true, hidden: true,
allowBlank: true, allowBlank: true,
name: 'pool', name: 'pool',
@ -552,7 +552,7 @@ Ext.define('PVE.dc.BackupView', {
} }
if (record.data.pool) { if (record.data.pool) {
return record.data.pool; return "Pool '"+ record.data.pool + "'";
} }
return "-"; return "-";