Skip to content

Commit

Permalink
chore(localizations): Drop deprecations (#2151)
Browse files Browse the repository at this point in the history
* fix(types,localizations): Drop deprecated localization keys in *.retheme

* chore(localizations): Drop `deDe`

* chore(types,localizations): Drop `createOrganization.subtitle` deprecation

* chore(types,localizations): Drop `membersPage.headerTitle__*` deprecations

* chore(types,localizations): Drop connectedAccountsSection connectionfailed typo deprecations

* chore(types,localizations): Drop `formFieldInputPlaceholder__*` deprecations

* chore(types,localizations): Drop `formFieldLabel__` deprecations

* chore(repo): Add changeset
  • Loading branch information
dimkl authored Nov 17, 2023
1 parent 9615e6c commit 4771709
Show file tree
Hide file tree
Showing 31 changed files with 43 additions and 416 deletions.
19 changes: 19 additions & 0 deletions .changeset/tasty-phones-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@clerk/localizations': major
'@clerk/clerk-react': major
'@clerk/types': major
---

Drop deprecations. Migration steps:
- drop `formFieldLabel__emailAddress_phoneNumber` from localization keys
- drop `formFieldLabel__phoneNumber_username` from localization keys
- drop `formFieldLabel__emailAddress_phoneNumber_username` from localization keys
- drop `formFieldInputPlaceholder__emailAddress_phoneNumber` from localization keys
- drop `formFieldInputPlaceholder__phoneNumber_username` from localization keys
- drop `formFieldInputPlaceholder__emailAddress_phoneNumber_username` from localization keys
- use `title__connectionFailed` instead of `title__conectionFailed` from localization keys
- use `actionLabel__connectionFailed` instead of `actionLabel__conectionFailed` from localization keys
- use `headerTitle__members` instead of `headerTitle__active` from localization keys
- use `headerTitle__invitations` instead of `headerTitle__invited` from localization keys
- drop `createOrganization.subtitle` from localization keys
- use `deDE` instead of `deDe` localization from `@clerk/localizations`
11 changes: 0 additions & 11 deletions packages/localizations/src/ar-SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const arSA: LocalizationResource = {
formFieldLabel__emailAddresses: 'العناوين الإلكترونية',
formFieldLabel__phoneNumber: 'رقم الجوال',
formFieldLabel__username: 'اسم المستخدم',
formFieldLabel__emailAddress_phoneNumber: 'العنوان الإلكتروني أو رقم الجوال',
formFieldLabel__emailAddress_username: 'العنوان الإلكتروني أو اسم المستخدم',
formFieldLabel__phoneNumber_username: 'رقم الجوال أو اسم المستخدم',
formFieldLabel__emailAddress_phoneNumber_username: 'العنوان الإلكتروني, رقم الجوال أو اسم المستخدم',
formFieldLabel__password: 'كلمة المرور',
formFieldLabel__currentPassword: 'كلمة المرور الحالية',
formFieldLabel__newPassword: 'كلمة المرور الجديدة',
Expand All @@ -46,10 +43,7 @@ export const arSA: LocalizationResource = {
formFieldInputPlaceholder__emailAddresses: 'أدخل أو لصق عنوان بريد إلكتروني واحد أو أكثر ، مفصولة بمسافات أو فواصل',
formFieldInputPlaceholder__phoneNumber: '',
formFieldInputPlaceholder__username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber: '',
formFieldInputPlaceholder__emailAddress_username: '',
formFieldInputPlaceholder__phoneNumber_username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber_username: '',
formFieldInputPlaceholder__password: '',
formFieldInputPlaceholder__firstName: '',
formFieldInputPlaceholder__lastName: '',
Expand Down Expand Up @@ -298,12 +292,10 @@ export const arSA: LocalizationResource = {
connectedAccountsSection: {
title: 'الحسابات المتصلة',
primaryButton: 'ربط حساب',
title__conectionFailed: 'إعادة محاولة ربط الحساب',
title__connectionFailed: 'إعادة محاولة ربط الحساب',
title__reauthorize: 'مطلوب إعادة تفويض',
subtitle__reauthorize:
'تم تحديث النطاقات المطلوبة ، وقد تواجه وظائف محدودة. يرجى إعادة تفويض هذا التطبيق لتجنب أي مشاكل',
actionLabel__conectionFailed: 'حاول مرة أخرى',
actionLabel__connectionFailed: 'حاول مرة أخرى',
actionLabel__reauthorize: 'أعطى الصلاحية الآن',
destructiveActionTitle: 'حذف',
Expand Down Expand Up @@ -636,9 +628,7 @@ export const arSA: LocalizationResource = {
detailsTitle__emptyRow: 'لا يوجد أعضاء للعرض',
action__invite: 'دعوة',
start: {
headerTitle__active: 'نشط',
headerTitle__members: 'الأعضاء',
headerTitle__invited: 'مدعو',
headerTitle__invitations: 'الدعوات',
headerTitle__requests: 'الطلبات',
},
Expand Down Expand Up @@ -687,7 +677,6 @@ export const arSA: LocalizationResource = {
createOrganization: {
title: 'أنشاء منظمة',
formButtonSubmit: 'أنشاء منظمة',
subtitle: 'تعيين الملف الشخصي للمنظمة',
invitePage: {
formButtonReset: 'تخطي',
},
Expand Down
14 changes: 1 addition & 13 deletions packages/localizations/src/cs-CZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const csCZ: LocalizationResource = {
formFieldLabel__emailAddresses: 'Emailové adresy',
formFieldLabel__phoneNumber: 'Telefonní číslo',
formFieldLabel__username: 'Uživatelské jméno',
formFieldLabel__emailAddress_phoneNumber: 'Emailová adresa nebo telefonní číslo',
formFieldLabel__emailAddress_username: 'Emailová adresa nebo uživatelské jméno',
formFieldLabel__phoneNumber_username: 'telefonní číslo nebo uživatelské jméno',
formFieldLabel__emailAddress_phoneNumber_username: 'Emailová adresa, telefonní číslo nebo uživatelské jméno',
formFieldLabel__password: 'Heslo',
formFieldLabel__currentPassword: 'Stávající heslo',
formFieldLabel__newPassword: 'Nové heslo',
Expand All @@ -40,10 +37,7 @@ export const csCZ: LocalizationResource = {
'Zadejte nebo vložte jednu nebo více emailových adres oddělených mezerou nebo čárkou',
formFieldInputPlaceholder__phoneNumber: '',
formFieldInputPlaceholder__username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber: '',
formFieldInputPlaceholder__emailAddress_username: '',
formFieldInputPlaceholder__phoneNumber_username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber_username: '',
formFieldInputPlaceholder__password: '',
formFieldInputPlaceholder__firstName: '',
formFieldInputPlaceholder__lastName: '',
Expand Down Expand Up @@ -289,12 +283,10 @@ export const csCZ: LocalizationResource = {
connectedAccountsSection: {
title: 'Připojené účty',
primaryButton: 'Připojit účet',
title__conectionFailed: 'Opakovat neúspěšné připojení',
title__connectionFailed: 'Opakovat neúspěšné připojení',
title__reauthorize: 'Vyžadováno opětovné autorizování',
subtitle__reauthorize:
'Požadované oprávnění bylo aktualizováno a můžete mít omezenou funkcionalitu. Pro předejití případným problémům autorizujte tuto aplikaci znovu.',
actionLabel__conectionFailed: 'Zkusit znovu',
actionLabel__connectionFailed: 'Zkusit znovu',
actionLabel__reauthorize: 'Autorizovat nyní',
destructiveActionTitle: 'Odstranit',
Expand Down Expand Up @@ -543,10 +535,7 @@ export const csCZ: LocalizationResource = {
membersPage: {
detailsTitle__emptyRow: 'Žádní členové k zobrazení',
action__invite: 'Pozvat',
start: {
headerTitle__active: 'Aktivní',
headerTitle__invited: 'Pozváni',
},
start: {},
activeMembersTab: {
tableHeader__user: 'Uživatel',
tableHeader__joined: 'Připojil se',
Expand All @@ -563,7 +552,6 @@ export const csCZ: LocalizationResource = {
createOrganization: {
title: 'Vytvořit organizaci',
formButtonSubmit: 'Vytvořit organizaci',
subtitle: 'Nastavit profil organizace',
invitePage: {
formButtonReset: 'Přeskočit',
},
Expand Down
14 changes: 1 addition & 13 deletions packages/localizations/src/da-DK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const daDK: LocalizationResource = {
formFieldLabel__emailAddresses: 'E-mailadresser',
formFieldLabel__phoneNumber: 'Telefonnummer',
formFieldLabel__username: 'Brugernavn',
formFieldLabel__emailAddress_phoneNumber: 'E-mailadresse eller telefonnummer',
formFieldLabel__emailAddress_username: 'E-mailadresse eller brugernavn',
formFieldLabel__phoneNumber_username: 'telefonnummer eller brugernavn',
formFieldLabel__emailAddress_phoneNumber_username: 'E-mailadresse, telefonnummer eller brugernavn',
formFieldLabel__password: 'Adgangskode',
formFieldLabel__currentPassword: 'Nuværende adgangskode',
formFieldLabel__newPassword: 'Ny adgangskode',
Expand All @@ -40,10 +37,7 @@ export const daDK: LocalizationResource = {
'Indtast eller indsæt en eller flere e-mailadresser, adskilt af mellemrum eller kommaer',
formFieldInputPlaceholder__phoneNumber: '',
formFieldInputPlaceholder__username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber: '',
formFieldInputPlaceholder__emailAddress_username: '',
formFieldInputPlaceholder__phoneNumber_username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber_username: '',
formFieldInputPlaceholder__password: '',
formFieldInputPlaceholder__firstName: '',
formFieldInputPlaceholder__lastName: '',
Expand Down Expand Up @@ -266,12 +260,10 @@ export const daDK: LocalizationResource = {
connectedAccountsSection: {
title: 'Tilknyttede konti',
primaryButton: 'Tilknyt konto',
title__conectionFailed: 'Forsøg mislykkedes',
title__connectionFailed: 'Andet forsøg mislykkedes',
title__reauthorize: 'Godkendelse mangler',
subtitle__reauthorize:
'De påkrævede omfang er blevet opdateret, og du oplever muligvis begrænset funktionalitet. Godkend denne applikation igen for at undgå problemer',
actionLabel__conectionFailed: 'Prøv igen',
actionLabel__connectionFailed: 'Prøv igen',
actionLabel__reauthorize: 'Godkend nu',
destructiveActionTitle: 'Fjern',
Expand Down Expand Up @@ -521,10 +513,7 @@ export const daDK: LocalizationResource = {
membersPage: {
detailsTitle__emptyRow: 'Ingen medlemmer at vise',
action__invite: 'Invitere',
start: {
headerTitle__active: 'Aktiv',
headerTitle__invited: 'Inviteret',
},
start: {},
activeMembersTab: {
tableHeader__user: 'Bruger',
tableHeader__joined: 'Sluttede sig til',
Expand All @@ -541,7 +530,6 @@ export const daDK: LocalizationResource = {
createOrganization: {
title: 'Opret organisation',
formButtonSubmit: 'Opret organisation',
subtitle: 'Indstil organisationsprofilen',
invitePage: {
formButtonReset: 'Spring over',
},
Expand Down
14 changes: 1 addition & 13 deletions packages/localizations/src/de-DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ export const deDE: LocalizationResource = {
formFieldLabel__emailAddresses: 'E-Mail-Adressen',
formFieldLabel__phoneNumber: 'Telefonnummer',
formFieldLabel__username: 'Nutzername',
formFieldLabel__emailAddress_phoneNumber: 'E-Mail-Adresse oder Telefonnummer',
formFieldLabel__emailAddress_username: 'E-Mail-Adresse oder Benutzername',
formFieldLabel__phoneNumber_username: 'Telefonnummer oder Benutzername',
formFieldLabel__emailAddress_phoneNumber_username: 'E-Mail-Adresse, Telefonnummer oder Benutzername',
formFieldLabel__password: 'Passwort',
formFieldLabel__currentPassword: 'Aktuelles Passwort',
formFieldLabel__newPassword: 'Neues Passwort',
Expand All @@ -27,10 +24,7 @@ export const deDE: LocalizationResource = {
'Geben oder fügen Sie eine oder mehrere E-Mail-Adressen ein, getrennt durch Leerzeichen oder Kommas',
formFieldInputPlaceholder__phoneNumber: '',
formFieldInputPlaceholder__username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber: '',
formFieldInputPlaceholder__emailAddress_username: '',
formFieldInputPlaceholder__phoneNumber_username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber_username: '',
formFieldInputPlaceholder__password: '',
formFieldInputPlaceholder__firstName: '',
formFieldInputPlaceholder__lastName: '',
Expand Down Expand Up @@ -267,9 +261,7 @@ export const deDE: LocalizationResource = {
connectedAccountsSection: {
title: 'Verbundene Konten',
primaryButton: 'Konto verbinden',
title__conectionFailed: 'Fehlgeschlagene Verbindung erneut versuchen',
title__connectionFailed: 'Fehlgeschlagene Verbindung erneut versuchen',
actionLabel__conectionFailed: 'Versuchen Sie es nochmal',
actionLabel__connectionFailed: 'Versuchen Sie es nochmal',
destructiveActionTitle: 'Entfernen',
destructiveActionSubtitle: 'Entfernen Sie dieses Konto aus Ihrem Konto',
Expand Down Expand Up @@ -535,10 +527,7 @@ export const deDE: LocalizationResource = {
membersPage: {
detailsTitle__emptyRow: 'Keine Mitglieder zum Anzeigen',
action__invite: 'Einladen',
start: {
headerTitle__active: 'Aktiv',
headerTitle__invited: 'Eingeladen',
},
start: {},
activeMembersTab: {
tableHeader__user: 'Benutzer',
tableHeader__joined: 'Trat bei',
Expand All @@ -555,7 +544,6 @@ export const deDE: LocalizationResource = {
createOrganization: {
title: 'Organisation erstellen',
formButtonSubmit: 'Organisation erstellen',
subtitle: 'Legen Sie das Organisationsprofil fest',
invitePage: {
formButtonReset: 'Überspringen',
},
Expand Down
14 changes: 1 addition & 13 deletions packages/localizations/src/el-GR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const elGR: LocalizationResource = {
formFieldLabel__emailAddresses: 'Διευθύνσεις email',
formFieldLabel__phoneNumber: 'Αριθμός τηλεφώνου',
formFieldLabel__username: 'Όνομα χρήστη',
formFieldLabel__emailAddress_phoneNumber: 'Διεύθυνση email ή αριθμός τηλεφώνου',
formFieldLabel__emailAddress_username: 'Διεύθυνση email ή όνομα χρήστη',
formFieldLabel__phoneNumber_username: 'Αριθμός τηλεφώνου ή όνομα χρήστη',
formFieldLabel__emailAddress_phoneNumber_username: 'Διεύθυνση email, αριθμός τηλεφώνου ή όνομα χρήστη',
formFieldLabel__password: 'Κωδικός πρόσβασης',
formFieldLabel__currentPassword: 'Τρέχων κωδικός πρόσβασης',
formFieldLabel__newPassword: 'Νέος κωδικός πρόσβασης',
Expand All @@ -41,10 +38,7 @@ export const elGR: LocalizationResource = {
'Εισαγάγετε ή επικολλήστε μία ή περισσότερες διευθύνσεις email, χωρισμένες με κενά ή κόμματα',
formFieldInputPlaceholder__phoneNumber: '',
formFieldInputPlaceholder__username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber: '',
formFieldInputPlaceholder__emailAddress_username: '',
formFieldInputPlaceholder__phoneNumber_username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber_username: '',
formFieldInputPlaceholder__password: '',
formFieldInputPlaceholder__firstName: '',
formFieldInputPlaceholder__lastName: '',
Expand Down Expand Up @@ -294,12 +288,10 @@ export const elGR: LocalizationResource = {
connectedAccountsSection: {
title: 'Συνδεδεμένοι λογαριασμοί',
primaryButton: 'Σύνδεση λογαριασμού',
title__conectionFailed: 'Επανάληψη αποτυχημένης σύνδεσης',
title__connectionFailed: 'Επανάληψη αποτυχημένης σύνδεσης',
title__reauthorize: 'Απαιτείται νέα εξουσιοδότηση',
subtitle__reauthorize:
'Οι απαιτούμενες εμβέλειες έχουν ενημερωθεί και μπορεί να αντιμετωπίζετε περιορισμένη λειτουργικότητα. Παρακαλούμε εξουσιοδοτήστε ξανά αυτήν την εφαρμογή για να αποφύγετε προβλήματα.',
actionLabel__conectionFailed: 'Προσπάθεια ξανά',
actionLabel__connectionFailed: 'Προσπάθεια ξανά',
actionLabel__reauthorize: 'Εξουσιοδοτήστε τώρα',
destructiveActionTitle: 'Αφαίρεση',
Expand Down Expand Up @@ -584,10 +576,7 @@ export const elGR: LocalizationResource = {
membersPage: {
detailsTitle__emptyRow: 'Δεν υπάρχουν μέλη για εμφάνιση',
action__invite: 'Πρόσκληση',
start: {
headerTitle__active: 'Ενεργά',
headerTitle__invited: 'Προσκεκλημένα',
},
start: {},
activeMembersTab: {
tableHeader__user: 'Χρήστης',
tableHeader__joined: 'Εγγραφήκατε',
Expand All @@ -604,7 +593,6 @@ export const elGR: LocalizationResource = {
createOrganization: {
title: 'Δημιουργία Οργανισμού',
formButtonSubmit: 'Δημιουργία οργανισμού',
subtitle: 'Ορίστε το προφίλ του οργανισμού',
invitePage: {
formButtonReset: 'Παράλειψη',
},
Expand Down
11 changes: 0 additions & 11 deletions packages/localizations/src/en-US.retheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const enUS: LocalizationResource = {
formFieldLabel__emailAddresses: 'Email addresses',
formFieldLabel__phoneNumber: 'Phone number',
formFieldLabel__username: 'Username',
formFieldLabel__emailAddress_phoneNumber: 'Email address or phone number',
formFieldLabel__emailAddress_username: 'Email address or username',
formFieldLabel__phoneNumber_username: 'phone number or username',
formFieldLabel__emailAddress_phoneNumber_username: 'Email address, phone number or username',
formFieldLabel__password: 'Password',
formFieldLabel__currentPassword: 'Current password',
formFieldLabel__newPassword: 'New password',
Expand All @@ -47,10 +44,7 @@ export const enUS: LocalizationResource = {
'Enter or paste one or more email addresses, separated by spaces or commas',
formFieldInputPlaceholder__phoneNumber: '',
formFieldInputPlaceholder__username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber: '',
formFieldInputPlaceholder__emailAddress_username: '',
formFieldInputPlaceholder__phoneNumber_username: '',
formFieldInputPlaceholder__emailAddress_phoneNumber_username: '',
formFieldInputPlaceholder__password: '',
formFieldInputPlaceholder__firstName: '',
formFieldInputPlaceholder__lastName: '',
Expand Down Expand Up @@ -302,12 +296,10 @@ export const enUS: LocalizationResource = {
connectedAccountsSection: {
title: 'Connected accounts',
primaryButton: 'Connect account',
title__conectionFailed: 'Retry failed connection',
title__connectionFailed: 'Retry failed connection',
title__reauthorize: 'Reauthorization required',
subtitle__reauthorize:
'The required scopes have been updated, and you may be experiencing limited functionality. Please re-authorize this application to avoid any issues',
actionLabel__conectionFailed: 'Try again',
actionLabel__connectionFailed: 'Try again',
actionLabel__reauthorize: 'Authorize now',
destructiveActionTitle: 'Remove',
Expand Down Expand Up @@ -646,9 +638,7 @@ export const enUS: LocalizationResource = {
detailsTitle__emptyRow: 'No members to display',
action__invite: 'Invite',
start: {
headerTitle__active: 'Active',
headerTitle__members: 'Members',
headerTitle__invited: 'Invited',
headerTitle__invitations: 'Invitations',
headerTitle__requests: 'Requests',
},
Expand Down Expand Up @@ -697,7 +687,6 @@ export const enUS: LocalizationResource = {
createOrganization: {
title: 'Create Organization',
formButtonSubmit: 'Create organization',
subtitle: 'Set the organization profile',
invitePage: {
formButtonReset: 'Skip',
},
Expand Down
Loading

0 comments on commit 4771709

Please sign in to comment.