Skip to content

Commit 2fe4275

Browse files
committed
fix: messsage
1 parent e02b91a commit 2fe4275

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/keycloak-theme/login/components/SignInNotice.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function SignInNotice({ i18n }: SignInNoticeProps) {
1919
<>
2020
{msg('signInNoticeBodyPrefix')}
2121
<a href={HARVARD_SIGN_UP_URL}>{msg('signInNoticeSignUpLinkText')}</a>
22+
{msg('signInNoticeBodySuffix')}
2223
</>
2324
</Alert>
2425
</div>

src/keycloak-theme/login/i18n.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ const { useI18n, ofTypeI18n } = i18nBuilder
77
.withThemeName<ThemeName>()
88
.withCustomTranslations({
99
en: {
10-
signInNoticeTitle: 'Note about CILogon options sign-in',
10+
signInNoticeTitle: 'Note about Federated Login options sign-in',
1111
signInNoticeBodyPrefix:
12-
'CILogon options are available only to the existing accounts that previously authenticated with these methods. New sign-ups via these options are not supported. Please use your Harvard Login or Username/Email to ',
13-
signInNoticeSignUpLinkText: 'sign up in Harvard Dataverse'
12+
'Federated Login options are available only to the existing accounts that previously authenticated with these methods. New sign-ups via these options are not supported. Please use your Harvard Login or Username/Email to ',
13+
signInNoticeSignUpLinkText: 'sign up in Harvard Dataverse',
14+
signInNoticeBodySuffix: ', then you may login here.'
1415
}
1516
})
1617
.build()

0 commit comments

Comments
 (0)