Merge pull request #27506 from overleaf/slg-improve-add-manager-error

Improve error message when attempting to add non-registered manager

GitOrigin-RevId: d098b3640940c6299c279b86c9c7e2631cc73191
This commit is contained in:
Simon Gardner
2025-08-04 14:54:27 +01:00
committed by Copybot
parent 3d09f34767
commit df2e4e7d7e
2 changed files with 2 additions and 1 deletions

View File

@@ -210,7 +210,7 @@ export default {
return res.status(404).json({
error: {
code: 'user_not_found',
message: req.i18n.translate('user_not_found'),
message: req.i18n.translate('add_manager_user_not_found'),
},
})
}

View File

@@ -95,6 +95,7 @@
"add_error_assist_annual_to_your_projects": "Add Error Assist Annual <sparkle/> to your projects and get unlimited AI help to fix LaTeX errors faster.",
"add_error_assist_to_your_projects": "Add Error Assist <sparkle/> to your projects and get unlimited AI help to fix LaTeX errors faster.",
"add_files": "Add files",
"add_manager_user_not_found": "This email address is not registered in Overleaf. Please ask the person you are trying to add as a manager to create an Overleaf account if they have not already done so. When adding a manager, please use one of the email addresses that are associated with their account.",
"add_more_collaborators": "Add more collaborators",
"add_more_licenses_to_my_plan": "Add more licenses to my plan",
"add_more_managers": "Add more managers",