Start client-side locale support

This commit is contained in:
garrettmills
2020-05-31 18:00:05 -05:00
parent d2ae9c43e8
commit c956628c53
16 changed files with 324 additions and 66 deletions

View File

@@ -0,0 +1,23 @@
module.exports = exports = {
challenge_prompt: 'Your account has multi-factor authentication enabled. Please enter the code generated by your authenticator app to continue.',
mfa_code: { one: 'MFA Code', many: 'MFA Codes' },
lost_device: 'Lost your MFA device?',
invalid_code: 'Uh, oh! It looks like that\'s not the right code. Please try again.',
success: 'Success! Redirecting...',
disable_prompt: `
This process will disable multi-factor authentication on your account.
<br><br>
For security reasons, this will sign you out of all devices. It will also deactivate any existing app passwords you have generated.
<br><br>
Are you sure you want to continue?
`,
disable: 'Disable MFA',
disable_success: 'MFA was successfully disabled. You\'ll now sign-in normally.',
recover_prompt: 'To recover access to your account, you can enter one of the generated MFA recovery codes:',
recovery_code: 'Recovery Code',
normal_code: 'Have a normal MFA code?',
recover_success: 'Success! There are only NUM_CODES recovery codes remaining. Let\'s get you on your way...',
}