-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(localizations): Replace empty strings with undefined (#4151)
- Loading branch information
1 parent
de1ba10
commit ace56ba
Showing
36 changed files
with
781 additions
and
776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@clerk/localizations": patch | ||
--- | ||
|
||
Replace empty strings with undefined to ensure localizations fallback to `en-US` properly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,20 +106,20 @@ export const bgBG: LocalizationResource = { | |
formFieldError__verificationLinkExpired: 'Линкът за потвърждение е изтекъл. Моля, заявете нов линк.', | ||
formFieldHintText__optional: 'По избор', | ||
formFieldHintText__slug: 'Slug е четим идентификатор, който трябва да бъде уникален. Често се използва в URL адреси.', | ||
formFieldInputPlaceholder__backupCode: '', | ||
formFieldInputPlaceholder__backupCode: undefined, | ||
formFieldInputPlaceholder__confirmDeletionUserAccount: 'Изтрий акаунта', | ||
formFieldInputPlaceholder__emailAddress: '', | ||
formFieldInputPlaceholder__emailAddress_username: '', | ||
formFieldInputPlaceholder__emailAddress: undefined, | ||
formFieldInputPlaceholder__emailAddress_username: undefined, | ||
formFieldInputPlaceholder__emailAddresses: '[email protected], [email protected]', | ||
formFieldInputPlaceholder__firstName: '', | ||
formFieldInputPlaceholder__lastName: '', | ||
formFieldInputPlaceholder__organizationDomain: '', | ||
formFieldInputPlaceholder__organizationDomainEmailAddress: '', | ||
formFieldInputPlaceholder__organizationName: '', | ||
formFieldInputPlaceholder__organizationSlug: '', | ||
formFieldInputPlaceholder__password: '', | ||
formFieldInputPlaceholder__phoneNumber: '', | ||
formFieldInputPlaceholder__username: '', | ||
formFieldInputPlaceholder__firstName: undefined, | ||
formFieldInputPlaceholder__lastName: undefined, | ||
formFieldInputPlaceholder__organizationDomain: undefined, | ||
formFieldInputPlaceholder__organizationDomainEmailAddress: undefined, | ||
formFieldInputPlaceholder__organizationName: undefined, | ||
formFieldInputPlaceholder__organizationSlug: undefined, | ||
formFieldInputPlaceholder__password: undefined, | ||
formFieldInputPlaceholder__phoneNumber: undefined, | ||
formFieldInputPlaceholder__username: undefined, | ||
formFieldLabel__automaticInvitations: 'Включи автоматични покани за този домейн', | ||
formFieldLabel__backupCode: 'Резервен код', | ||
formFieldLabel__confirmDeletion: 'Потвърждение', | ||
|
@@ -186,7 +186,7 @@ export const bgBG: LocalizationResource = { | |
action__invite: 'Покани', | ||
activeMembersTab: { | ||
menuAction__remove: 'Премахване на член', | ||
tableHeader__actions: '', | ||
tableHeader__actions: undefined, | ||
tableHeader__joined: 'Присъединил се', | ||
tableHeader__role: 'Роля', | ||
tableHeader__user: 'Потребител', | ||
|
@@ -270,7 +270,7 @@ export const bgBG: LocalizationResource = { | |
headerTitle__general: 'General', | ||
headerTitle__members: 'Членове', | ||
profileSection: { | ||
primaryButton: '', | ||
primaryButton: undefined, | ||
title: 'Organization Profile', | ||
uploadAction__title: 'Logo', | ||
}, | ||
|
@@ -527,31 +527,31 @@ export const bgBG: LocalizationResource = { | |
'Регистрацията неуспешна поради неуспешни проверки за сигурност. Моля, презаредете страницата, за да опитате отново, или се свържете с поддръжката за повече помощ.', | ||
captcha_unavailable: | ||
'Регистрацията неуспешна поради неуспешна валидация на бот. Моля, презаредете страницата, за да опитате отново, или се свържете с поддръжката за повече помощ.', | ||
form_code_incorrect: '', | ||
form_identifier_exists: '', | ||
form_code_incorrect: undefined, | ||
form_identifier_exists: undefined, | ||
form_identifier_exists__email_address: undefined, | ||
form_identifier_exists__phone_number: undefined, | ||
form_identifier_exists__username: undefined, | ||
form_identifier_not_found: '', | ||
form_param_format_invalid: '', | ||
form_identifier_not_found: undefined, | ||
form_param_format_invalid: undefined, | ||
form_param_format_invalid__email_address: 'Имейл адресът трябва да бъде във валиден имейл адрес.', | ||
form_param_format_invalid__phone_number: 'Телефонният номер трябва да бъде във валиден международен формат', | ||
form_param_max_length_exceeded__first_name: 'Първото име не трябва да надвишава 256 символа.', | ||
form_param_max_length_exceeded__last_name: 'Фамилията не трябва да надвишава 256 символа.', | ||
form_param_max_length_exceeded__name: 'Името не трябва да надвишава 256 символа.', | ||
form_param_nil: '', | ||
form_password_incorrect: '', | ||
form_password_length_too_short: '', | ||
form_param_nil: undefined, | ||
form_password_incorrect: undefined, | ||
form_password_length_too_short: undefined, | ||
form_password_not_strong_enough: 'Вашата парола не е достатъчно сигурна.', | ||
form_password_pwned: 'Тази парола е част от изтекли данни и не може да се използва. Моля, опитайте с друга парола.', | ||
form_password_pwned__sign_in: undefined, | ||
form_password_size_in_bytes_exceeded: | ||
'Паролата ви надвиши максималния брой байтове, позволен, моля, я скратете или премахнете някои специални знаци.', | ||
form_password_validation_failed: 'Неправилна парола', | ||
form_username_invalid_character: '', | ||
form_username_invalid_length: '', | ||
form_username_invalid_character: undefined, | ||
form_username_invalid_length: undefined, | ||
identification_deletion_failed: 'Не можете да изтриете последната си идентификация.', | ||
not_allowed_access: '', | ||
not_allowed_access: undefined, | ||
organization_domain_blocked: undefined, | ||
organization_domain_common: undefined, | ||
organization_membership_quota_exceeded: undefined, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,20 +51,20 @@ export const caES: LocalizationResource = { | |
formFieldError__verificationLinkExpired: "L'enllaç de verificació ha caducat. Si us plau, sol·licita un nou enllaç.", | ||
formFieldHintText__optional: 'Opcional', | ||
formFieldHintText__slug: "Un slug és un ID llegible per humans que ha de ser únic. Sovint s'utilitza en URL.", | ||
formFieldInputPlaceholder__backupCode: '', | ||
formFieldInputPlaceholder__backupCode: undefined, | ||
formFieldInputPlaceholder__confirmDeletionUserAccount: 'Eliminar compte', | ||
formFieldInputPlaceholder__emailAddress: '', | ||
formFieldInputPlaceholder__emailAddress_username: '', | ||
formFieldInputPlaceholder__emailAddress: undefined, | ||
formFieldInputPlaceholder__emailAddress_username: undefined, | ||
formFieldInputPlaceholder__emailAddresses: '[email protected], [email protected]', | ||
formFieldInputPlaceholder__firstName: '', | ||
formFieldInputPlaceholder__lastName: '', | ||
formFieldInputPlaceholder__organizationDomain: '', | ||
formFieldInputPlaceholder__organizationDomainEmailAddress: '', | ||
formFieldInputPlaceholder__organizationName: '', | ||
formFieldInputPlaceholder__firstName: undefined, | ||
formFieldInputPlaceholder__lastName: undefined, | ||
formFieldInputPlaceholder__organizationDomain: undefined, | ||
formFieldInputPlaceholder__organizationDomainEmailAddress: undefined, | ||
formFieldInputPlaceholder__organizationName: undefined, | ||
formFieldInputPlaceholder__organizationSlug: 'la-meva-org', | ||
formFieldInputPlaceholder__password: '', | ||
formFieldInputPlaceholder__phoneNumber: '', | ||
formFieldInputPlaceholder__username: '', | ||
formFieldInputPlaceholder__password: undefined, | ||
formFieldInputPlaceholder__phoneNumber: undefined, | ||
formFieldInputPlaceholder__username: undefined, | ||
formFieldLabel__automaticInvitations: 'Activa invitacions automàtiques per a aquest domini', | ||
formFieldLabel__backupCode: 'Codi de seguretat', | ||
formFieldLabel__confirmDeletion: 'Confirmació', | ||
|
@@ -129,7 +129,7 @@ export const caES: LocalizationResource = { | |
action__invite: 'Convida', | ||
activeMembersTab: { | ||
menuAction__remove: 'Elimina membre', | ||
tableHeader__actions: '', | ||
tableHeader__actions: undefined, | ||
tableHeader__joined: 'Unit', | ||
tableHeader__role: 'Rol', | ||
tableHeader__user: 'Usuari', | ||
|
@@ -449,28 +449,28 @@ export const caES: LocalizationResource = { | |
"El registre no ha estat exitós a causa de validacions de seguretat fallides. Si us plau, actualitza la pàgina per tornar-ho a intentar o posa't en contacte amb el suport per obtenir més assistència.", | ||
captcha_unavailable: | ||
"El registre no ha estat exitós a causa de la validació fallida de bot. Si us plau, actualitza la pàgina per tornar-ho a intentar o posa't en contacte amb el suport per obtenir més assistència.", | ||
form_code_incorrect: '', | ||
form_identifier_exists: '', | ||
form_identifier_not_found: '', | ||
form_param_format_invalid: '', | ||
form_code_incorrect: undefined, | ||
form_identifier_exists: undefined, | ||
form_identifier_not_found: undefined, | ||
form_param_format_invalid: undefined, | ||
form_param_format_invalid__email_address: "L'adreça de correu electrònic ha de ser una adreça vàlida.", | ||
form_param_format_invalid__phone_number: 'El número de telèfon ha de tenir un format internacional vàlid', | ||
form_param_max_length_exceeded__first_name: 'El nom no ha de superar els 256 caràcters.', | ||
form_param_max_length_exceeded__last_name: 'Els cognoms no han de superar els 256 caràcters.', | ||
form_param_max_length_exceeded__name: 'El nom no ha de superar els 256 caràcters.', | ||
form_param_nil: '', | ||
form_password_incorrect: '', | ||
form_password_length_too_short: '', | ||
form_param_nil: undefined, | ||
form_password_incorrect: undefined, | ||
form_password_length_too_short: undefined, | ||
form_password_not_strong_enough: 'La teva contrasenya no és prou forta.', | ||
form_password_pwned: | ||
'Aquesta contrasenya ha aparegut en una filtració i no es pot utilitzar, si us plau, prova una altra contrasenya.', | ||
form_password_size_in_bytes_exceeded: | ||
'La teva contrasenya ha superat el nombre màxim de bytes permesos, si us plau, redueix-la o elimina alguns caràcters especials.', | ||
form_password_validation_failed: 'Contrasenya incorrecta', | ||
form_username_invalid_character: '', | ||
form_username_invalid_length: '', | ||
form_username_invalid_character: undefined, | ||
form_username_invalid_length: undefined, | ||
identification_deletion_failed: 'No pots eliminar la teva última identificació.', | ||
not_allowed_access: '', | ||
not_allowed_access: undefined, | ||
passwordComplexity: { | ||
maximumLength: 'menys de {{length}} caràcters', | ||
minimumLength: '{{length}} o més caràcters', | ||
|
Oops, something went wrong.