From a1197310c2cc272f7f6f10117189c53ae1dca53a Mon Sep 17 00:00:00 2001 From: Mathias Jakobsen Date: Wed, 3 Dec 2025 12:27:21 +0000 Subject: [PATCH] Merge pull request #29954 from overleaf/mj-workbench-errors [web] Handle rate limiting and access errors GitOrigin-RevId: f02a8764bf04da8adc41826be638ca03042fde3b --- services/web/frontend/extracted-translations.json | 12 ++++++++++++ services/web/locales/en.json | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 85943ac408..ec76e64a22 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -546,6 +546,7 @@ "emails_and_affiliations_title": "", "empty": "", "enable": "", + "enable_ai_assistant_to_get_access": "", "enable_ai_features": "", "enable_managed_users": "", "enable_single_sign_on": "", @@ -1668,6 +1669,7 @@ "something_went_wrong_rendering_pdf": "", "something_went_wrong_rendering_pdf_expected": "", "something_went_wrong_server": "", + "somethings_gone_wrong": "", "somthing_went_wrong_compiling": "", "sorry_it_looks_like_that_didnt_work_this_time": "", "sorry_there_are_no_experiments": "", @@ -1897,6 +1899,11 @@ "this_was_helpful": "", "this_wasnt_helpful": "", "this_will_remove_primary_email": "", + "time_and": "", + "time_hour": "", + "time_hour_plural": "", + "time_minute": "", + "time_minute_plural": "", "timedout": "", "tip": "", "title": "", @@ -1913,6 +1920,7 @@ "to_modify_your_subscription_go_to": "", "to_pull_results_directly_from_your_reference_manager_enable_one_of_the_available_reference_manager_integrations": "", "to_use_text_wrapping_in_your_table_make_sure_you_include_the_array_package": "", + "to_use_the_ai_assistant_you_need_to_enable_the_experiment": "", "toggle_compile_options_menu": "", "toggle_group": "", "toggle_personal_library": "", @@ -2175,6 +2183,7 @@ "well_be_here_when_youre_ready": "", "were_making_some_changes_to_project_sharing_this_means_you_will_be_visible": "", "were_performing_maintenance": "", + "weve_hit_a_problem_try_starting_a_new_chat": "", "weve_made_it_easier_to_find_and_use_the_tools_you_need_today": "", "what_did_you_find_most_helpful": "", "what_do_you_need_help_with": "", @@ -2289,6 +2298,8 @@ "your_subscription_will_pause_on": "", "your_subscription_will_pause_on_short": "", "your_subscriptions": "", + "your_usage_will_reset_in_time": "", + "your_usage_will_reset_within_24_hours": "", "youre_a_member_of_overleaf_labs": "", "youre_about_to_enable_single_sign_on": "", "youre_about_to_enable_single_sign_on_sso_only": "", @@ -2300,6 +2311,7 @@ "youre_signed_in_as_logout": "", "youve_added_more_licenses": "", "youve_added_x_more_licenses_to_your_subscription_invite_people": "", + "youve_hit_the_usage_limit": "", "youve_lost_collaboration_access": "", "youve_paused_your_subscription": "", "youve_unlinked_all_users": "", diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 321c9b54a7..c9b66f9e30 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -698,6 +698,7 @@ "empty_zip_file": "Zip doesn’t contain any file", "en": "English", "enable": "Enable", + "enable_ai_assistant_to_get_access": "Enable AI Assistant to get access", "enable_ai_features": "Enable AI features", "enable_managed_users": "Enable Managed Users", "enable_single_sign_on": "Enable single sign-on", @@ -2144,6 +2145,7 @@ "something_went_wrong_rendering_pdf": "Something went wrong while rendering this PDF.", "something_went_wrong_rendering_pdf_expected": "There was an issue displaying this PDF. <0>Please recompile", "something_went_wrong_server": "Something went wrong. Please try again.", + "somethings_gone_wrong": "Something’s gone wrong", "somthing_went_wrong_compiling": "Sorry, something went wrong and your project could not be compiled. Please try again in a few moments.", "sorry_detected_sales_restricted_region": "Sorry, we’ve detected that you are in a region from which we cannot presently accept payments. If you think you’ve received this message in error, please contact us with details of your location, and we will look into this for you. We apologize for the inconvenience.", "sorry_it_looks_like_that_didnt_work_this_time": "Sorry! It looks like that didn’t work this time. Please try again.", @@ -2420,6 +2422,11 @@ "this_wasnt_helpful": "This wasn’t helpful", "this_will_remove_primary_email": "Note that this will also remove the email address __email__ from the account because it’s an unconfirmed email. If you want to keep it, please confirm it first.", "three_free_collab": "Three free collaborators", + "time_and": "and", + "time_hour": "__count__ hour", + "time_hour_plural": "__count__ hours", + "time_minute": "__count__ minute", + "time_minute_plural": "__count__ minutes", "timedout": "Timed out", "tip": "Tip", "title": "Title", @@ -2438,6 +2445,7 @@ "to_modify_your_subscription_go_to": "To modify your subscription go to", "to_pull_results_directly_from_your_reference_manager_enable_one_of_the_available_reference_manager_integrations": "To pull results directly from your reference manager, <0>enable one of the available reference manager integrations.", "to_use_text_wrapping_in_your_table_make_sure_you_include_the_array_package": "<0>Please note: To use text wrapping in your table, make sure you include the <1>array package in your document preamble:", + "to_use_the_ai_assistant_you_need_to_enable_the_experiment": "To use the AI Assistant, you need to <0>enable the experiment.", "toggle_compile_options_menu": "Toggle compile options menu", "toggle_unknown_group": "Toggle unknown group", "token": "Token", @@ -2722,6 +2730,7 @@ "well_be_here_when_youre_ready": "We’ll be here when you’re ready to dive back in! 🦆", "were_making_some_changes_to_project_sharing_this_means_you_will_be_visible": "We’re making some <0>changes to project sharing. This means, as someone with edit access, your name and email address will be visible to the project owner and other editors.", "were_performing_maintenance": "We’re performing maintenance on Overleaf and you need to wait a moment. Sorry for any inconvenience. The editor will refresh automatically in __seconds__ seconds.", + "weve_hit_a_problem_try_starting_a_new_chat": "We’ve hit a problem. Try starting a new chat.", "weve_made_it_easier_to_find_and_use_the_tools_you_need_today": "The new editor design makes it easier to find and use the tools you need today, while making space for the new features you’ll love tomorrow.", "what_did_you_find_most_helpful": "What did you find most helpful?", "what_do_you_need": "What do you need?", @@ -2851,6 +2860,8 @@ "your_subscription_will_pause_on": "Your <0>__planName__ subscription will pause on <0>__pauseDate__. It’ll automatically unpause on <0>__reactivationDate__. Or you can unpause it yourself at any time.", "your_subscription_will_pause_on_short": "Your subscription will pause on <0>__pauseDate__.", "your_subscriptions": "Your subscriptions", + "your_usage_will_reset_in_time": "Your usage will reset in __time__.", + "your_usage_will_reset_within_24_hours": "Your usage will reset within 24 hours.", "youre_a_member_of_overleaf_labs": "You’re a member of Overleaf Labs. Don’t forget to check in regularly to see what experiments you can sign up to.", "youre_about_to_enable_single_sign_on": "You’re about to enable single sign-on (SSO). Before you do this, you should ensure you’re confident the SSO configuration is correct and all your group members have managed user accounts.", "youre_about_to_enable_single_sign_on_sso_only": "You’re about to enable single sign-on (SSO). Before you do this, you should ensure you’re confident the SSO configuration is correct.", @@ -2864,6 +2875,7 @@ "youve_added_more_licenses": "You’ve added more license(s)!", "youve_added_x_more_licenses_to_your_subscription_invite_people": "You’ve added __users__ more license(s) to your subscription. <0>Invite people.", "youve_already_used_your_free_trial": "You’ve already used your free trial. Upgrade to continue using premium features.", + "youve_hit_the_usage_limit": "You’ve hit the usage limit", "youve_lost_collaboration_access": "You’ve lost collaboration access", "youve_paused_your_subscription": "Your <0>__planName__ subscription is paused until <0>__reactivationDate__, then it’ll automatically unpause. You can unpause early at any time.", "youve_unlinked_all_users": "You’ve unlinked all users",