[pve-devel] [PATCH manager] ui: qemubiosedit: add gettext to efi disk hint

Aaron Lauterer a.lauterer at proxmox.com
Mon Sep 30 11:42:47 CEST 2019


Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---

Put the hint in one line because AFAIU our tooling cannot handle
multiline gettext calls.

 www/manager6/qemu/QemuBiosEdit.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/www/manager6/qemu/QemuBiosEdit.js b/www/manager6/qemu/QemuBiosEdit.js
index 7283df74..54c0271d 100644
--- a/www/manager6/qemu/QemuBiosEdit.js
+++ b/www/manager6/qemu/QemuBiosEdit.js
@@ -9,8 +9,7 @@ Ext.define('PVE.qemu.BiosEdit', {
 	var EFIHint = Ext.createWidget({
 	    xtype: 'displayfield', //submitValue is false, so we don't get submitted
 	    userCls: 'pve-hint',
-	    value: 'You need to add an EFI disk for storing the ' +
-	    'EFI settings. See the online help for details.',
+	    value: gettext('You need to add an EFI disk for storing the EFI settings. See the online help for details.'),
 	    hidden: true
 	});
 
-- 
2.20.1





More information about the pve-devel mailing list