Skip to content

Commit bcadd7a

Browse files
committed
feat(localizations): Remove not_allowed_access from en_* files
1 parent 8b25035 commit bcadd7a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+203
-177
lines changed

.changeset/pretty-chicken-visit.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@clerk/localizations': minor
3+
---
4+
5+
Remove `not_allowed_access` localizations from `en_*` localization files to rely on more-specific API-based error messages.
6+
Update and translate additional non-english `not_allowed_access` error messages.

packages/localizations/src/ar-SA.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ export const arSA: LocalizationResource = {
613613
form_username_invalid_character: undefined,
614614
form_username_invalid_length: undefined,
615615
identification_deletion_failed: 'لا يمكن حذف هويتك الآخيرة ',
616-
not_allowed_access: undefined,
616+
not_allowed_access:
617+
'لا يُسمح بالتسجيل باستخدام عنوان البريد الإلكتروني أو رقم الهاتف. قد يكون ذلك بسبب استخدام "+" أو "=" أو "#" أو "." في عنوان بريدك الإلكتروني، أو استخدام نطاق متصل بخدمة بريد إلكتروني مؤقتة، أو حظرك بشكل صريح. إذا كنت تعتقد أن هذا خطأ، يُرجى التواصل مع الدعم.',
617618
organization_domain_blocked: undefined,
618619
organization_domain_common: undefined,
619620
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/be-BY.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,8 @@ export const beBY: LocalizationResource = {
620620
form_username_invalid_character: 'Імя карыстальніка змяшчае недапушчальныя сімвалы.',
621621
form_username_invalid_length: 'Імя карыстальніка павінна быць ад 3 да 50 сімвалаў.',
622622
identification_deletion_failed: 'Вы не можаце выдаліць вашу апошнюю ідэнтыфікацыю.',
623-
not_allowed_access: 'Вы не маеце правоў доступу.',
623+
not_allowed_access:
624+
"Адрас электроннай пошты ці нумар тэлефона не дазволены для рэгістрацыі. Гэта можа быць звязана з выкарыстаннем знакаў '+', '=', '#' або '.' у вашым адрасе электроннай пошты, з дапамогай дамена, падлучанага да часовай службы электроннай пошты, або відавочна заблакіраваны. Калі вы лічыце, што гэта памылка, звярніцеся ў службу падтрымкі.",
624625
organization_domain_blocked: 'Дамен арганізацыі заблакаван.',
625626
organization_domain_common: 'Дамен арганізацыі звычайны і не можа быць выкарыстаны.',
626627
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/bg-BG.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,8 @@ export const bgBG: LocalizationResource = {
612612
form_username_invalid_character: 'Потребителското име съдържа невалидни символи.',
613613
form_username_invalid_length: 'Потребителското име трябва да бъде между 3 и 256 символа.',
614614
identification_deletion_failed: 'Не можете да изтриете последната си идентификация.',
615-
not_allowed_access: 'Нямате необходимите разрешения за достъп.',
615+
not_allowed_access:
616+
'Имейл адресът или телефонният номер не са разрешени за регистрация. Това може да се дължи на използването на „+“, „=“, „#“ или „.“ във вашия имейл адрес, като използвате домейн, свързан с временна имейл услуга, или сте изрично блокирани. Ако смятате, че това е грешка, моля, свържете се с поддръжката.',
616617
organization_domain_blocked: 'Доменът на организацията е блокиран.',
617618
organization_domain_common: 'Доменът на организацията е твърде общ.',
618619
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/ca-ES.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,8 @@ export const caES: LocalizationResource = {
615615
form_username_invalid_character: "El nom d'usuari conté caràcters no vàlids.",
616616
form_username_invalid_length: "El nom d'usuari ha de tenir entre 3 i 50 caràcters.",
617617
identification_deletion_failed: 'No pots eliminar la teva última identificació.',
618-
not_allowed_access: "No tens permís per accedir a aquesta pàgina. Si us plau, posa't en contacte amb el suport.",
618+
not_allowed_access:
619+
"L'adreça de correu electrònic o el número de telèfon no es permet registrar-se. Això podria ser degut a l'ús de '+', '=', '#' o '.' a la vostra adreça de correu electrònic, utilitzant un domini connectat amb un servei de correu electrònic temporal o bloquejant-se explícitament. Si creieu que es tracta d'un error, poseu-vos en contacte amb el servei d'assistència.",
619620
organization_domain_blocked: undefined,
620621
organization_domain_common: undefined,
621622
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/cs-CZ.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,8 @@ export const csCZ: LocalizationResource = {
612612
form_username_invalid_character: undefined,
613613
form_username_invalid_length: undefined,
614614
identification_deletion_failed: 'You cannot delete your last identification.',
615-
not_allowed_access: undefined,
615+
not_allowed_access:
616+
"E-mailová adresa nebo telefonní číslo není povoleno k registraci. Může to být způsobeno použitím '+', '=', '#' nebo '.' ve vaší e-mailové adrese, pomocí domény propojené s dočasnou e-mailovou službou nebo jsou explicitně blokovány. Pokud se domníváte, že se jedná o chybu, kontaktujte podporu.",
616617
organization_domain_blocked: undefined,
617618
organization_domain_common: undefined,
618619
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/da-DK.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ export const daDK: LocalizationResource = {
613613
form_username_invalid_character: 'Brugernavnet indeholder ugyldige tegn.',
614614
form_username_invalid_length: 'Brugernavnet har en ugyldig længde.',
615615
identification_deletion_failed: 'Du kan ikke slette din sidste identifikation.',
616-
not_allowed_access: 'Adgang ikke tilladt.',
616+
not_allowed_access:
617+
"E-mailadressen eller telefonnummeret er ikke tilladt at tilmelde sig. Dette kan skyldes brug af '+', '=', '#' eller '.' i din e-mail-adresse, ved at bruge et domæne, der er forbundet med en midlertidig e-mail-tjeneste, eller ved at blive eksplicit blokeret. Hvis du mener, at dette er en fejl, bedes du kontakte support.",
617618
organization_domain_blocked: undefined,
618619
organization_domain_common: undefined,
619620
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/de-DE.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ export const deDE: LocalizationResource = {
625625
form_username_invalid_length: 'Der Benutzername muss zwischen 3 und 30 Zeichen lang sein.',
626626
identification_deletion_failed: 'Sie können Ihre letzte Kennung nicht löschen.',
627627
not_allowed_access:
628-
'Sie haben keine Berechtigung, auf diese Seite zuzugreifen. Bitte kontaktieren Sie den Support, wenn Sie glauben, dass dies ein Fehler ist.',
628+
"Die E-Mail-Adresse oder Telefonnummer ist für die Anmeldung nicht zulässig. Dies kann daran liegen, dass Ihre E-Mail-Adresse die Zeichen '+', '=', '#' oder '.' enthält, Sie eine Domain verwenden, die mit einem temporären E-Mail-Dienst verknüpft ist, oder dass Sie explizit gesperrt sind. Wenn Sie glauben, dass dies ein Fehler ist, wenden Sie sich bitte an den Support.",
629629
organization_domain_blocked: 'Diese E-Mail-Provider-Domain ist gesperrt. Bitte verwenden Sie eine andere.',
630630
organization_domain_common: 'Dies ist eine gängige E-Mail-Provider-Domain. Bitte verwenden Sie eine andere.',
631631
organization_domain_exists_for_enterprise_connection:

packages/localizations/src/el-GR.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,8 @@ export const elGR: LocalizationResource = {
618618
form_username_invalid_character: undefined,
619619
form_username_invalid_length: undefined,
620620
identification_deletion_failed: 'Δεν μπορείτε να διαγράψετε το τελευταίο στοιχείο ταυτοποιησής σας.',
621-
not_allowed_access: undefined,
621+
not_allowed_access:
622+
"Η διεύθυνση email ή το τηλέφωνο δεν επιτρέπεται για την εγγραφή. Αυτό μπορεί να οφείλεται στη χρήση '+', '=', '#' ή '.' στην διεύθυνση email σας, χρήση πεδίου που συνδέεται με υπηρεσία email, ή εμφανής αποκλεισμός. Αν πιστεύετε ότι αυτό είναι ένα σφάλμα, παρακαλούμε επικοινωνήστε με την υποστήριξη.",
622623
organization_domain_blocked: undefined,
623624
organization_domain_common: undefined,
624625
organization_domain_exists_for_enterprise_connection: undefined,

packages/localizations/src/en-GB.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,6 @@ export const enGB: LocalizationResource = {
620620
'Your username contains invalid characters. Please use only letters, numbers, and underscores.',
621621
form_username_invalid_length: 'Your username must be between 3 and 20 characters long.',
622622
identification_deletion_failed: 'You cannot delete your last identification.',
623-
not_allowed_access:
624-
"The email address or phone number is not allowed to sign up. This could be due to using '+', '=', '#', or '.' in your email address, using a domain connected with a temporary email service, or being explicitly blocked. If you believe this is an error, please contact support.",
625623
organization_domain_blocked: 'This is a blocked email provider domain. Please use a different one.',
626624
organization_domain_common: 'This is a common email provider domain. Please use a different one.',
627625
organization_domain_exists_for_enterprise_connection: 'This domain is already used for your organisation’s SSO',

0 commit comments

Comments
 (0)