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

[web] Domain capture join group message edit

GitOrigin-RevId: 8949dff2e1d95dd978ee5e04165ad4cefe51b088
This commit is contained in:
ilkin-overleaf
2025-10-08 16:34:20 +03:00
committed by Copybot
parent 9cc6fd9d82
commit c0a836082c
4 changed files with 4 additions and 4 deletions

View File

@@ -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": "",

View File

@@ -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

View File

@@ -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! Youve 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! Youve 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",

View File

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