ui: pci map edit: fix typos in warnings and use gettexts

so they can be translated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Dominik Csapak 2023-06-21 09:41:41 +02:00 committed by Thomas Lamprecht
parent 746323ce88
commit 035ce4d4b4

View File

@ -163,8 +163,7 @@ Ext.define('PVE.window.PCIMapEditWindow', {
hidden: true, hidden: true,
columnWidth: 1, columnWidth: 1,
padding: '0 0 10 0', padding: '0 0 10 0',
value: 'No IOMMU detected, please activate it.' + value: gettext('No IOMMU detected, please activate it. See Documentation for further information.'),
'See Documentation for further information.',
userCls: 'pmx-hint', userCls: 'pmx-hint',
}, },
{ {
@ -173,8 +172,7 @@ Ext.define('PVE.window.PCIMapEditWindow', {
hidden: true, hidden: true,
columnWidth: 1, columnWidth: 1,
padding: '0 0 10 0', padding: '0 0 10 0',
value: 'When multiple devices are selected, the first free one will be chosen' + value: gettext('When multiple devices are selected, the first free one will be chosen on guest start.'),
' on guest start.',
userCls: 'pmx-hint', userCls: 'pmx-hint',
}, },
{ {
@ -184,7 +182,7 @@ Ext.define('PVE.window.PCIMapEditWindow', {
columnWidth: 1, columnWidth: 1,
padding: '0 0 10 0', padding: '0 0 10 0',
itemId: 'iommuwarning', itemId: 'iommuwarning',
value: 'The selected Device is not in a seperate IOMMU group, make sure this is intended.', value: gettext('A selected device is not in a separate IOMMU group, make sure this is intended.'),
userCls: 'pmx-hint', userCls: 'pmx-hint',
}, },
], ],