]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: pci map edit: fix typos in warnings and use gettexts
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 21 Jun 2023 07:41:41 +0000 (09:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 08:03:52 +0000 (10:03 +0200)
so they can be translated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/PCIMapEdit.js

index f243362b11564cdb94e36bafc906ab8e482f50d7..2b26871999c9bb9f48fa86460df193048846b90e 100644 (file)
@@ -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',
                },
            ],