Translations for the profile page components

This commit is contained in:
garrettmills
2020-06-01 22:51:10 -05:00
parent 0bec18825e
commit 3e3e4e3ef3
8 changed files with 173 additions and 49 deletions

View File

@@ -8,6 +8,8 @@ module.exports = exports = {
invalid: 'Invalid',
unnamed: '(unnamed)',
yes: 'Yes',
no: 'No',
deny: 'Deny',
grant: 'Grant Access',
back: 'Back',
@@ -15,6 +17,11 @@ module.exports = exports = {
cancel: 'Cancel',
request: 'Request',
continue: 'Continue',
generate: 'Generate',
close: 'Close',
change: 'Change',
deactivate: 'Deactivate',
view: 'View',
unknown_error: 'An unknown error has occurred, and we are unable to continue at this time.',
invalid_resolver: 'Invalid locale resolver.',
@@ -26,4 +33,7 @@ module.exports = exports = {
invalid_json: 'must be valid JSON.',
not_permission: 'Sorry, you do not have permission to ACTION this resource.',
item_saved: 'The ITEM was saved.',
are_you_sure: 'Are you sure?',
action_resource_confirm: 'You are about to ACTION this RESOURCE. Do you want to continue?',
}

View File

@@ -1,4 +1,5 @@
module.exports = exports = {
mfa: 'Multi-factor Authentication',
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?',

View File

@@ -7,5 +7,6 @@ module.exports = exports = {
new_password: 'New Password',
confirm_password: 'Confirm the Password',
change: 'Change Password',
password: 'Password',
reset_success: 'Your password was reset. For security reasons, you will be asked to sign-in again.',
}

View File

@@ -0,0 +1,42 @@
module.exports = exports = {
generate_app_pw: 'Generate App-Password',
app_pws: 'App Passwords',
app_name: 'App Name',
cool_email_client: 'My really cool e-mail client',
app_pw_success: 'The app password for <code>APP_NAME</code> was generated successfully. Copy the password below and use it in <code>APP_NAME</code> to sign in. Note that, once you close this window, you will no longer be able to view this password.',
change_photo: 'Change Profile Photo',
profile_photo: 'Profile Photo',
placeholder_first: 'John',
placeholder_last: 'Doe',
placeholder_email: 'john.doe@contoso.com',
tagline: 'Tagline',
basic_profile: 'Basic Profile',
pw_last_reset: 'Your password was last changed on LAST_RESET.',
mfa_enabled_on: 'MFA was enabled for your account on MFA_ENABLED.',
app_pw_1: 'App passwords are specially generated passwords that allow you to sign into legacy services with your APP_NAME account.',
app_pw_2: 'You should only use this to authenticate against a service that needs to repeatedly use your password on your behalf (e.g. e-mail clients).',
app_pw_3: 'Use these with caution, as they can bypass your multi-factor authentication.',
app_pw_remaining: {
one: 'You have NUM_PWS app password associated with your account.',
many: 'You have NUM_PWS app passwords associated with your account.',
},
issued: 'Issued:',
gen_new: 'Generate New',
recovery_codes: 'Recovery Codes',
recovery_1: 'Recovery codes can be used to regain access to your account in the event that you lose access to the device that generates your MFA codes.',
no_recovery: 'No recovery codes have been generated for your account.',
generate_recovery: 'Generate Recovery Codes',
recovery_gen_on: 'Recovery codes were generate for your account on MFA_RECOVERY.',
codes_remaining: {
one: 'There is only 1 recovery code remaining.',
many: 'There are NUM_CODES recovery codes remaining.',
},
regenerate_recovery: 'Re-generate Recovery Codes',
}