diff --git a/apps/web/locales/de-DE.json b/apps/web/locales/de-DE.json index 04c1517c34..a73addc70f 100644 --- a/apps/web/locales/de-DE.json +++ b/apps/web/locales/de-DE.json @@ -82,7 +82,7 @@ "please_click_the_link_in_the_email_to_activate_your_account": "Bitte klicke auf den Link in der E-Mail, um dein Konto zu aktivieren.", "please_confirm_your_email_address": "Bitte bestätige deine E-Mail-Adresse", "resend_verification_email": "Bestätigungs-E-Mail erneut senden", - "verification_email_successfully_sent": "Bestätigungs-E-Mail erfolgreich gesendet. Bitte überprüfe dein Postfach.", + "verification_email_successfully_sent": "Bestätigungs-E-Mail an {email} gesendet. Bitte überprüfen Sie, um das Update abzuschließen.", "we_sent_an_email_to": "Wir haben eine E-Mail an {email} gesendet", "you_didnt_receive_an_email_or_your_link_expired": "Hast Du keine E-Mail erhalten oder ist dein Link abgelaufen?" }, diff --git a/apps/web/locales/fr-FR.json b/apps/web/locales/fr-FR.json index 06a52303a9..e9a9efce50 100644 --- a/apps/web/locales/fr-FR.json +++ b/apps/web/locales/fr-FR.json @@ -82,7 +82,7 @@ "please_click_the_link_in_the_email_to_activate_your_account": "Veuillez cliquer sur le lien dans l'e-mail pour activer votre compte.", "please_confirm_your_email_address": "Veuillez confirmer votre adresse e-mail.", "resend_verification_email": "Renvoyer l'email de vérification", - "verification_email_successfully_sent": "Email de vérification envoyé avec succès. Veuillez vérifier votre boîte de réception.", + "verification_email_successfully_sent": "Email de vérification envoyé à {email}. Veuillez vérifier pour compléter la mise à jour.", "we_sent_an_email_to": "Nous avons envoyé un email à {email}", "you_didnt_receive_an_email_or_your_link_expired": "Vous n'avez pas reçu d'email ou votre lien a expiré ?" }, diff --git a/apps/web/locales/pt-BR.json b/apps/web/locales/pt-BR.json index 94baa75a99..1d84874ca0 100644 --- a/apps/web/locales/pt-BR.json +++ b/apps/web/locales/pt-BR.json @@ -82,7 +82,7 @@ "please_click_the_link_in_the_email_to_activate_your_account": "Por favor, clica no link do e-mail pra ativar sua conta.", "please_confirm_your_email_address": "Por favor, confirme seu endereço de e-mail", "resend_verification_email": "Reenviar e-mail de verificação", - "verification_email_successfully_sent": "Email de verificação enviado com sucesso. Por favor, verifique sua caixa de entrada.", + "verification_email_successfully_sent": "E-mail de verificação enviado para {email}. Verifique para concluir a atualização.", "we_sent_an_email_to": "Enviamos um email para {email}", "you_didnt_receive_an_email_or_your_link_expired": "Você não recebeu um e-mail ou seu link expirou?" }, diff --git a/apps/web/locales/zh-Hant-TW.json b/apps/web/locales/zh-Hant-TW.json index 766bfdb91f..28f8498df9 100644 --- a/apps/web/locales/zh-Hant-TW.json +++ b/apps/web/locales/zh-Hant-TW.json @@ -82,7 +82,7 @@ "please_click_the_link_in_the_email_to_activate_your_account": "請點擊電子郵件中的連結以啟用您的帳戶。", "please_confirm_your_email_address": "請確認您的電子郵件地址", "resend_verification_email": "重新發送驗證電子郵件", - "verification_email_successfully_sent": "驗證電子郵件已成功發送。請檢查您的收件匣。", + "verification_email_successfully_sent": "验证电子邮件已发送至 {email}。请验证以完成更新。", "we_sent_an_email_to": "我們已發送一封電子郵件至 '{'email'}'。", "you_didnt_receive_an_email_or_your_link_expired": "您沒有收到電子郵件或您的連結已過期?" }, diff --git a/packages/surveys/src/components/general/welcome-card.tsx b/packages/surveys/src/components/general/welcome-card.tsx index 70b09c7eac..8ef7d539c5 100644 --- a/packages/surveys/src/components/general/welcome-card.tsx +++ b/packages/surveys/src/components/general/welcome-card.tsx @@ -157,8 +157,35 @@ export function WelcomeCard({ questionId="welcomeCard" /> + {timeToFinish && !showResponseCount ? ( +
+ +

+ Takes {calculateTimeToComplete()} +

+
+ ) : null} + {showResponseCount && !timeToFinish && responseCount && responseCount > 3 ? ( +
+ +

+ {`${responseCount.toString()} people responded`} +

+
+ ) : null} + {timeToFinish && showResponseCount ? ( +
+ +

+ Takes {calculateTimeToComplete()} + + {responseCount && responseCount > 3 ? `⋅ ${responseCount.toString()} people responded` : ""} + +

+
+ ) : null} -
+
- {timeToFinish && !showResponseCount ? ( -
- -

- Takes {calculateTimeToComplete()} -

-
- ) : null} - {showResponseCount && !timeToFinish && responseCount && responseCount > 3 ? ( -
- -

- {`${responseCount.toString()} people responded`} -

-
- ) : null} - {timeToFinish && showResponseCount ? ( -
- -

- Takes {calculateTimeToComplete()} - - {responseCount && responseCount > 3 ? `⋅ ${responseCount.toString()} people responded` : ""} - -

-
- ) : null}
); }