diff --git a/services/web/app/src/Features/Errors/Errors.js b/services/web/app/src/Features/Errors/Errors.js index e0da50ce77..7407be8383 100644 --- a/services/web/app/src/Features/Errors/Errors.js +++ b/services/web/app/src/Features/Errors/Errors.js @@ -95,13 +95,13 @@ class SAMLAlreadyLinkedError extends OError { class SAMLEmailNotAffiliatedError extends OError { get i18nKey() { - return 'institution_account_tried_to_add_not_affiliated' + return 'institution_account_tried_to_add_not_affiliated_2' } } class SAMLEmailAffiliatedWithAnotherInstitutionError extends OError { get i18nKey() { - return 'institution_account_tried_to_add_affiliated_with_another_institution' + return 'institution_account_tried_to_add_affiliated_with_another_institution_2' } } diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 13b25107fa..f439fed4ab 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1100,10 +1100,10 @@ "insert_x_rows_below": "Insert __rows__ rows below", "institution": "Institution", "institution_account": "Institution Account", - "institution_account_tried_to_add_affiliated_with_another_institution": "This email is already associated with your account but affiliated with another institution.", + "institution_account_tried_to_add_affiliated_with_another_institution_2": "The email __email__ is already associated with your account but affiliated with another institution.", "institution_account_tried_to_add_already_linked": "This institution is already linked with your account via another email address.", "institution_account_tried_to_add_already_registered": "The email/institution account you tried to add is already registered with __appName__.", - "institution_account_tried_to_add_not_affiliated": "This email is already associated with your account but not affiliated with this institution.", + "institution_account_tried_to_add_not_affiliated_2": "The email address provided to us when you logged in was not an institutional email address. Your institution provided the email __email__, which is not considered an institutional email. Overleaf currently requires that an institutional email address is sent as part of the SSO login. Please follow up with your IT Services team to ensure that an institutional address is provided at login time.", "institution_account_tried_to_confirm_saml": "This email cannot be confirmed. Please remove the email from your account and try adding it again.", "institution_acct_successfully_linked_2": "Your <0>__appName__ account was successfully linked to your <0>__institutionName__ institutional account.", "institution_and_role": "Institution and role",