Skip to content

Commit 33a406d

Browse files
committed
fix(phrases): remove span tags from resend_countdown translations
The `DynamicT` component in account center doesn't parse HTML tags, causing `<span>` tags to be displayed as literal text in the verification code countdown message.
1 parent 3f71959 commit 33a406d

File tree

18 files changed

+54
-54
lines changed

18 files changed

+54
-54
lines changed

packages/phrases-experience/src/locales/ar/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const account_center = {
6565
code_verification: {
6666
send: 'إرسال رمز التحقق',
6767
resend: 'لم تستلمه بعد؟ <a>إعادة إرسال رمز التحقق</a>',
68-
resend_countdown: 'لم تستلمه بعد؟<span> أعد الإرسال بعد {{seconds}} ث.</span>',
68+
resend_countdown: 'لم تستلمه بعد؟ أعد الإرسال بعد {{seconds}} ث.',
6969
},
7070

7171
email_verification: {
@@ -75,7 +75,7 @@ const account_center = {
7575
send: 'إرسال رمز التحقق',
7676
description: 'تم إرسال رمز التحقق إلى بريدك الإلكتروني {{email}}. أدخل الرمز للمتابعة.',
7777
resend: 'لم تستلمه بعد؟ <a>إعادة إرسال رمز التحقق</a>',
78-
resend_countdown: 'لم تستلمه بعد؟<span> أعد الإرسال بعد {{seconds}} ث.</span>',
78+
resend_countdown: 'لم تستلمه بعد؟ أعد الإرسال بعد {{seconds}} ث.',
7979
error_send_failed: 'فشل إرسال رمز التحقق. يرجى المحاولة لاحقًا.',
8080
error_verify_failed: 'فشل التحقق. يرجى إدخال الرمز مرة أخرى.',
8181
error_invalid_code: 'رمز التحقق غير صالح أو منتهي الصلاحية.',
@@ -87,7 +87,7 @@ const account_center = {
8787
send: 'إرسال رمز التحقق',
8888
description: 'تم إرسال رمز التحقق إلى هاتفك {{phone}}. أدخل الرمز للمتابعة.',
8989
resend: 'لم تستلمه بعد؟ <a>إعادة إرسال رمز التحقق</a>',
90-
resend_countdown: 'لم تستلمه بعد؟<span> أعد الإرسال بعد {{seconds}} ث.</span>',
90+
resend_countdown: 'لم تستلمه بعد؟ أعد الإرسال بعد {{seconds}} ث.',
9191
error_send_failed: 'فشل إرسال رمز التحقق. يرجى المحاولة لاحقًا.',
9292
error_verify_failed: 'فشل التحقق. يرجى إدخال الرمز مرة أخرى.',
9393
error_invalid_code: 'رمز التحقق غير صالح أو منتهي الصلاحية.',

packages/phrases-experience/src/locales/de/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const account_center = {
7171
code_verification: {
7272
send: 'Bestätigungscode senden',
7373
resend: 'Noch nichts erhalten? <a>Bestätigungscode erneut senden</a>',
74-
resend_countdown: 'Noch nichts erhalten?<span> Erneut senden nach {{seconds}} s.</span>',
74+
resend_countdown: 'Noch nichts erhalten? Erneut senden nach {{seconds}} s.',
7575
},
7676

7777
email_verification: {
@@ -83,7 +83,7 @@ const account_center = {
8383
description:
8484
'Der Bestätigungscode wurde an deine E-Mail {{email}} gesendet. Gib den Code ein, um fortzufahren.',
8585
resend: 'Noch nichts erhalten? <a>Bestätigungscode erneut senden</a>',
86-
resend_countdown: 'Noch nichts erhalten?<span> Erneut senden nach {{seconds}} s.</span>',
86+
resend_countdown: 'Noch nichts erhalten? Erneut senden nach {{seconds}} s.',
8787
error_send_failed:
8888
'Bestätigungscode konnte nicht gesendet werden. Bitte versuche es später noch einmal.',
8989
error_verify_failed: 'Verifizierung fehlgeschlagen. Bitte gib den Code erneut ein.',
@@ -98,7 +98,7 @@ const account_center = {
9898
description:
9999
'Der Bestätigungscode wurde an dein Telefon {{phone}} gesendet. Gib den Code ein, um fortzufahren.',
100100
resend: 'Noch nichts erhalten? <a>Bestätigungscode erneut senden</a>',
101-
resend_countdown: 'Noch nichts erhalten?<span> Erneut senden nach {{seconds}} s.</span>',
101+
resend_countdown: 'Noch nichts erhalten? Erneut senden nach {{seconds}} s.',
102102
error_send_failed:
103103
'Bestätigungscode konnte nicht gesendet werden. Bitte versuche es später noch einmal.',
104104
error_verify_failed: 'Verifizierung fehlgeschlagen. Bitte gib den Code erneut ein.',

packages/phrases-experience/src/locales/en/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const account_center = {
6666
code_verification: {
6767
send: 'Send verification code',
6868
resend: 'Not received yet? <a>Resend verification code</a>',
69-
resend_countdown: 'Not received yet?<span> Resend after {{seconds}}s.</span>',
69+
resend_countdown: 'Not received yet? Resend after {{seconds}}s.',
7070
},
7171

7272
email_verification: {
@@ -78,7 +78,7 @@ const account_center = {
7878
description:
7979
'The verification code has been sent to your email {{email}}. Enter the code to continue.',
8080
resend: 'Not received yet? <a>Resend verification code</a>',
81-
resend_countdown: 'Not received yet?<span> Resend after {{seconds}}s.</span>',
81+
resend_countdown: 'Not received yet? Resend after {{seconds}}s.',
8282
error_send_failed: 'Failed to send verification code. Please try again later.',
8383
error_verify_failed: 'Verification failed. Please enter the code again.',
8484
error_invalid_code: 'The verification code is invalid or has expired.',
@@ -92,7 +92,7 @@ const account_center = {
9292
description:
9393
'The verification code has been sent to your phone {{phone}}. Enter the code to continue.',
9494
resend: 'Not received yet? <a>Resend verification code</a>',
95-
resend_countdown: 'Not received yet?<span> Resend after {{seconds}}s.</span>',
95+
resend_countdown: 'Not received yet? Resend after {{seconds}}s.',
9696
error_send_failed: 'Failed to send verification code. Please try again later.',
9797
error_verify_failed: 'Verification failed. Please enter the code again.',
9898
error_invalid_code: 'The verification code is invalid or has expired.',

packages/phrases-experience/src/locales/es/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const account_center = {
6969
code_verification: {
7070
send: 'Enviar código de verificación',
7171
resend: '¿Aún no lo recibes? <a>Reenviar código de verificación</a>',
72-
resend_countdown: '¿Aún no lo recibes?<span> Reenvía después de {{seconds}} s.</span>',
72+
resend_countdown: '¿Aún no lo recibes? Reenvía después de {{seconds}} s.',
7373
},
7474

7575
email_verification: {
@@ -81,7 +81,7 @@ const account_center = {
8181
description:
8282
'El código de verificación se ha enviado a tu correo {{email}}. Ingresa el código para continuar.',
8383
resend: '¿Aún no lo recibes? <a>Reenviar código de verificación</a>',
84-
resend_countdown: '¿Aún no lo recibes?<span> Reenvía después de {{seconds}} s.</span>',
84+
resend_countdown: '¿Aún no lo recibes? Reenvía después de {{seconds}} s.',
8585
error_send_failed: 'No se pudo enviar el código de verificación. Inténtalo de nuevo más tarde.',
8686
error_verify_failed: 'La verificación falló. Ingresa el código nuevamente.',
8787
error_invalid_code: 'El código de verificación no es válido o ha expirado.',
@@ -95,7 +95,7 @@ const account_center = {
9595
description:
9696
'El código de verificación se ha enviado a tu teléfono {{phone}}. Ingresa el código para continuar.',
9797
resend: '¿Aún no lo recibes? <a>Reenviar código de verificación</a>',
98-
resend_countdown: '¿Aún no lo recibes?<span> Reenvía después de {{seconds}} s.</span>',
98+
resend_countdown: '¿Aún no lo recibes? Reenvía después de {{seconds}} s.',
9999
error_send_failed: 'No se pudo enviar el código de verificación. Inténtalo de nuevo más tarde.',
100100
error_verify_failed: 'La verificación falló. Ingresa el código nuevamente.',
101101
error_invalid_code: 'El código de verificación no es válido o ha expirado.',

packages/phrases-experience/src/locales/fr/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const account_center = {
7070
code_verification: {
7171
send: 'Envoyer le code de vérification',
7272
resend: 'Pas encore reçu ? <a>Renvoyer le code de vérification</a>',
73-
resend_countdown: 'Pas encore reçu ?<span> Renvoyez après {{seconds}} s.</span>',
73+
resend_countdown: 'Pas encore reçu ? Renvoyez après {{seconds}} s.',
7474
},
7575

7676
email_verification: {
@@ -82,7 +82,7 @@ const account_center = {
8282
description:
8383
'Le code de vérification a été envoyé à votre e-mail {{email}}. Saisissez le code pour continuer.',
8484
resend: 'Pas encore reçu ? <a>Renvoyer le code de vérification</a>',
85-
resend_countdown: 'Pas encore reçu ?<span> Renvoyez après {{seconds}} s.</span>',
85+
resend_countdown: 'Pas encore reçu ? Renvoyez après {{seconds}} s.',
8686
error_send_failed: "Échec de l'envoi du code de vérification. Veuillez réessayer plus tard.",
8787
error_verify_failed: 'Échec de la vérification. Veuillez saisir le code à nouveau.',
8888
error_invalid_code: 'Le code de vérification est invalide ou a expiré.',
@@ -96,7 +96,7 @@ const account_center = {
9696
description:
9797
'Le code de vérification a été envoyé à votre téléphone {{phone}}. Saisissez le code pour continuer.',
9898
resend: 'Pas encore reçu ? <a>Renvoyer le code de vérification</a>',
99-
resend_countdown: 'Pas encore reçu ?<span> Renvoyez après {{seconds}} s.</span>',
99+
resend_countdown: 'Pas encore reçu ? Renvoyez après {{seconds}} s.',
100100
error_send_failed: "Échec de l'envoi du code de vérification. Veuillez réessayer plus tard.",
101101
error_verify_failed: 'Échec de la vérification. Veuillez saisir le code à nouveau.',
102102
error_invalid_code: 'Le code de vérification est invalide ou a expiré.',

packages/phrases-experience/src/locales/it/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const account_center = {
6969
code_verification: {
7070
send: 'Invia codice di verifica',
7171
resend: "Non l'hai ricevuto? <a>Reinvia il codice di verifica</a>",
72-
resend_countdown: "Non l'hai ricevuto?<span> Reinvia dopo {{seconds}} s.</span>",
72+
resend_countdown: "Non l'hai ricevuto? Reinvia dopo {{seconds}} s.",
7373
},
7474

7575
email_verification: {
@@ -81,7 +81,7 @@ const account_center = {
8181
description:
8282
"Il codice di verifica è stato inviato all'e-mail {{email}}. Inserisci il codice per continuare.",
8383
resend: "Non l'hai ricevuto? <a>Reinvia il codice di verifica</a>",
84-
resend_countdown: "Non l'hai ricevuto?<span> Reinvia dopo {{seconds}} s.</span>",
84+
resend_countdown: "Non l'hai ricevuto? Reinvia dopo {{seconds}} s.",
8585
error_send_failed: 'Invio del codice di verifica non riuscito. Riprova più tardi.',
8686
error_verify_failed: 'Verifica non riuscita. Inserisci di nuovo il codice.',
8787
error_invalid_code: 'Il codice di verifica non è valido o è scaduto.',
@@ -95,7 +95,7 @@ const account_center = {
9595
description:
9696
'Il codice di verifica è stato inviato al tuo telefono {{phone}}. Inserisci il codice per continuare.',
9797
resend: "Non l'hai ricevuto? <a>Reinvia il codice di verifica</a>",
98-
resend_countdown: "Non l'hai ricevuto?<span> Reinvia dopo {{seconds}} s.</span>",
98+
resend_countdown: "Non l'hai ricevuto? Reinvia dopo {{seconds}} s.",
9999
error_send_failed: 'Invio del codice di verifica non riuscito. Riprova più tardi.',
100100
error_verify_failed: 'Verifica non riuscita. Inserisci di nuovo il codice.',
101101
error_invalid_code: 'Il codice di verifica non è valido o è scaduto.',

packages/phrases-experience/src/locales/ja/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const account_center = {
6565
code_verification: {
6666
send: '認証コードを送信',
6767
resend: 'まだ届きませんか? <a>認証コードを再送</a>',
68-
resend_countdown: 'まだ届きませんか?<span> {{seconds}} 秒後に再送できます</span>',
68+
resend_countdown: 'まだ届きませんか? {{seconds}} 秒後に再送できます',
6969
},
7070

7171
email_verification: {
@@ -77,7 +77,7 @@ const account_center = {
7777
description:
7878
'認証コードをメールアドレス {{email}} に送信しました。コードを入力して続行してください。',
7979
resend: 'まだ届きませんか? <a>認証コードを再送</a>',
80-
resend_countdown: 'まだ届きませんか?<span> {{seconds}} 秒後に再送できます</span>',
80+
resend_countdown: 'まだ届きませんか? {{seconds}} 秒後に再送できます',
8181
error_send_failed: '認証コードの送信に失敗しました。しばらくしてからもう一度お試しください。',
8282
error_verify_failed: '認証に失敗しました。もう一度コードを入力してください。',
8383
error_invalid_code: '認証コードが無効か、有効期限が切れています。',
@@ -90,7 +90,7 @@ const account_center = {
9090
send: '認証コードを送信',
9191
description: '認証コードを電話 {{phone}} に送信しました。コードを入力して続行してください。',
9292
resend: 'まだ届きませんか? <a>認証コードを再送</a>',
93-
resend_countdown: 'まだ届きませんか?<span> {{seconds}} 秒後に再送できます</span>',
93+
resend_countdown: 'まだ届きませんか? {{seconds}} 秒後に再送できます',
9494
error_send_failed: '認証コードの送信に失敗しました。しばらくしてからもう一度お試しください。',
9595
error_verify_failed: '認証に失敗しました。もう一度コードを入力してください。',
9696
error_invalid_code: '認証コードが無効か、有効期限が切れています。',

packages/phrases-experience/src/locales/ko/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const account_center = {
6464
code_verification: {
6565
send: '인증 코드 보내기',
6666
resend: '아직 받지 못하셨나요? <a>인증 코드 다시 보내기</a>',
67-
resend_countdown: '아직 받지 못하셨나요?<span> {{seconds}}초 후에 다시 보낼 수 있습니다</span>',
67+
resend_countdown: '아직 받지 못하셨나요? {{seconds}}초 후에 다시 보낼 수 있습니다',
6868
},
6969

7070
email_verification: {
@@ -75,7 +75,7 @@ const account_center = {
7575
description:
7676
'인증 코드가 이메일 {{email}}(으)로 전송되었습니다. 코드를 입력해 계속 진행하세요.',
7777
resend: '아직 받지 못하셨나요? <a>인증 코드 다시 보내기</a>',
78-
resend_countdown: '아직 받지 못하셨나요?<span> {{seconds}}초 후에 다시 보낼 수 있습니다</span>',
78+
resend_countdown: '아직 받지 못하셨나요? {{seconds}}초 후에 다시 보낼 수 있습니다',
7979
error_send_failed: '인증 코드를 보내지 못했습니다. 잠시 후 다시 시도해주세요.',
8080
error_verify_failed: '인증에 실패했습니다. 코드를 다시 입력해주세요.',
8181
error_invalid_code: '인증 코드가 잘못되었거나 만료되었습니다.',
@@ -88,7 +88,7 @@ const account_center = {
8888
description:
8989
'인증 코드가 전화번호 {{phone}}(으)로 전송되었습니다. 코드를 입력해 계속 진행하세요.',
9090
resend: '아직 받지 못하셨나요? <a>인증 코드 다시 보내기</a>',
91-
resend_countdown: '아직 받지 못하셨나요?<span> {{seconds}}초 후에 다시 보낼 수 있습니다</span>',
91+
resend_countdown: '아직 받지 못하셨나요? {{seconds}}초 후에 다시 보낼 수 있습니다',
9292
error_send_failed: '인증 코드를 보내지 못했습니다. 잠시 후 다시 시도해주세요.',
9393
error_verify_failed: '인증에 실패했습니다. 코드를 다시 입력해주세요.',
9494
error_invalid_code: '인증 코드가 잘못되었거나 만료되었습니다.',

packages/phrases-experience/src/locales/pl-pl/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const account_center = {
6565
code_verification: {
6666
send: 'Wyślij kod weryfikacyjny',
6767
resend: 'Nie otrzymałeś? <a>Wyślij kod weryfikacyjny ponownie</a>',
68-
resend_countdown: 'Nie otrzymałeś?<span> Wyślij ponownie po {{seconds}} s.</span>',
68+
resend_countdown: 'Nie otrzymałeś? Wyślij ponownie po {{seconds}} s.',
6969
},
7070

7171
email_verification: {
@@ -77,7 +77,7 @@ const account_center = {
7777
description:
7878
'Kod weryfikacyjny został wysłany na adres {{email}}. Wprowadź kod, aby kontynuować.',
7979
resend: 'Nie otrzymałeś? <a>Wyślij kod weryfikacyjny ponownie</a>',
80-
resend_countdown: 'Nie otrzymałeś?<span> Wyślij ponownie po {{seconds}} s.</span>',
80+
resend_countdown: 'Nie otrzymałeś? Wyślij ponownie po {{seconds}} s.',
8181
error_send_failed: 'Nie udało się wysłać kodu weryfikacyjnego. Spróbuj ponownie później.',
8282
error_verify_failed: 'Weryfikacja nie powiodła się. Wprowadź kod ponownie.',
8383
error_invalid_code: 'Kod weryfikacyjny jest nieprawidłowy lub wygasł.',
@@ -91,7 +91,7 @@ const account_center = {
9191
description:
9292
'Kod weryfikacyjny został wysłany na Twój telefon {{phone}}. Wprowadź kod, aby kontynuować.',
9393
resend: 'Nie otrzymałeś? <a>Wyślij kod weryfikacyjny ponownie</a>',
94-
resend_countdown: 'Nie otrzymałeś?<span> Wyślij ponownie po {{seconds}} s.</span>',
94+
resend_countdown: 'Nie otrzymałeś? Wyślij ponownie po {{seconds}} s.',
9595
error_send_failed: 'Nie udało się wysłać kodu weryfikacyjnego. Spróbuj ponownie później.',
9696
error_verify_failed: 'Weryfikacja nie powiodła się. Wprowadź kod ponownie.',
9797
error_invalid_code: 'Kod weryfikacyjny jest nieprawidłowy lub wygasł.',

packages/phrases-experience/src/locales/pt-br/account-center.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const account_center = {
6767
code_verification: {
6868
send: 'Enviar código de verificação',
6969
resend: 'Ainda não recebeu? <a>Reenviar código de verificação</a>',
70-
resend_countdown: 'Ainda não recebeu?<span> Reenvie após {{seconds}} s.</span>',
70+
resend_countdown: 'Ainda não recebeu? Reenvie após {{seconds}} s.',
7171
},
7272

7373
email_verification: {
@@ -79,7 +79,7 @@ const account_center = {
7979
description:
8080
'O código de verificação foi enviado para o e-mail {{email}}. Digite o código para continuar.',
8181
resend: 'Ainda não recebeu? <a>Reenviar código de verificação</a>',
82-
resend_countdown: 'Ainda não recebeu?<span> Reenvie após {{seconds}} s.</span>',
82+
resend_countdown: 'Ainda não recebeu? Reenvie após {{seconds}} s.',
8383
error_send_failed: 'Falha ao enviar o código de verificação. Tente novamente mais tarde.',
8484
error_verify_failed: 'Falha na verificação. Digite o código novamente.',
8585
error_invalid_code: 'O código de verificação é inválido ou expirou.',
@@ -93,7 +93,7 @@ const account_center = {
9393
description:
9494
'O código de verificação foi enviado para o seu telefone {{phone}}. Digite o código para continuar.',
9595
resend: 'Ainda não recebeu? <a>Reenviar código de verificação</a>',
96-
resend_countdown: 'Ainda não recebeu?<span> Reenvie após {{seconds}} s.</span>',
96+
resend_countdown: 'Ainda não recebeu? Reenvie após {{seconds}} s.',
9797
error_send_failed: 'Falha ao enviar o código de verificação. Tente novamente mais tarde.',
9898
error_verify_failed: 'Falha na verificação. Digite o código novamente.',
9999
error_invalid_code: 'O código de verificação é inválido ou expirou.',

0 commit comments

Comments
 (0)