diff --git a/packages/twenty-emails/src/components/BaseEmail.tsx b/packages/twenty-emails/src/components/BaseEmail.tsx index 05b25659ecf9..bcb53786a0b5 100644 --- a/packages/twenty-emails/src/components/BaseEmail.tsx +++ b/packages/twenty-emails/src/components/BaseEmail.tsx @@ -5,10 +5,11 @@ import { PropsWithChildren } from 'react'; import { BaseHead } from 'src/components/BaseHead'; import { Logo } from 'src/components/Logo'; +import { APP_LOCALES } from 'twenty-shared'; type BaseEmailProps = PropsWithChildren<{ width?: number; - locale: string; + locale: keyof typeof APP_LOCALES; }>; export const BaseEmail = ({ children, width, locale }: BaseEmailProps) => { diff --git a/packages/twenty-emails/src/emails/password-reset-link.email.tsx b/packages/twenty-emails/src/emails/password-reset-link.email.tsx index 5357e4cbb365..2f4f8f759932 100644 --- a/packages/twenty-emails/src/emails/password-reset-link.email.tsx +++ b/packages/twenty-emails/src/emails/password-reset-link.email.tsx @@ -5,11 +5,12 @@ import { CallToAction } from 'src/components/CallToAction'; import { Link } from 'src/components/Link'; import { MainText } from 'src/components/MainText'; import { Title } from 'src/components/Title'; +import { APP_LOCALES } from 'twenty-shared'; type PasswordResetLinkEmailProps = { duration: string; link: string; - locale: string; + locale: keyof typeof APP_LOCALES; }; export const PasswordResetLinkEmail = ({ diff --git a/packages/twenty-emails/src/emails/password-update-notify.email.tsx b/packages/twenty-emails/src/emails/password-update-notify.email.tsx index abd049bc219e..1b20eb93659a 100644 --- a/packages/twenty-emails/src/emails/password-update-notify.email.tsx +++ b/packages/twenty-emails/src/emails/password-update-notify.email.tsx @@ -6,12 +6,13 @@ import { BaseEmail } from 'src/components/BaseEmail'; import { CallToAction } from 'src/components/CallToAction'; import { MainText } from 'src/components/MainText'; import { Title } from 'src/components/Title'; +import { APP_LOCALES } from 'twenty-shared'; type PasswordUpdateNotifyEmailProps = { userName: string; email: string; link: string; - locale: string; + locale: keyof typeof APP_LOCALES; }; export const PasswordUpdateNotifyEmail = ({ diff --git a/packages/twenty-emails/src/emails/send-email-verification-link.email.tsx b/packages/twenty-emails/src/emails/send-email-verification-link.email.tsx index 48bd35fee40f..71840c2b562b 100644 --- a/packages/twenty-emails/src/emails/send-email-verification-link.email.tsx +++ b/packages/twenty-emails/src/emails/send-email-verification-link.email.tsx @@ -6,10 +6,11 @@ import { CallToAction } from 'src/components/CallToAction'; import { Footer } from 'src/components/Footer'; import { MainText } from 'src/components/MainText'; import { Title } from 'src/components/Title'; +import { APP_LOCALES } from 'twenty-shared'; type SendEmailVerificationLinkEmailProps = { link: string; - locale: string; + locale: keyof typeof APP_LOCALES; }; export const SendEmailVerificationLinkEmail = ({ diff --git a/packages/twenty-emails/src/emails/send-invite-link.email.tsx b/packages/twenty-emails/src/emails/send-invite-link.email.tsx index 977637fd8dcb..5f934b03f519 100644 --- a/packages/twenty-emails/src/emails/send-invite-link.email.tsx +++ b/packages/twenty-emails/src/emails/send-invite-link.email.tsx @@ -12,7 +12,7 @@ import { MainText } from 'src/components/MainText'; import { Title } from 'src/components/Title'; import { WhatIsTwenty } from 'src/components/WhatIsTwenty'; import { capitalize } from 'src/utils/capitalize'; -import { getImageAbsoluteURI } from 'twenty-shared'; +import { APP_LOCALES, getImageAbsoluteURI } from 'twenty-shared'; type SendInviteLinkEmailProps = { link: string; @@ -23,7 +23,7 @@ type SendInviteLinkEmailProps = { lastName: string; }; serverUrl: string; - locale: string; + locale: keyof typeof APP_LOCALES; }; export const SendInviteLinkEmail = ({ diff --git a/packages/twenty-emails/src/locales/de.po b/packages/twenty-emails/src/locales/de.po index 3a780107a62e..1a32aa271ba6 100644 --- a/packages/twenty-emails/src/locales/de.po +++ b/packages/twenty-emails/src/locales/de.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "Einladung annehmen" msgid "All data in this workspace has been permanently deleted." msgstr "Alle Daten in diesem Arbeitsbereich wurden endgültig gelöscht." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Bestätigen Sie Ihre E-Mail Adresse" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Verbindung zu Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Liebe" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Sehr geehrter {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "Wenn Sie diese Änderung nicht veranlasst haben, wenden Sie sich bitte umgehend an den Eigentümer Ihres Arbeitsbereichs." @@ -51,19 +51,19 @@ msgstr "Es scheint, dass Ihr Arbeitsbereich <0>{workspaceDisplayName} für { msgid "Join your team on Twenty" msgstr "Verbinden Sie Ihr Team auf Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Passwort aktualisiert" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Zurücksetzen" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Ihr Passwort zurücksetzen 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Vielen Dank, dass Sie sich für ein Konto bei Twenty registriert haben! Bevor wir loslegen, müssen wir nur bestätigen, dass Sie es sind. Klicken Sie oben, um Ihre E-Mail-Adresse zu bestätigen." @@ -71,15 +71,15 @@ msgstr "Vielen Dank, dass Sie sich für ein Konto bei Twenty registriert haben! msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "Der Arbeitsbereich wird in {remainingDays} {dayOrDays} deaktiviert, und alle seine Daten werden gelöscht." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "Dies ist eine Bestätigung, dass das Passwort für Ihr Konto ({email}) erfolgreich am {formattedDate} geändert wurde." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "Dieser Link ist nur für den nächsten {duration} gültig. Wenn der Link nicht funktioniert, können Sie direkt den Link zur Überprüfung der Anmeldung verwenden:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "E-Mail verifizieren" diff --git a/packages/twenty-emails/src/locales/en.po b/packages/twenty-emails/src/locales/en.po index 90ce0aa585bb..44398224911c 100644 --- a/packages/twenty-emails/src/locales/en.po +++ b/packages/twenty-emails/src/locales/en.po @@ -21,19 +21,19 @@ msgstr "Accept invite" msgid "All data in this workspace has been permanently deleted." msgstr "All data in this workspace has been permanently deleted." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Confirm your email address" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Connect to Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Dear" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Dear {userName}" @@ -41,7 +41,7 @@ msgstr "Dear {userName}" msgid "has invited you to join a workspace called " msgstr "has invited you to join a workspace called " -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "If you did not initiate this change, please contact your workspace owner immediately." @@ -61,19 +61,19 @@ msgstr "It appears that your workspace <0>{workspaceDisplayName} has been su msgid "Join your team on Twenty" msgstr "Join your team on Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Password updated" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Reset" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Reset your password 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." @@ -81,7 +81,7 @@ msgstr "Thanks for registering for an account on Twenty! Before we get started, msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." @@ -89,7 +89,7 @@ msgstr "This is a confirmation that password for your account ({email}) was succ #~ msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}.<0/><1/>If you did not initiate this change, please contact your workspace owner immediately." #~ msgstr "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}.<0/><1/>If you did not initiate this change, please contact your workspace owner immediately." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" @@ -97,7 +97,7 @@ msgstr "This link is only valid for the next {duration}. If the link does not wo #~ msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:<0/>" #~ msgstr "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:<0/>" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "Verify Email" diff --git a/packages/twenty-emails/src/locales/es.po b/packages/twenty-emails/src/locales/es.po index 1512565fbf01..e6c205427cd2 100644 --- a/packages/twenty-emails/src/locales/es.po +++ b/packages/twenty-emails/src/locales/es.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "Aceptar invitación" msgid "All data in this workspace has been permanently deleted." msgstr "Todos los datos de este espacio de trabajo se han eliminado permanentemente." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Confirma tu dirección de correo electrónico" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Conectarse a Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Estimado/a" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Estimado/a {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "Si usted no ha iniciado este cambio, póngase en contacto inmediatamente con el propietario de su espacio de trabajo." @@ -51,19 +51,19 @@ msgstr "Parece que su espacio de trabajo <0>{workspaceDisplayName} ha sido s msgid "Join your team on Twenty" msgstr "Únete a tu equipo en Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Contraseña actualizada" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Restablecer" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Restablece tu contraseña 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "¡Gracias por registrarte en Twenty! Antes de comenzar, solo necesitamos confirmar que eres tú. Haz clic arriba para verificar tu dirección de correo electrónico." @@ -71,15 +71,15 @@ msgstr "¡Gracias por registrarte en Twenty! Antes de comenzar, solo necesitamos msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "El espacio de trabajo se desactivará en {remainingDays} {dayOrDays} y se borrarán todos sus datos." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "Esto es una confirmación de que la contraseña de su cuenta ({email}) se ha cambiado correctamente en {formattedDate}." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "Este enlace sólo es válido para el próximo {duration}. Si el enlace no funciona, puede utilizar directamente el enlace de verificación de inicio de sesión:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "Verificar correo electrónico" diff --git a/packages/twenty-emails/src/locales/fr.po b/packages/twenty-emails/src/locales/fr.po index eca58373af18..9a6f24ce43b5 100644 --- a/packages/twenty-emails/src/locales/fr.po +++ b/packages/twenty-emails/src/locales/fr.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "Accepter l'invitation" msgid "All data in this workspace has been permanently deleted." msgstr "Toutes les données de cet espace de travail ont été définitivement supprimées." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Confirmez votre adresse email" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Connectez-vous à Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Cher(e)" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Cher(e) {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "Si vous n'êtes pas à l'origine de ce changement, veuillez contacter immédiatement le propriétaire de votre espace de travail." @@ -51,19 +51,19 @@ msgstr "Il apparaît que votre espace de travail <0>{workspaceDisplayName} a msgid "Join your team on Twenty" msgstr "Rejoignez votre équipe sur Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Mot de passe mis à jour" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Réinitialiser" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Réinitialiser votre mot de passe 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Merci de vous être inscrit sur Twenty! Avant de commencer, nous devons simplement confirmer qu'il s'agit bien de vous. Cliquez ci-dessus pour vérifier votre adresse e-mail." @@ -71,15 +71,15 @@ msgstr "Merci de vous être inscrit sur Twenty! Avant de commencer, nous devons msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "L'espace de travail sera désactivé dans {remainingDays} {dayOrDays} et toutes ses données seront supprimées." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "Ceci est une confirmation que le mot de passe de votre compte ({email}) a été modifié avec succès le {formattedDate}." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "Ce lien n'est valable que pour le prochain {duration}. Si le lien ne fonctionne pas, vous pouvez utiliser directement le lien de vérification de la connexion :" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "Vérifier l'e-mail" diff --git a/packages/twenty-emails/src/locales/it.po b/packages/twenty-emails/src/locales/it.po index 85e21c68e07b..5586d67d4158 100644 --- a/packages/twenty-emails/src/locales/it.po +++ b/packages/twenty-emails/src/locales/it.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "Accetta invito" msgid "All data in this workspace has been permanently deleted." msgstr "Tutti i dati di questa area di lavoro sono stati eliminati in modo permanente." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Conferma il tuo indirizzo email" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Connettiti a Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Caro" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Caro {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "Se non si è avviata questa modifica, contattare immediatamente il proprietario dello spazio di lavoro." @@ -51,19 +51,19 @@ msgstr "Sembra che il vostro spazio di lavoro <0>{workspaceDisplayName} sia msgid "Join your team on Twenty" msgstr "Unisciti al tuo team su Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Password aggiornata" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Ripristina" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Ripristina la tua password 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Grazie per esserti registrato su Twenty! Prima di iniziare, dobbiamo solo confermare che sei tu. Clicca sopra per verificare il tuo indirizzo email." @@ -71,15 +71,15 @@ msgstr "Grazie per esserti registrato su Twenty! Prima di iniziare, dobbiamo sol msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "L'area di lavoro viene disattivata in {remainingDays} {dayOrDays} e tutti i suoi dati vengono cancellati." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "Questa è la conferma che la password del vostro account ({email}) è stata modificata con successo in data {formattedDate}." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "Questo link è valido solo per il prossimo {duration}. Se il link non funziona, è possibile utilizzare direttamente il link di verifica del login:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "Verifica Email" diff --git a/packages/twenty-emails/src/locales/ja.po b/packages/twenty-emails/src/locales/ja.po index 45a43df3cb2b..468aa2fbc3f0 100644 --- a/packages/twenty-emails/src/locales/ja.po +++ b/packages/twenty-emails/src/locales/ja.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "招待を受ける" msgid "All data in this workspace has been permanently deleted." msgstr "このワークスペースのデータはすべて永久に削除されました。" -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "メールアドレスの確認" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "トゥエンティに接続" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "拝啓" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "{userName}]様" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "この変更をあなたが行っていない場合は、直ちにワークスペースの所有者に連絡してください。" @@ -51,19 +51,19 @@ msgstr "ワークスペース<0>{workspaceDisplayName}が{daysSinceInactive} msgid "Join your team on Twenty" msgstr "Twentyでチームに参加しよう" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "パスワード更新" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "リセット" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "パスワードをリセットする" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Twentyのアカウント登録ありがとうございます!アカウント登録の前に、ご本人であることを確認させていただきます。上記をクリックしてメールアドレスを確認してください。" @@ -71,15 +71,15 @@ msgstr "Twentyのアカウント登録ありがとうございます!アカウ msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "ワークスペースは{remainingDays} {dayOrDays}で非アクティブになり、そのデータはすべて削除されます。" -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "これは、あなたのアカウント({email})のパスワードが{formattedDate}で正常に変更されたことの確認です。" -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "このリンクは次の{duration}にのみ有効です。リンクが機能しない場合は、ログイン認証リンクを直接ご利用ください:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "電子メールの確認" diff --git a/packages/twenty-emails/src/locales/ko.po b/packages/twenty-emails/src/locales/ko.po index fac6991d4894..fae136ed0c66 100644 --- a/packages/twenty-emails/src/locales/ko.po +++ b/packages/twenty-emails/src/locales/ko.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "초대 수락" msgid "All data in this workspace has been permanently deleted." msgstr "이 작업 공간의 모든 데이터는 영구적으로 삭제되었습니다." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "이메일 주소 확인" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Twenty에 연결" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Dear" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "{userName}] 님께" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "이 변경을 시작하지 않았다면 즉시 워크스페이스 소유자에게 문의하시기 바랍니다." @@ -51,19 +51,19 @@ msgstr "작업 공간 <0>[{workspaceDisplayName} ]이 {daysSinceInactive} msgid "Join your team on Twenty" msgstr "Twenty에서 팀에 합류하세요" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "비밀번호 업데이트" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "초기화" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "비밀번호 재설정 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Twenty에 계정을 등록해 주셔서 감사합니다! 시작하기 전에 본인인지 확인해야 합니다. 위를 클릭하여 이메일 주소를 인증하세요." @@ -71,15 +71,15 @@ msgstr "Twenty에 계정을 등록해 주셔서 감사합니다! 시작하기 msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "워크스페이스는 {remainingDays} {dayOrDays}에서 비활성화되고 모든 데이터가 삭제됩니다." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "계정 비밀번호({email})가 {formattedDate}에서 성공적으로 변경되었음을 확인합니다." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "이 링크는 다음 {duration}에만 유효합니다. 링크가 작동하지 않는 경우 로그인 인증 링크를 직접 사용할 수 있습니다:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "이메일 확인" diff --git a/packages/twenty-emails/src/locales/pseudo-en.po b/packages/twenty-emails/src/locales/pseudo-en.po index 43449babe2a9..69f7a8b34701 100644 --- a/packages/twenty-emails/src/locales/pseudo-en.po +++ b/packages/twenty-emails/src/locales/pseudo-en.po @@ -21,19 +21,19 @@ msgstr "" msgid "All data in this workspace has been permanently deleted." msgstr "" -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "" @@ -41,7 +41,7 @@ msgstr "" msgid "has invited you to join a workspace called " msgstr "" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "" @@ -61,19 +61,19 @@ msgstr "" msgid "Join your team on Twenty" msgstr "" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "" @@ -81,7 +81,7 @@ msgstr "" msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "" -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "" @@ -89,7 +89,7 @@ msgstr "" #~ msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}.<0/><1/>If you did not initiate this change, please contact your workspace owner immediately." #~ msgstr "" -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "" @@ -97,7 +97,7 @@ msgstr "" #~ msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:<0/>" #~ msgstr "" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "" diff --git a/packages/twenty-emails/src/locales/pt-BR.po b/packages/twenty-emails/src/locales/pt-BR.po index e9bc9b7fae69..feb63ed4b6ec 100644 --- a/packages/twenty-emails/src/locales/pt-BR.po +++ b/packages/twenty-emails/src/locales/pt-BR.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "Aceitar convite" msgid "All data in this workspace has been permanently deleted." msgstr "Todos os dados desse espaço de trabalho foram excluídos permanentemente." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Confirme seu endereço de e-mail" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Conecte-se ao Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Prezado" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Prezado {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "Se você não iniciou essa alteração, entre em contato com o proprietário do espaço de trabalho imediatamente." @@ -51,19 +51,19 @@ msgstr "Parece que seu espaço de trabalho <0>{workspaceDisplayName} foi sus msgid "Join your team on Twenty" msgstr "Junte-se à sua equipe no Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Senha atualizada" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Redefinir" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Redefinir sua senha 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Obrigado por registrar uma conta no Twenty! Antes de começarmos, precisamos confirmar que este é você. Clique acima para verificar seu endereço de e-mail." @@ -71,15 +71,15 @@ msgstr "Obrigado por registrar uma conta no Twenty! Antes de começarmos, precis msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "O espaço de trabalho será desativado em {remainingDays} {dayOrDays}, e todos os seus dados serão excluídos." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "Esta é uma confirmação de que a senha de sua conta ({email}) foi alterada com sucesso em {formattedDate}." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "Esse link é válido somente para o próximo {duration}. Se o link não funcionar, você poderá usar o link de verificação de login diretamente:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "Verificar e-mail" diff --git a/packages/twenty-emails/src/locales/pt-PT.po b/packages/twenty-emails/src/locales/pt-PT.po index 5ad10370656d..c01e9e5800ae 100644 --- a/packages/twenty-emails/src/locales/pt-PT.po +++ b/packages/twenty-emails/src/locales/pt-PT.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "Aceitar convite" msgid "All data in this workspace has been permanently deleted." msgstr "Todos os dados deste espaço de trabalho foram permanentemente eliminados." -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "Confirmar o seu endereço de correio eletrónico" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "Ligar ao Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "Caro" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "Caro {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "Se não foi você que iniciou esta alteração, contacte imediatamente o proprietário do seu espaço de trabalho." @@ -51,19 +51,19 @@ msgstr "Parece que o seu espaço de trabalho <0>{workspaceDisplayName} foi s msgid "Join your team on Twenty" msgstr "Junte-se à sua equipa no Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "Palavra-passe actualizada" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "Reiniciar" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "Repor a sua palavra-passe 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "Obrigado por se ter registado para uma conta no Twenty! Antes de começarmos, só precisamos de confirmar que é você. Clique acima para verificar o seu endereço de e-mail." @@ -71,15 +71,15 @@ msgstr "Obrigado por se ter registado para uma conta no Twenty! Antes de começa msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "O espaço de trabalho será desativado em {remainingDays} {dayOrDays} e todos os seus dados serão eliminados." -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "Esta é uma confirmação de que a palavra-passe da sua conta ({email}) foi alterada com sucesso em {formattedDate}." -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "Esta hiperligação só é válida para o próximo {duration}. Se a ligação não funcionar, pode utilizar diretamente a ligação de verificação de início de sessão:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "Verificar o correio eletrónico" diff --git a/packages/twenty-emails/src/locales/zh-Hans.po b/packages/twenty-emails/src/locales/zh-Hans.po index 8d5491cc1594..62ff1261cac2 100644 --- a/packages/twenty-emails/src/locales/zh-Hans.po +++ b/packages/twenty-emails/src/locales/zh-Hans.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "接受邀请" msgid "All data in this workspace has been permanently deleted." msgstr "该工作区中的所有数据已被永久删除。" -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "确认您的电子邮件地址" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "连接到 Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "亲爱的" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "亲爱的 {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "如果您没有启动此更改,请立即联系您的工作区所有者。" @@ -51,19 +51,19 @@ msgstr "您的工作区<0>{workspaceDisplayName}已被暂停 {daysSinceInact msgid "Join your team on Twenty" msgstr "加入您的团队,使用Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "密码已更新" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "重置" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "重置您的密码 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "感谢您在 Twenty 注册帐户!在开始之前,我们只需要确认是您本人。请点击上方验证您的电子邮件地址。" @@ -71,15 +71,15 @@ msgstr "感谢您在 Twenty 注册帐户!在开始之前,我们只需要确 msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "工作区将在 {remainingDays} {dayOrDays} 中停用,其所有数据将被删除。" -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "确认您的账户({email})密码已在 {formattedDate} 上成功更改。" -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "此链接仅对下 {duration} 次有效。如果链接无效,您可以直接使用登录验证链接:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "验证电子邮件" diff --git a/packages/twenty-emails/src/locales/zh-Hant.po b/packages/twenty-emails/src/locales/zh-Hant.po index bf427c2ab8da..7d77d5158015 100644 --- a/packages/twenty-emails/src/locales/zh-Hant.po +++ b/packages/twenty-emails/src/locales/zh-Hant.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-02-02 12:09+0100\n" +"POT-Creation-Date: 2025-02-02 12:37+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,23 +15,23 @@ msgstr "接受邀請" msgid "All data in this workspace has been permanently deleted." msgstr "该工作区中的所有数据已被永久删除。" -#: src/emails/send-email-verification-link.email.tsx:21 +#: src/emails/send-email-verification-link.email.tsx:22 msgid "Confirm your email address" msgstr "確認您的電子郵件地址" -#: src/emails/password-update-notify.email.tsx:45 +#: src/emails/password-update-notify.email.tsx:46 msgid "Connect to Twenty" msgstr "連接到 Twenty" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear" msgstr "親愛的" -#: src/emails/password-update-notify.email.tsx:23 +#: src/emails/password-update-notify.email.tsx:24 msgid "Dear {userName}" msgstr "親愛的 {userName}" -#: src/emails/password-update-notify.email.tsx:39 +#: src/emails/password-update-notify.email.tsx:40 msgid "If you did not initiate this change, please contact your workspace owner immediately." msgstr "如果您没有启动此更改,请立即联系您的工作区所有者。" @@ -51,19 +51,19 @@ msgstr "您的工作区<0>{workspaceDisplayName}已被暂停 {daysSinceInact msgid "Join your team on Twenty" msgstr "加入您的團隊,來 Twenty" -#: src/emails/password-update-notify.email.tsx:28 +#: src/emails/password-update-notify.email.tsx:29 msgid "Password updated" msgstr "密碼已更新" -#: src/emails/password-reset-link.email.tsx:23 +#: src/emails/password-reset-link.email.tsx:24 msgid "Reset" msgstr "重設" -#: src/emails/password-reset-link.email.tsx:22 +#: src/emails/password-reset-link.email.tsx:23 msgid "Reset your password 🗝" msgstr "重設您的密碼 🗝" -#: src/emails/send-email-verification-link.email.tsx:26 +#: src/emails/send-email-verification-link.email.tsx:27 msgid "Thanks for registering for an account on Twenty! Before we get started, we just need to confirm that this is you. Click above to verify your email address." msgstr "感謝您在 Twenty 註冊帳戶!在開始之前,我們需要確認這是您。請點擊以上鏈接以驗證您的電子郵件地址。" @@ -71,15 +71,15 @@ msgstr "感謝您在 Twenty 註冊帳戶!在開始之前,我們需要確認 msgid "The workspace will be deactivated in {remainingDays} {dayOrDays}, and all its data will be deleted." msgstr "工作区将在 {remainingDays} {dayOrDays} 中停用,其所有数据将被删除。" -#: src/emails/password-update-notify.email.tsx:33 +#: src/emails/password-update-notify.email.tsx:34 msgid "This is a confirmation that password for your account ({email}) was successfully changed on {formattedDate}." msgstr "确认您的账户({email})密码已在 {formattedDate} 上成功更改。" -#: src/emails/password-reset-link.email.tsx:25 +#: src/emails/password-reset-link.email.tsx:26 msgid "This link is only valid for the next {duration}. If the link does not work, you can use the login verification link directly:" msgstr "此链接仅对下 {duration} 次有效。如果链接无效,您可以直接使用登录验证链接:" -#: src/emails/send-email-verification-link.email.tsx:22 +#: src/emails/send-email-verification-link.email.tsx:23 msgid "Verify Email" msgstr "驗證電子郵件" diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts index 820e9abfc6eb..4187b89062a7 100644 --- a/packages/twenty-front/src/generated-metadata/graphql.ts +++ b/packages/twenty-front/src/generated-metadata/graphql.ts @@ -492,6 +492,7 @@ export enum FeatureFlagKey { IsLocalizationEnabled = 'IsLocalizationEnabled', IsMicrosoftSyncEnabled = 'IsMicrosoftSyncEnabled', IsNewRelationEnabled = 'IsNewRelationEnabled', + IsPermissionsEnabled = 'IsPermissionsEnabled', IsPostgreSQLIntegrationEnabled = 'IsPostgreSQLIntegrationEnabled', IsRichTextV2Enabled = 'IsRichTextV2Enabled', IsStripeIntegrationEnabled = 'IsStripeIntegrationEnabled', diff --git a/packages/twenty-front/src/generated/graphql.tsx b/packages/twenty-front/src/generated/graphql.tsx index 68a32ae2b476..cddf23662b92 100644 --- a/packages/twenty-front/src/generated/graphql.tsx +++ b/packages/twenty-front/src/generated/graphql.tsx @@ -1,5 +1,5 @@ -import * as Apollo from '@apollo/client'; import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; @@ -217,6 +217,11 @@ export type BooleanFieldComparison = { isNot?: InputMaybe; }; +export type BuildDraftServerlessFunctionInput = { + /** The id of the function. */ + id: Scalars['ID']; +}; + export enum CalendarChannelVisibility { METADATA = 'METADATA', SHARE_EVERYTHING = 'SHARE_EVERYTHING' @@ -689,6 +694,7 @@ export type Mutation = { activateWorkflowVersion: Scalars['Boolean']; activateWorkspace: Workspace; authorizeApp: AuthorizeApp; + buildDraftServerlessFunction: ServerlessFunction; checkoutSession: BillingSessionOutput; computeStepOutputSchema: Scalars['JSON']; createDraftFromWorkflowVersion: WorkflowVersion; @@ -763,6 +769,11 @@ export type MutationAuthorizeAppArgs = { }; +export type MutationBuildDraftServerlessFunctionArgs = { + input: BuildDraftServerlessFunctionInput; +}; + + export type MutationCheckoutSessionArgs = { plan?: BillingPlanKey; recurringInterval: SubscriptionInterval; @@ -1444,6 +1455,7 @@ export type ServerlessFunctionExecutionResult = { /** Status of the serverless function execution */ export enum ServerlessFunctionExecutionStatus { ERROR = 'ERROR', + IDLE = 'IDLE', SUCCESS = 'SUCCESS' } @@ -1454,6 +1466,7 @@ export type ServerlessFunctionIdInput = { /** SyncStatus of the serverlessFunction */ export enum ServerlessFunctionSyncStatus { + BUILDING = 'BUILDING', NOT_READY = 'NOT_READY', READY = 'READY' } @@ -3211,7 +3224,7 @@ export type SignUpMutationHookResult = ReturnType; export type SignUpMutationResult = Apollo.MutationResult; export type SignUpMutationOptions = Apollo.BaseMutationOptions; export const UpdatePasswordViaResetTokenDocument = gql` - mutation UpdatePasswordViaResetToken($token: String!, $newPassword: String!, $locale: String!) { + mutation UpdatePasswordViaResetToken($token: String!, $newPassword: String!) { updatePasswordViaResetToken( passwordResetToken: $token newPassword: $newPassword diff --git a/packages/twenty-front/src/modules/users/components/UserProviderEffect.tsx b/packages/twenty-front/src/modules/users/components/UserProviderEffect.tsx index 94f1b45696b5..35df5c1ab2b0 100644 --- a/packages/twenty-front/src/modules/users/components/UserProviderEffect.tsx +++ b/packages/twenty-front/src/modules/users/components/UserProviderEffect.tsx @@ -16,7 +16,7 @@ import { detectTimeZone } from '@/localization/utils/detectTimeZone'; import { getDateFormatFromWorkspaceDateFormat } from '@/localization/utils/getDateFormatFromWorkspaceDateFormat'; import { getTimeFormatFromWorkspaceTimeFormat } from '@/localization/utils/getTimeFormatFromWorkspaceTimeFormat'; import { ColorScheme } from '@/workspace-member/types/WorkspaceMember'; -import { isDefined } from 'twenty-shared'; +import { APP_LOCALES, isDefined } from 'twenty-shared'; import { WorkspaceMember } from '~/generated-metadata/graphql'; import { useGetCurrentUserQuery } from '~/generated/graphql'; import { dynamicActivate } from '~/utils/i18n/dynamicActivate'; @@ -70,7 +70,7 @@ export const UserProviderEffect = () => { return { ...workspaceMember, colorScheme: (workspaceMember.colorScheme as ColorScheme) ?? 'Light', - locale: workspaceMember.locale ?? 'en', + locale: (workspaceMember.locale as keyof typeof APP_LOCALES) ?? 'en', }; }; @@ -93,7 +93,9 @@ export const UserProviderEffect = () => { : TimeFormat[detectTimeFormat()], }); - dynamicActivate(workspaceMember.locale ?? 'en'); + dynamicActivate( + (workspaceMember.locale as keyof typeof APP_LOCALES) ?? 'en', + ); } if (isDefined(workspaceMembers)) { diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/LocalePicker.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/LocalePicker.tsx index 2263e22a5f3c..651dcd21d87f 100644 --- a/packages/twenty-front/src/pages/settings/profile/appearance/components/LocalePicker.tsx +++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/LocalePicker.tsx @@ -51,7 +51,7 @@ export const LocalePicker = () => { if (!isDefined(currentWorkspaceMember)) return; - const handleLocaleChange = async (value: string) => { + const handleLocaleChange = async (value: keyof typeof APP_LOCALES) => { setCurrentWorkspaceMember({ ...currentWorkspaceMember, ...{ locale: value }, @@ -126,7 +126,9 @@ export const LocalePicker = () => { fullWidth value={i18n.locale} options={localeOptions} - onChange={(value) => handleLocaleChange(value)} + onChange={(value) => + handleLocaleChange(value as keyof typeof APP_LOCALES) + } /> ); diff --git a/packages/twenty-front/src/utils/i18n/dynamicActivate.ts b/packages/twenty-front/src/utils/i18n/dynamicActivate.ts index d2b0e0477f1b..b384f60cab3a 100644 --- a/packages/twenty-front/src/utils/i18n/dynamicActivate.ts +++ b/packages/twenty-front/src/utils/i18n/dynamicActivate.ts @@ -1,6 +1,7 @@ import { i18n } from '@lingui/core'; +import { APP_LOCALES } from 'twenty-shared'; -export const dynamicActivate = async (locale: string) => { +export const dynamicActivate = async (locale: keyof typeof APP_LOCALES) => { const { messages } = await import(`../../locales/generated/${locale}.ts`); i18n.load(locale, messages); i18n.activate(locale); diff --git a/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts b/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts index 040f2ac20dfe..d5ba7fcadd2a 100644 --- a/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts +++ b/packages/twenty-server/src/engine/core-modules/auth/services/auth.service.ts @@ -7,6 +7,7 @@ import { render } from '@react-email/render'; import { addMilliseconds } from 'date-fns'; import ms from 'ms'; import { PasswordUpdateNotifyEmail } from 'twenty-emails'; +import { APP_LOCALES } from 'twenty-shared'; import { Repository } from 'typeorm'; import { NodeEnvironment } from 'src/engine/core-modules/environment/interfaces/node-environment.interface'; @@ -379,7 +380,7 @@ export class AuthService { async updatePassword( userId: string, newPassword: string, - locale: string, + locale: keyof typeof APP_LOCALES, ): Promise { if (!userId) { throw new AuthException( diff --git a/packages/twenty-server/src/engine/core-modules/auth/services/reset-password.service.ts b/packages/twenty-server/src/engine/core-modules/auth/services/reset-password.service.ts index 00c86ca03ebc..4d016878e976 100644 --- a/packages/twenty-server/src/engine/core-modules/auth/services/reset-password.service.ts +++ b/packages/twenty-server/src/engine/core-modules/auth/services/reset-password.service.ts @@ -7,6 +7,7 @@ import { render } from '@react-email/render'; import { addMilliseconds, differenceInMilliseconds } from 'date-fns'; import ms from 'ms'; import { PasswordResetLinkEmail } from 'twenty-emails'; +import { APP_LOCALES } from 'twenty-shared'; import { IsNull, MoreThan, Repository } from 'typeorm'; import { @@ -106,7 +107,7 @@ export class ResetPasswordService { async sendEmailPasswordResetLink( resetToken: PasswordResetToken, email: string, - locale: string, + locale: keyof typeof APP_LOCALES, ): Promise { const user = await this.userRepository.findOneBy({ email, diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.service.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.service.ts index be24cc14f942..b15c0492c4a7 100644 --- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.service.ts +++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.service.ts @@ -4,7 +4,7 @@ import { InjectDataSource, InjectRepository } from '@nestjs/typeorm'; import { i18n } from '@lingui/core'; import { TypeOrmQueryService } from '@ptc-org/nestjs-query-typeorm'; import isEmpty from 'lodash.isempty'; -import { FieldMetadataType, isDefined } from 'twenty-shared'; +import { APP_LOCALES, FieldMetadataType, isDefined } from 'twenty-shared'; import { DataSource, FindOneOptions, Repository } from 'typeorm'; import { v4 as uuidV4, v4 } from 'uuid'; @@ -778,7 +778,7 @@ export class FieldMetadataService extends TypeOrmQueryService { if (fieldMetadata.isCustom) { return fieldMetadata[labelKey] ?? ''; diff --git a/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts b/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts index 7891470f10ae..1f9c214d30d2 100644 --- a/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts +++ b/packages/twenty-server/src/modules/workspace-member/standard-objects/workspace-member.workspace-entity.ts @@ -1,7 +1,7 @@ import { registerEnumType } from '@nestjs/graphql'; import { msg } from '@lingui/core/macro'; -import { FieldMetadataType } from 'twenty-shared'; +import { APP_LOCALES, FieldMetadataType } from 'twenty-shared'; import { Relation } from 'src/engine/workspace-manager/workspace-sync-metadata/interfaces/relation.interface'; @@ -109,7 +109,7 @@ export class WorkspaceMemberWorkspaceEntity extends BaseWorkspaceEntity { icon: 'IconLanguage', defaultValue: "'en'", }) - locale: string; + locale: keyof typeof APP_LOCALES; @WorkspaceField({ standardId: WORKSPACE_MEMBER_STANDARD_FIELD_IDS.avatarUrl,