Просмотр исходного кода

[web] Update `pro` -> `premium` wording (#33445)

* [web] Update `pro` -> `premium` wording

Updated translations to reflect change on
plan denominations

GitOrigin-RevId: 39e9c8257f29540d33769e960b5b81fb08c47c62
Miguel Serrano 5 месяцев назад
Родитель
Сommit
d3f5738158

+ 6 - 6
services/web/locales/en.json

@@ -98,7 +98,7 @@
   "add_domain": "Add domain",
   "add_email": "Add email",
   "add_email_address": "Add email address",
-  "add_email_to_claim_features": "Add an institutional email address to claim your features.",
+  "add_email_to_claim_features": "Add your university email address to see if you qualify.",
   "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",
@@ -611,7 +611,7 @@
   "details": "Details",
   "details_provided_by_google_explanation": "Your details were provided by your Google account. Please check you’re happy with them.",
   "dictionary": "Dictionary",
-  "did_you_know_institution_providing_professional": "Did you know that __institutionName__ is providing <0>free __appName__ Pro features</0> to everyone at __institutionName__?",
+  "did_you_know_institution_providing_professional": "Did you know that __institutionName__ is providing <0>free __appName__ premium features</0> to qualified users at __institutionName__?",
   "disable": "Disable",
   "disable_ai_features": "Disable AI features",
   "disable_equation_preview": "Disable equation preview",
@@ -1671,10 +1671,10 @@
   "not_registered": "Not registered",
   "note_features_under_development": "<0>Please note</0> that features in this program are still being tested and actively developed. This means that they might <0>change</0>, be <0>removed</0> or <0>become part of a premium plan</0>",
   "notification": "Notification",
-  "notification_features_upgraded_by_affiliation": "Good news! Your affiliated organization __institutionName__ has an Overleaf subscription, and you now have access to all of Overleaf’s Pro features.",
+  "notification_features_upgraded_by_affiliation": "Good news! Your affiliated organization __institutionName__ has an Overleaf subscription, and you now have access to all of Overleaf premium features.",
   "notification_old_debug_projects": "You have some old debug projects that you should delete, if you no longer need them.",
   "notification_personal_and_group_subscriptions": "We’ve spotted that you’ve got <0>more than one active __appName__ subscription</0>. To avoid paying more than you need to, <1>review your subscriptions</1>.",
-  "notification_personal_subscription_not_required_due_to_affiliation": " Good news! Your affiliated organization __institutionName__ has an Overleaf subscription, and you now have access to Overleaf’s Pro features through your affiliation. You can cancel your individual subscription without losing access to any features.",
+  "notification_personal_subscription_not_required_due_to_affiliation": " Good news! Your affiliated organization __institutionName__ has an Overleaf subscription, and you now have access to Overleaf premium features through your affiliation. You can cancel your individual subscription without losing access to any features.",
   "notification_project_invite_accepted_message": "You’ve joined <b>__projectName__</b>",
   "notification_project_invite_message": "<b>__userName__</b> would like you to join <b>__projectName__</b>",
   "november": "November",
@@ -1698,7 +1698,7 @@
   "one_collaborator_per_project": "1 collaborator per project",
   "one_free_collab": "One free collaborator",
   "one_per_project": "1 per project",
-  "one_step_away_from_professional_features": "You are one step away from accessing <0>Overleaf Pro features</0>!",
+  "one_step_away_from_professional_features": "You are one step away from accessing <0>Overleaf premium features</0>!",
   "one_user": "1 user",
   "ongoing_experiments": "Ongoing experiments",
   "online_latex_editor": "Online LaTeX Editor",
@@ -3046,7 +3046,7 @@
   "you_can_buy_this_plan_but_not_as_a_trial": "You can buy this plan but not as a trial, as you’ve completed a trial before.",
   "you_can_link_x_in_your_account_settings": "You can link __managers__ in your <0>account settings</0>.",
   "you_can_now_enable_sso": "You can now enable SSO on your group settings page.",
-  "you_can_now_log_in_sso": "You can now log in through your institution and if eligible you will receive <0>__appName__ Pro features</0>.",
+  "you_can_now_log_in_sso": "You can now log in through your institution and if eligible you will receive <0>__appName__ premium features</0>.",
   "you_can_now_search_and_add_references_from_your_rm_library_without_needing_to_import_files": "You can now search and add references from your __referenceManager__ library without needing to import files—just type <code>\\cite{}</code> in your .tex file. <a>Learn more</a>",
   "you_can_now_sign_in_with_new_password": "You can now sign in with your new password.",
   "you_can_only_be_affiliated_with_one_group": "You can only be affiliated with one group.",

+ 2 - 2
services/web/test/frontend/features/project-list/components/notifications.test.tsx

@@ -273,7 +273,7 @@ describe('<UserNotifications />', function () {
       screen.getByText(/it looks like you’re at/i)
       screen.getByText(/did you know that/i)
       screen.getByText(
-        /add an institutional email address to claim your features/i
+        /add your university email address to see if you qualify/i
       )
 
       const addAffiliation = screen.getByRole('link', {
@@ -836,7 +836,7 @@ describe('<UserNotifications />', function () {
         const alert = await screen.findByRole('alert')
         const email = unconfirmedCommonsUserData.email
         expect(alert.textContent).to.contain(
-          'You are one step away from accessing Overleaf Pro features'
+          'You are one step away from accessing Overleaf premium features'
         )
         expect(alert.textContent).to.contain(
           `Overleaf has an Overleaf subscription. Click the confirmation link sent to ${email} to upgrade to Overleaf Pro`