Jelajahi Sumber

Merge pull request #28865 from overleaf/ii-domain-capture-join-success-message-edit

[web] Domain capture join group message edit

GitOrigin-RevId: 8949dff2e1d95dd978ee5e04165ad4cefe51b088
ilkin-overleaf 10 bulan lalu
induk
melakukan
c0a836082c

+ 1 - 1
services/web/frontend/extracted-translations.json

@@ -1752,7 +1752,7 @@
   "subscription_will_remain_active_until_end_of_billing_period_x": "",
   "subscription_will_remain_active_until_end_of_trial_period_x": "",
   "success_sso_set_up": "",
-  "success_youve_successfully_join_group": "",
+  "success_youve_successfully_joined_group": "",
   "suggest_a_different_fix": "",
   "suggest_fix": "",
   "suggested": "",

+ 1 - 1
services/web/frontend/js/features/project-list/components/notifications/groups/group-sso-setup-success.tsx

@@ -30,7 +30,7 @@ function GroupSsoSetupSuccess() {
         type="success"
         content={
           <Trans
-            i18nKey="success_youve_successfully_join_group"
+            i18nKey="success_youve_successfully_joined_group"
             components={[<b />]} // eslint-disable-line react/jsx-key
             values={{ groupName: joinedGroupName }}
             shouldUnescape

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

@@ -2241,7 +2241,7 @@
   "subscription_will_remain_active_until_end_of_billing_period_x": "Your subscription will remain active until the end of your billing period, <0>__terminationDate__</0>.",
   "subscription_will_remain_active_until_end_of_trial_period_x": "Your subscription will remain active until the end of your trial period, <0>__terminationDate__</0>.",
   "success_sso_set_up": "Success! Single sign-on is all set up for you.",
-  "success_youve_successfully_join_group": "Success! You’ve joined the <0>__groupName__</0> group subscription. Your group has SSO enabled so you can log in without needing to remember a password.",
+  "success_youve_successfully_joined_group": "Success! You’ve joined the <0>__groupName__</0> group subscription. Your group has SSO enabled.",
   "suggest_a_different_fix": "Suggest a different fix",
   "suggest_fix": "Suggest fix",
   "suggested": "Suggested",

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

@@ -1089,7 +1089,7 @@ describe('<UserNotifications />', function () {
       renderWithinProjectListProvider(GroupSsoSetupSuccess)
       const alert = screen.getByRole('alert')
       expect(alert.textContent).to.contain(
-        `Success! You’ve joined the ${groupName} group subscription. Your group has SSO enabled so you can log in without needing to remember a password.`
+        `Success! You’ve joined the ${groupName} group subscription. Your group has SSO enabled.`
       )
     })
   })