From: Dominik Csapak Date: Wed, 21 Jun 2023 07:41:41 +0000 (+0200) Subject: ui: pci map edit: fix typos in warnings and use gettexts X-Git-Url: https://git.proxmox.com/?p=pve-manager.git;a=commitdiff_plain;h=035ce4d4b461d6d8e3abb88405f3d2fb106430cc ui: pci map edit: fix typos in warnings and use gettexts so they can be translated Signed-off-by: Dominik Csapak Signed-off-by: Thomas Lamprecht --- diff --git a/www/manager6/window/PCIMapEdit.js b/www/manager6/window/PCIMapEdit.js index f243362b..2b268719 100644 --- a/www/manager6/window/PCIMapEdit.js +++ b/www/manager6/window/PCIMapEdit.js @@ -163,8 +163,7 @@ Ext.define('PVE.window.PCIMapEditWindow', { hidden: true, columnWidth: 1, padding: '0 0 10 0', - value: 'No IOMMU detected, please activate it.' + - 'See Documentation for further information.', + value: gettext('No IOMMU detected, please activate it. See Documentation for further information.'), userCls: 'pmx-hint', }, { @@ -173,8 +172,7 @@ Ext.define('PVE.window.PCIMapEditWindow', { hidden: true, columnWidth: 1, padding: '0 0 10 0', - value: 'When multiple devices are selected, the first free one will be chosen' + - ' on guest start.', + value: gettext('When multiple devices are selected, the first free one will be chosen on guest start.'), userCls: 'pmx-hint', }, { @@ -184,7 +182,7 @@ Ext.define('PVE.window.PCIMapEditWindow', { columnWidth: 1, padding: '0 0 10 0', 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', }, ],