[pve-devel] applied: [PATCH manager] ui: qemubiosedit: add gettext to efi disk hint
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Sep 30 16:46:59 CEST 2019
On 9/30/19 11:42 AM, Aaron Lauterer wrote:
> 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.
>
applied, and yes that's the case.
> 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
> });
>
>
More information about the pve-devel
mailing list