window/TfaWindow: fix text format
Ext.String.format was missing to show the number correctly Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
ceff5d3fc0
commit
55e47317c0
@ -384,7 +384,10 @@ Ext.define('Proxmox.window.TfaLoginWindow', {
|
||||
reference: 'recoveryLow',
|
||||
hidden: true,
|
||||
html: '<i class="fa fa-exclamation-triangle warning"></i>'
|
||||
+ gettext('Less than {0} recovery keys available. Please generate a new set after login!'),
|
||||
+ Ext.String.format(
|
||||
gettext('Less than {0} recovery keys available. Please generate a new set after login!'),
|
||||
4,
|
||||
),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user