From 75ebd46e9af13fbed0ed0ff2dd61adaf7be8027b Mon Sep 17 00:00:00 2001 From: Laura Beatris <48022589+LauraBeatris@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:40:38 -0300 Subject: [PATCH] Introduce localization key for enterprise SSO --- .../src/ui/common/__tests__/redirects.test.ts | 32 +++++++++-------- .../ui/components/UserProfile/EmailForm.tsx | 34 +++++++++++-------- .../VerifyWithEnterpriseConnection.tsx | 2 +- packages/localizations/src/ar-SA.ts | 7 ++++ packages/localizations/src/be-BY.ts | 7 ++++ packages/localizations/src/bg-BG.ts | 7 ++++ packages/localizations/src/cs-CZ.ts | 7 ++++ packages/localizations/src/da-DK.ts | 7 ++++ packages/localizations/src/de-DE.ts | 7 ++++ packages/localizations/src/el-GR.ts | 7 ++++ packages/localizations/src/en-US.ts | 7 ++++ packages/localizations/src/es-ES.ts | 7 ++++ packages/localizations/src/es-MX.ts | 7 ++++ packages/localizations/src/fi-FI.ts | 7 ++++ packages/localizations/src/fr-FR.ts | 7 ++++ packages/localizations/src/he-IL.ts | 7 ++++ packages/localizations/src/hu-HU.ts | 7 ++++ packages/localizations/src/is-IS.ts | 7 ++++ packages/localizations/src/it-IT.ts | 7 ++++ packages/localizations/src/ja-JP.ts | 7 ++++ packages/localizations/src/ko-KR.ts | 7 ++++ packages/localizations/src/mn-MN.ts | 7 ++++ packages/localizations/src/nb-NO.ts | 7 ++++ packages/localizations/src/nl-NL.ts | 7 ++++ packages/localizations/src/pl-PL.ts | 7 ++++ packages/localizations/src/pt-BR.ts | 7 ++++ packages/localizations/src/pt-PT.ts | 7 ++++ packages/localizations/src/ro-RO.ts | 7 ++++ packages/localizations/src/ru-RU.ts | 7 ++++ packages/localizations/src/sk-SK.ts | 7 ++++ packages/localizations/src/sr-RS.ts | 7 ++++ packages/localizations/src/sv-SE.ts | 7 ++++ packages/localizations/src/th-TH.ts | 7 ++++ packages/localizations/src/tr-TR.ts | 7 ++++ packages/localizations/src/uk-UA.ts | 7 ++++ packages/localizations/src/vi-VN.ts | 7 ++++ packages/localizations/src/zh-CN.ts | 7 ++++ packages/localizations/src/zh-TW.ts | 7 ++++ packages/types/src/localization.ts | 7 ++++ 39 files changed, 289 insertions(+), 31 deletions(-) diff --git a/packages/clerk-js/src/ui/common/__tests__/redirects.test.ts b/packages/clerk-js/src/ui/common/__tests__/redirects.test.ts index 20b32825fd..346a400c6e 100644 --- a/packages/clerk-js/src/ui/common/__tests__/redirects.test.ts +++ b/packages/clerk-js/src/ui/common/__tests__/redirects.test.ts @@ -1,21 +1,23 @@ -import { buildEmailLinkRedirectUrl, buildSSOCallbackURL } from '../redirects'; +import { buildSSOCallbackURL, buildVerificationRedirectUrl } from '../redirects'; -describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { +describe('buildVerificationRedirectUrl(routing, baseUrl)', () => { it('defaults to hash based routing strategy on empty routing', function () { - expect(buildEmailLinkRedirectUrl({ path: '', authQueryString: '' } as any, '')).toBe('http://localhost/#/verify'); + expect(buildVerificationRedirectUrl({ path: '', authQueryString: '' } as any, '')).toBe( + 'http://localhost/#/verify', + ); }); it('returns the magic link redirect url for components using path based routing ', function () { - expect(buildEmailLinkRedirectUrl({ routing: 'path', authQueryString: '' } as any, '')).toBe( + expect(buildVerificationRedirectUrl({ routing: 'path', authQueryString: '' } as any, '')).toBe( 'http://localhost/verify', ); - expect(buildEmailLinkRedirectUrl({ routing: 'path', path: '/sign-in', authQueryString: '' } as any, '')).toBe( + expect(buildVerificationRedirectUrl({ routing: 'path', path: '/sign-in', authQueryString: '' } as any, '')).toBe( 'http://localhost/sign-in/verify', ); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'path', path: '', @@ -26,7 +28,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('http://localhost/verify?redirectUrl=https://clerk.com'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'path', path: '/sign-in', @@ -37,7 +39,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('http://localhost/sign-in/verify?redirectUrl=https://clerk.com'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'path', path: '/sign-in', @@ -50,7 +52,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { it('returns the magic link redirect url for components using hash based routing ', function () { expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'hash', authQueryString: '', @@ -60,7 +62,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('http://localhost/#/verify'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'hash', path: '/sign-in', @@ -71,7 +73,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('http://localhost/#/verify'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'hash', path: '', @@ -82,7 +84,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('http://localhost/#/verify?redirectUrl=https://clerk.com'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'hash', path: '/sign-in', @@ -93,7 +95,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('http://localhost/#/verify?redirectUrl=https://clerk.com'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'hash', path: '/sign-in', @@ -106,7 +108,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { it('returns the magic link redirect url for components using virtual routing ', function () { expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'virtual', authQueryString: 'redirectUrl=https://clerk.com', @@ -116,7 +118,7 @@ describe('buildEmailLinkRedirectUrl(routing, baseUrl)', () => { ).toBe('https://accounts.clerk.com/sign-in#/verify?redirectUrl=https://clerk.com'); expect( - buildEmailLinkRedirectUrl( + buildVerificationRedirectUrl( { routing: 'virtual', } as any, diff --git a/packages/clerk-js/src/ui/components/UserProfile/EmailForm.tsx b/packages/clerk-js/src/ui/components/UserProfile/EmailForm.tsx index cb21bce78e..d367acf36e 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/EmailForm.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/EmailForm.tsx @@ -20,7 +20,6 @@ export const EmailForm = withCardStateProvider((props: EmailFormProps) => { const card = useCardState(); const { user } = useUser(); const environment = useEnvironment(); - const preferEmailLinks = emailLinksEnabledForInstance(environment); const [createEmailAddress] = useReverification(() => user?.createEmailAddress({ email: emailField.value })); @@ -53,15 +52,13 @@ export const EmailForm = withCardStateProvider((props: EmailFormProps) => { .catch(e => handleError(e, [emailField], card.setError)); }; + const translationKey = getTranslationKeyByStrategy(strategy); + return ( @@ -80,15 +77,9 @@ export const EmailForm = withCardStateProvider((props: EmailFormProps) => { {strategy === 'email_link' && ( { ); }); +const getTranslationKeyByStrategy = (strategy: PrepareEmailAddressVerificationParams['strategy']) => { + switch (strategy) { + case 'email_code': + return 'userProfile.emailAddressPage.emailLink'; + case 'enterprise_sso': + return 'userProfile.emailAddressPage.enterpriseSsoLink'; + case 'email_link': + return 'userProfile.emailAddressPage.emailLink'; + default: + throw new Error(`Unsupported strategy for email verification: ${strategy}`); + } +}; + function emailLinksEnabledForInstance(env: EnvironmentResource): boolean { const { userSettings } = env; const { email_address } = userSettings.attributes; diff --git a/packages/clerk-js/src/ui/components/UserProfile/VerifyWithEnterpriseConnection.tsx b/packages/clerk-js/src/ui/components/UserProfile/VerifyWithEnterpriseConnection.tsx index 7572cd51e3..40f3b29c72 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/VerifyWithEnterpriseConnection.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/VerifyWithEnterpriseConnection.tsx @@ -45,7 +45,7 @@ export const VerifyWithEnterpriseConnection = (props: VerifyWithEnterpriseConnec return ( <> diff --git a/packages/localizations/src/ar-SA.ts b/packages/localizations/src/ar-SA.ts index ef5f77f3b1..0383df2ea1 100644 --- a/packages/localizations/src/ar-SA.ts +++ b/packages/localizations/src/ar-SA.ts @@ -692,6 +692,13 @@ export const arSA: LocalizationResource = { resendButton: 'لم يصلك الرابط؟ حاول مرة أخرى', successMessage: 'البريد الإلكتروني {{identifier}} تمت إضافته إلى حسابك', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: 'سيتم حذف هذا الإيميل من حسابك {{identifier}}', messageLine2: 'لن تتمكن من تسجيل الدخول باستخدام عنوان البريد الإلكتروني هذا.', diff --git a/packages/localizations/src/be-BY.ts b/packages/localizations/src/be-BY.ts index 0a03674b0f..d2fd81f0e7 100644 --- a/packages/localizations/src/be-BY.ts +++ b/packages/localizations/src/be-BY.ts @@ -699,6 +699,13 @@ export const beBY: LocalizationResource = { resendButton: 'Адправіць спасылку паўторна', successMessage: 'Адрас электроннай пошты {{identifier}} быў дададзены ў ваш уліковы запіс.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} будзе выдалены з гэтага ўліковага запісу.', messageLine2: 'Вы больш не зможаце ўваходзіць, выкарыстоўваючы гэты адрас электроннай пошты.', diff --git a/packages/localizations/src/bg-BG.ts b/packages/localizations/src/bg-BG.ts index 1627394c2d..73973f3416 100644 --- a/packages/localizations/src/bg-BG.ts +++ b/packages/localizations/src/bg-BG.ts @@ -694,6 +694,13 @@ export const bgBG: LocalizationResource = { resendButton: 'Не сте получили линк? Изпрати отново', successMessage: 'Имейлът {{identifier}} беше добавен към вашия профил.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} ще бъде премахнат от този профил.', messageLine2: 'Няма да можете да влезете в профила си, използвайки този имейл адрес.', diff --git a/packages/localizations/src/cs-CZ.ts b/packages/localizations/src/cs-CZ.ts index 12ec9f0244..67e7726f56 100644 --- a/packages/localizations/src/cs-CZ.ts +++ b/packages/localizations/src/cs-CZ.ts @@ -691,6 +691,13 @@ export const csCZ: LocalizationResource = { resendButton: 'Znovu odeslat odkaz', successMessage: 'E-mailová adresa {{identifier}} byla přidána k vašemu účtu.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} bude odstraněna z tohoto účtu.', messageLine2: 'Nebudete se moci přihlásit pomocí této e-mailové adresy.', diff --git a/packages/localizations/src/da-DK.ts b/packages/localizations/src/da-DK.ts index 0c65ca601a..26e03ee1fa 100644 --- a/packages/localizations/src/da-DK.ts +++ b/packages/localizations/src/da-DK.ts @@ -693,6 +693,13 @@ export const daDK: LocalizationResource = { resendButton: 'Send link igen', successMessage: 'E-mailen {{identifier}} er blevet tilføjet til din konto.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} vil blive fjernet fra denne konto.', messageLine2: 'Du vil ikke længere kunne logge ind med denne e-mailadresse.', diff --git a/packages/localizations/src/de-DE.ts b/packages/localizations/src/de-DE.ts index 6555b90888..21617ee34e 100644 --- a/packages/localizations/src/de-DE.ts +++ b/packages/localizations/src/de-DE.ts @@ -706,6 +706,13 @@ export const deDE: LocalizationResource = { resendButton: 'Link erneut senden', successMessage: 'Die E-Mail-Adresse {{identifier}} wurde Ihrem Konto hinzugefügt.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} wird aus diesem Konto entfernt.', messageLine2: 'Sie können sich nicht mehr mit dieser E-Mail-Adresse anmelden.', diff --git a/packages/localizations/src/el-GR.ts b/packages/localizations/src/el-GR.ts index 93c4613a7f..60dc579451 100644 --- a/packages/localizations/src/el-GR.ts +++ b/packages/localizations/src/el-GR.ts @@ -700,6 +700,13 @@ export const elGR: LocalizationResource = { resendButton: 'Δεν λάβατε κάποιον σύνδεσμο; Επανάληψη αποστολής', successMessage: 'Το email {{identifier}} έχει προστεθεί στον λογαριασμό σας.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: 'Η διεύθυνση {{identifier}} θα αφαιρεθεί από αυτόν τον λογαριασμό.', messageLine2: 'Δεν θα μπορείτε πλέον να συνδεθείτε χρησιμοποιώντας αυτήν τη διεύθυνση email.', diff --git a/packages/localizations/src/en-US.ts b/packages/localizations/src/en-US.ts index e53c4ac6e1..76b4e417c1 100644 --- a/packages/localizations/src/en-US.ts +++ b/packages/localizations/src/en-US.ts @@ -689,6 +689,13 @@ export const enUS: LocalizationResource = { resendButton: "Didn't receive a link? Resend", successMessage: 'The email {{identifier}} has been added to your account.', }, + enterpriseSsoLink: { + formHint: 'An email containing a verification link will be sent to this email address.', + formSubtitle: 'Click on the verification link in the email sent to {{identifier}}', + formTitle: 'Verification link', + resendButton: "Didn't receive a link? Resend", + successMessage: 'The email {{identifier}} has been added to your account.', + }, removeResource: { messageLine1: '{{identifier}} will be removed from this account.', messageLine2: 'You will no longer be able to sign in using this email address.', diff --git a/packages/localizations/src/es-ES.ts b/packages/localizations/src/es-ES.ts index 1fbdef0393..04b53ab279 100644 --- a/packages/localizations/src/es-ES.ts +++ b/packages/localizations/src/es-ES.ts @@ -698,6 +698,13 @@ export const esES: LocalizationResource = { resendButton: 'Reenviar enlace', successMessage: 'El correo electrónico {{identifier}} se ha agregado a su cuenta.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} será eliminado de esta cuenta.', messageLine2: 'Ya no podrá iniciar sesión con esta dirección de correo electrónico.', diff --git a/packages/localizations/src/es-MX.ts b/packages/localizations/src/es-MX.ts index 36e167f6ff..304e5bf526 100644 --- a/packages/localizations/src/es-MX.ts +++ b/packages/localizations/src/es-MX.ts @@ -700,6 +700,13 @@ export const esMX: LocalizationResource = { resendButton: 'Reenviar enlace', successMessage: 'El correo electrónico {{identifier}} se ha agregado a su cuenta.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} será eliminado de esta cuenta.', messageLine2: 'Ya no podrá iniciar sesión con esta dirección de correo electrónico.', diff --git a/packages/localizations/src/fi-FI.ts b/packages/localizations/src/fi-FI.ts index f3615c6bac..5b6f4e6a5f 100644 --- a/packages/localizations/src/fi-FI.ts +++ b/packages/localizations/src/fi-FI.ts @@ -695,6 +695,13 @@ export const fiFI: LocalizationResource = { resendButton: 'Et saanut linkkiä? Lähetä uudelleen', successMessage: 'Sähköpostiosoitteesi {{identifier}} on nyt lisätty tilillesi.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} poistetaan tililtäsi.', messageLine2: diff --git a/packages/localizations/src/fr-FR.ts b/packages/localizations/src/fr-FR.ts index 22f6861bfa..72b13a2689 100644 --- a/packages/localizations/src/fr-FR.ts +++ b/packages/localizations/src/fr-FR.ts @@ -699,6 +699,13 @@ export const frFR: LocalizationResource = { resendButton: 'Renvoyer le lien', successMessage: "L'e-mail {{identifier}} a été vérifié et ajouté à votre compte.", }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} sera supprimé de ce compte.', messageLine2: 'Vous ne pourrez plus vous connecter avec cette adresse e-mail.', diff --git a/packages/localizations/src/he-IL.ts b/packages/localizations/src/he-IL.ts index b193a5e41a..6bc5bc5633 100644 --- a/packages/localizations/src/he-IL.ts +++ b/packages/localizations/src/he-IL.ts @@ -683,6 +683,13 @@ export const heIL: LocalizationResource = { resendButton: 'שלח קישור מחדש', successMessage: 'האימייל {{identifier}} התווסף לחשבון שלך.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} יוסר מהחשבון הזה.', messageLine2: 'לא תוכל יותר להתחבר באמצעות כתובת אימייל זו.', diff --git a/packages/localizations/src/hu-HU.ts b/packages/localizations/src/hu-HU.ts index 24628d7518..60f914eed2 100644 --- a/packages/localizations/src/hu-HU.ts +++ b/packages/localizations/src/hu-HU.ts @@ -696,6 +696,13 @@ export const huHU: LocalizationResource = { resendButton: 'Nem kaptad meg a linket? Újraküldés', successMessage: 'Az email: {{identifier}} hozzá lett adva a fiókodhoz.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} el lesz távolítva ebből a fiókból.', messageLine2: 'Nem fogsz tudni többet bejelentkezni ezzel az email címmel.', diff --git a/packages/localizations/src/is-IS.ts b/packages/localizations/src/is-IS.ts index 3e5fe66d59..a035c5418a 100644 --- a/packages/localizations/src/is-IS.ts +++ b/packages/localizations/src/is-IS.ts @@ -699,6 +699,13 @@ export const isIS: LocalizationResource = { resendButton: 'Fékkstu ekki tengil? Senda aftur', successMessage: 'Netfangið {{identifier}} hefur verið bætt við reikninginn þinn.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} verður fjarlægt úr þessum reikningi.', messageLine2: 'Þú munt ekki lengur geta skráð þig inn með þessu netfangi.', diff --git a/packages/localizations/src/it-IT.ts b/packages/localizations/src/it-IT.ts index b7a977abf2..296a067d0e 100644 --- a/packages/localizations/src/it-IT.ts +++ b/packages/localizations/src/it-IT.ts @@ -695,6 +695,13 @@ export const itIT: LocalizationResource = { resendButton: 'Rinvia link', successMessage: "L'indirizzo email {{identifier}} é stato aggiunto al tuo account.", }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} sará rimosso dal tuo account.', messageLine2: 'Non sarai piú in grado di accedere utilizzando questo indirizzo email.', diff --git a/packages/localizations/src/ja-JP.ts b/packages/localizations/src/ja-JP.ts index 78e0faf5e5..84fde29807 100644 --- a/packages/localizations/src/ja-JP.ts +++ b/packages/localizations/src/ja-JP.ts @@ -693,6 +693,13 @@ export const jaJP: LocalizationResource = { resendButton: 'リンクを再送信', successMessage: 'メールアドレス{{identifier}}がアカウントに追加されました。', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}}はこのアカウントから削除されます。', messageLine2: 'このメールアドレスを使用してのサインインはできなくなります。', diff --git a/packages/localizations/src/ko-KR.ts b/packages/localizations/src/ko-KR.ts index f247fd4b83..6f122d58e8 100644 --- a/packages/localizations/src/ko-KR.ts +++ b/packages/localizations/src/ko-KR.ts @@ -687,6 +687,13 @@ export const koKR: LocalizationResource = { resendButton: '링크 재전송', successMessage: '{{identifier}} 이메일이 당신의 계정에 추가되었습니다.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} 이메일이 이 계정에서 제거 될 에정입니다.', messageLine2: '더 이상 이 이메일 주소로 로그인할 수 없습니다.', diff --git a/packages/localizations/src/mn-MN.ts b/packages/localizations/src/mn-MN.ts index 816baadd1d..3e8d7055e1 100644 --- a/packages/localizations/src/mn-MN.ts +++ b/packages/localizations/src/mn-MN.ts @@ -696,6 +696,13 @@ export const mnMN: LocalizationResource = { resendButton: 'Холбоос хүлээж аваагүй юу? Дахин илгээх', successMessage: 'Таны бүртгэлд {{identifier}} имэйл нэмэгдлээ.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} энэ бүртгэлээс хасагдана.', messageLine2: 'Та цаашид энэ имэйл хаягийг ашиглан нэвтрэх боломжгүй болно.', diff --git a/packages/localizations/src/nb-NO.ts b/packages/localizations/src/nb-NO.ts index 07b4b869c3..20a52f069e 100644 --- a/packages/localizations/src/nb-NO.ts +++ b/packages/localizations/src/nb-NO.ts @@ -695,6 +695,13 @@ export const nbNO: LocalizationResource = { resendButton: 'Send lenke på nytt', successMessage: 'E-posten {{identifier}} har blitt lagt til kontoen din.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} vil bli fjernet fra denne kontoen.', messageLine2: 'Du vil ikke lenger kunne logge inn med denne e-postadressen.', diff --git a/packages/localizations/src/nl-NL.ts b/packages/localizations/src/nl-NL.ts index b7e02eed51..c44d6fe905 100644 --- a/packages/localizations/src/nl-NL.ts +++ b/packages/localizations/src/nl-NL.ts @@ -694,6 +694,13 @@ export const nlNL: LocalizationResource = { resendButton: 'Verstuur link opnieuw', successMessage: 'Het e-mailadres {{identifier}} is toegevoegd aan je account.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} zal verwijderd worden uit dit account.', messageLine2: 'Je zal niet meer kunnen inloggen met dit e-mailadres.', diff --git a/packages/localizations/src/pl-PL.ts b/packages/localizations/src/pl-PL.ts index 2a4a9ffd53..885b5efee8 100644 --- a/packages/localizations/src/pl-PL.ts +++ b/packages/localizations/src/pl-PL.ts @@ -693,6 +693,13 @@ export const plPL: LocalizationResource = { resendButton: 'Wyślij ponownie link', successMessage: 'Adres e-mail {{identifier}} został dodany do twojego konta.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} zostanie usunięty z tego konta.', messageLine2: 'Nie będzie już możliwe zalogowanie się za pomocą tego adresu e-mail.', diff --git a/packages/localizations/src/pt-BR.ts b/packages/localizations/src/pt-BR.ts index 431b00cf94..10e73e2063 100644 --- a/packages/localizations/src/pt-BR.ts +++ b/packages/localizations/src/pt-BR.ts @@ -698,6 +698,13 @@ export const ptBR: LocalizationResource = { resendButton: 'Não recebeu um código? Reenviar', successMessage: 'O e-mail {{identifier}} foi adicionado na sua conta.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} será removido desta conta.', messageLine2: 'Você não conseguirá fazer login novamente com este endereço de e-mail.', diff --git a/packages/localizations/src/pt-PT.ts b/packages/localizations/src/pt-PT.ts index 12f672df68..98f25ec546 100644 --- a/packages/localizations/src/pt-PT.ts +++ b/packages/localizations/src/pt-PT.ts @@ -692,6 +692,13 @@ export const ptPT: LocalizationResource = { resendButton: 'Não recebeu um código? Reenviar', successMessage: 'O e-mail {{identifier}} foi adicionado à sua conta.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} será removido desta conta.', messageLine2: 'Não vai conseguir fazer login novamente com este endereço de e-mail.', diff --git a/packages/localizations/src/ro-RO.ts b/packages/localizations/src/ro-RO.ts index 49b78a51fd..c22cc87214 100644 --- a/packages/localizations/src/ro-RO.ts +++ b/packages/localizations/src/ro-RO.ts @@ -699,6 +699,13 @@ export const roRO: LocalizationResource = { resendButton: 'Nu ați primit un link? Trimiteți din nou', successMessage: 'E-mailul {{identifier}} a fost adăugat în contul dvs.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} va fi eliminat din acest cont.', messageLine2: 'Nu veți mai putea să vă conectați folosind această adresă de e-mail.', diff --git a/packages/localizations/src/ru-RU.ts b/packages/localizations/src/ru-RU.ts index c4bdb23390..a29dbd12a2 100644 --- a/packages/localizations/src/ru-RU.ts +++ b/packages/localizations/src/ru-RU.ts @@ -709,6 +709,13 @@ export const ruRU: LocalizationResource = { resendButton: 'Отправить ссылку повторно', successMessage: 'Адрес электронной почты {{identifier}} был добавлен в вашу учетную запись.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} будет удален из этой учетной записи.', messageLine2: 'Вы больше не сможете войти с использованием этого адреса электронной почты.', diff --git a/packages/localizations/src/sk-SK.ts b/packages/localizations/src/sk-SK.ts index 033ec3d657..865dd971e8 100644 --- a/packages/localizations/src/sk-SK.ts +++ b/packages/localizations/src/sk-SK.ts @@ -691,6 +691,13 @@ export const skSK: LocalizationResource = { resendButton: 'Znovu odoslať odkaz', successMessage: 'E-mailová adresa {{identifier}} bola pridaná k vášmu účtu.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} bude odstránená z tohto účtu.', messageLine2: 'Nebudete sa môcť prihlásiť pomocou tejto e-mailovej adresy.', diff --git a/packages/localizations/src/sr-RS.ts b/packages/localizations/src/sr-RS.ts index 1d949a4811..024f5ba780 100644 --- a/packages/localizations/src/sr-RS.ts +++ b/packages/localizations/src/sr-RS.ts @@ -694,6 +694,13 @@ export const srRS: LocalizationResource = { resendButton: 'Nisi primio link? Pošalji ponovo', successMessage: 'E-mail {{identifier}} je dodat na tvoj nalog.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} će biti uklonjen iz ovog naloga.', messageLine2: 'Više nećeš moći da se prijaviš koristeći ovu e-mail adresu.', diff --git a/packages/localizations/src/sv-SE.ts b/packages/localizations/src/sv-SE.ts index f9f033e38b..8bcaade602 100644 --- a/packages/localizations/src/sv-SE.ts +++ b/packages/localizations/src/sv-SE.ts @@ -697,6 +697,13 @@ export const svSE: LocalizationResource = { resendButton: 'Skicka länken igen', successMessage: 'E-postadressen {{identifier}} har lagts till i ditt konto.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} kommer att tas bort från detta konto.', messageLine2: 'Du kommer inte längre att kunna logga in med denna e-postadress.', diff --git a/packages/localizations/src/th-TH.ts b/packages/localizations/src/th-TH.ts index 5d0bc6ffeb..35cdfa6dd2 100644 --- a/packages/localizations/src/th-TH.ts +++ b/packages/localizations/src/th-TH.ts @@ -690,6 +690,13 @@ export const thTH: LocalizationResource = { resendButton: 'ไม่ได้รับลิงก์ใช่หรือไม่ ส่งลิงก์ใหม่อีกครั้ง', successMessage: 'อีเมล {{identifier}} ได้ถูกเพิ่มเข้าในบัญชีของคุณแล้ว', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} จะถูกนำออกจากบัญชีนี้', messageLine2: 'คุณจะไม่สามารถเข้าสู่ระบบโดยใช้อีเมลที่อยู่นี้ได้อีกต่อไป', diff --git a/packages/localizations/src/tr-TR.ts b/packages/localizations/src/tr-TR.ts index 3bea5c5a03..c62b240b0f 100644 --- a/packages/localizations/src/tr-TR.ts +++ b/packages/localizations/src/tr-TR.ts @@ -697,6 +697,13 @@ export const trTR: LocalizationResource = { resendButton: 'Yeniden gönder', successMessage: '{{identifier}} adresi hesabınıza eklendi.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} adresi hesabınızdan kaldırılacaktır.', messageLine2: 'Artık bu e-posta adresini kullanarak oturum açmanız mümkün olmayacaktır.', diff --git a/packages/localizations/src/uk-UA.ts b/packages/localizations/src/uk-UA.ts index 26d9eae381..9f2dc3d1f3 100644 --- a/packages/localizations/src/uk-UA.ts +++ b/packages/localizations/src/uk-UA.ts @@ -692,6 +692,13 @@ export const ukUA: LocalizationResource = { resendButton: 'Надіслати посилання повторно', successMessage: 'Адресу електронної пошти {{identifier}} було додано до вашого облікового запису.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} буде видалено з цього акаунта.', messageLine2: 'Ви більше не зможете увійти з використанням цієї адреси електронної пошти.', diff --git a/packages/localizations/src/vi-VN.ts b/packages/localizations/src/vi-VN.ts index b246c585b8..009161a00d 100644 --- a/packages/localizations/src/vi-VN.ts +++ b/packages/localizations/src/vi-VN.ts @@ -693,6 +693,13 @@ export const viVN: LocalizationResource = { resendButton: 'Không nhận được liên kết? Gửi lại', successMessage: 'Email {{identifier}} đã được thêm vào tài khoản của bạn.', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} sẽ bị xóa khỏi tài khoản này.', messageLine2: 'Bạn sẽ không thể đăng nhập bằng địa chỉ email này nữa.', diff --git a/packages/localizations/src/zh-CN.ts b/packages/localizations/src/zh-CN.ts index 530649b871..7c22b03a86 100644 --- a/packages/localizations/src/zh-CN.ts +++ b/packages/localizations/src/zh-CN.ts @@ -677,6 +677,13 @@ export const zhCN: LocalizationResource = { resendButton: '重发链接', successMessage: '电子邮件 {{identifier}} 已被添加到您的账户。', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} 将从此账户中被移除。', messageLine2: '您将无法使用这个电子邮件地址登录。', diff --git a/packages/localizations/src/zh-TW.ts b/packages/localizations/src/zh-TW.ts index 3ded223426..22ec8d3368 100644 --- a/packages/localizations/src/zh-TW.ts +++ b/packages/localizations/src/zh-TW.ts @@ -684,6 +684,13 @@ export const zhTW: LocalizationResource = { resendButton: '重發連結', successMessage: '電子郵件 {{identifier}} 已被添加到您的帳戶。', }, + enterpriseSsoLink: { + formHint: undefined, + formSubtitle: undefined, + formTitle: undefined, + resendButton: undefined, + successMessage: undefined, + }, removeResource: { messageLine1: '{{identifier}} 將從此帳戶中被移除。', messageLine2: '您將無法使用這個電子郵件地址登錄。', diff --git a/packages/types/src/localization.ts b/packages/types/src/localization.ts index 076782e943..78e93fa971 100644 --- a/packages/types/src/localization.ts +++ b/packages/types/src/localization.ts @@ -493,6 +493,13 @@ type _LocalizationResource = { resendButton: LocalizationValue; successMessage: LocalizationValue; }; + enterpriseSsoLink: { + formHint: LocalizationValue; + formTitle: LocalizationValue; + formSubtitle: LocalizationValue; + resendButton: LocalizationValue; + successMessage: LocalizationValue; + }; removeResource: { title: LocalizationValue; messageLine1: LocalizationValue;