also fix a small typo in recovery keys text
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
reference: 'totp',
allowBlank: false,
regex: /^[0-9]{6}$/,
- regexText: 'TOTP codes consist of six decimal digits',
+ regexText: gettext('TOTP codes consist of six decimal digits'),
},
],
},
reference: 'recoveryKey',
allowBlank: false,
regex: /^[0-9a-f]{4}(-[0-9a-f]{4}){3}$/,
- regexText: 'Does not looks like a valid recovery key',
+ regexText: gettext('Does not look like a valid recovery key'),
},
{
xtype: 'box',