diff --git a/app/assets/app/cobalt/Listing.component.js b/app/assets/app/cobalt/Listing.component.js index dfd0bac..52a22d4 100644 --- a/app/assets/app/cobalt/Listing.component.js +++ b/app/assets/app/cobalt/Listing.component.js @@ -41,7 +41,7 @@ const template = `
Your password was last changed on {{ last_reset }}.
+{{ t['profile.pw_last_reset'].replace('LAST_RESET', last_reset) }}
+ >{{ t['password.change'] }}MFA was enabled for your account on {{ mfa_enable_date }}.
+{{ t['profile.mfa_enabled_on'].replace('MFA_ENABLED', mfa_enable_date) }}
+ >{{ t['mfa.disable'] }} -App passwords are specially generated passwords that allow you to sign into legacy services with your {{ app_name }} account.
-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).
-Use these with caution, as they can bypass your multi-factor authentication.
+{{ t['profile.app_pw_1'].replace('APP_NAME', app_name) }}
+{{ t['profile.app_pw_2'] }}
+{{ t['profile.app_pw_3'] }}
-You have {{ app_passwords.length }} app {{ app_passwords.length === 1 ? 'password' : 'passwords' }} associated with your account.
+{{ t['profile.app_pw_remaining.'+(app_passwords.length === 1 ? 'one' : 'many')].replace('NUM_PWS', app_passwords.length) }}
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.
+{{ t['profile.recovery_1'] }}
-No recovery codes have been generated for your account.
- +{{ t['profile.no_recovery'] }}
+ -Recovery codes were generate for your account on {{ mfa_recovery_date }}. There is only 1 recovery code remaining.There are {{ mfa_recovery_codes }} recovery codes remaining.
- +{{ t['profile.recovery_gen_on'].replace('MFA_RECOVERY', mfa_recovery_date) }} {{ t['profile.codes_remaining.'+(mfa_recovery_codes === 1 ? 'one' : 'many')].replace('NUM_CODES', mfa_recovery_codes) }}
+APP_NAME
was generated successfully. Copy the password below and use it in APP_NAME
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',
+}