From 408822ab7fbe5ff1e8c681944f23afd078c6b910 Mon Sep 17 00:00:00 2001 From: vlalx <143875984+vlalx@users.noreply.github.com> Date: Fri, 9 May 2025 20:03:32 +0300 Subject: [PATCH] Fix missed translation keys --- messages/de-DE.json | 1 + messages/en-US.json | 3 ++- messages/fr-FR.json | 3 ++- messages/it-IT.json | 3 ++- messages/pl-PL.json | 3 ++- messages/pt-PT.json | 3 ++- messages/tr-TR.json | 1 + .../settings/access/invitations/InvitationsTable.tsx | 6 +++--- 8 files changed, 15 insertions(+), 8 deletions(-) diff --git a/messages/de-DE.json b/messages/de-DE.json index b0709526..735d4ba5 100644 --- a/messages/de-DE.json +++ b/messages/de-DE.json @@ -382,4 +382,5 @@ "inviteValidityPeriodSelect": "Gültigkeitszeitraum auswählen", "inviteRegenerateMessage": "Die Einladung wurde neu generiert. Der Benutzer muss den untenstehenden Link aufrufen, um die Einladung anzunehmen.", "inviteRegenerateButton": "Neu generieren", + "expiresAt": "Läuft ab am" } diff --git a/messages/en-US.json b/messages/en-US.json index b569248f..d51ed9e1 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -381,5 +381,6 @@ "inviteValidityPeriod": "Validity Period", "inviteValidityPeriodSelect": "Select validity period", "inviteRegenerateMessage": "The invitation has been regenerated. The user must access the link below to accept the invitation.", - "inviteRegenerateButton": "Regenerate" + "inviteRegenerateButton": "Regenerate", + "expiresAt": "Expires At" } diff --git a/messages/fr-FR.json b/messages/fr-FR.json index 8aceedcd..4d6bf660 100644 --- a/messages/fr-FR.json +++ b/messages/fr-FR.json @@ -381,5 +381,6 @@ "inviteValidityPeriod": "Période de validité", "inviteValidityPeriodSelect": "Sélectionner la période de validité", "inviteRegenerateMessage": "L'invitation a été régénérée. L'utilisateur doit accéder au lien ci-dessous pour accepter l'invitation.", - "inviteRegenerateButton": "Régénérer" + "inviteRegenerateButton": "Régénérer", + "expiresAt": "Expire le" } diff --git a/messages/it-IT.json b/messages/it-IT.json index fd5852ef..9ff0ea63 100644 --- a/messages/it-IT.json +++ b/messages/it-IT.json @@ -381,5 +381,6 @@ "inviteValidityPeriod": "Periodo di Validità", "inviteValidityPeriodSelect": "Seleziona periodo di validità", "inviteRegenerateMessage": "L'invito è stato rigenerato. L'utente deve accedere al link qui sotto per accettare l'invito.", - "inviteRegenerateButton": "Rigenera" + "inviteRegenerateButton": "Rigenera", + "expiresAt": "Scade Il" } diff --git a/messages/pl-PL.json b/messages/pl-PL.json index e3bd8550..81febe99 100644 --- a/messages/pl-PL.json +++ b/messages/pl-PL.json @@ -381,5 +381,6 @@ "inviteValidityPeriod": "Okres ważności", "inviteValidityPeriodSelect": "Wybierz okres ważności", "inviteRegenerateMessage": "Zaproszenie zostało ponownie wygenerowane. Użytkownik musi uzyskać dostęp do poniższego linku, aby zaakceptować zaproszenie.", - "inviteRegenerateButton": "Wygeneruj ponownie" + "inviteRegenerateButton": "Wygeneruj ponownie", + "expiresAt": "Wygasa w dniu" } diff --git a/messages/pt-PT.json b/messages/pt-PT.json index 555a2a33..639cb954 100644 --- a/messages/pt-PT.json +++ b/messages/pt-PT.json @@ -381,5 +381,6 @@ "inviteValidityPeriod": "Período de Validade", "inviteValidityPeriodSelect": "Selecione o período de validade", "inviteRegenerateMessage": "O convite foi regenerado. O usuário deve acessar o link abaixo para aceitar o convite.", - "inviteRegenerateButton": "Regenerar" + "inviteRegenerateButton": "Regenerar", + "expiresAt": "Expira em" } diff --git a/messages/tr-TR.json b/messages/tr-TR.json index dd638953..d51ed9e1 100644 --- a/messages/tr-TR.json +++ b/messages/tr-TR.json @@ -382,4 +382,5 @@ "inviteValidityPeriodSelect": "Select validity period", "inviteRegenerateMessage": "The invitation has been regenerated. The user must access the link below to accept the invitation.", "inviteRegenerateButton": "Regenerate", + "expiresAt": "Expires At" } diff --git a/src/app/[orgId]/settings/access/invitations/InvitationsTable.tsx b/src/app/[orgId]/settings/access/invitations/InvitationsTable.tsx index 5a48646d..3c939c9d 100644 --- a/src/app/[orgId]/settings/access/invitations/InvitationsTable.tsx +++ b/src/app/[orgId]/settings/access/invitations/InvitationsTable.tsx @@ -84,11 +84,11 @@ export default function InvitationsTable({ }, { accessorKey: "email", - header: "Email" + header: t('email') }, { accessorKey: "expiresAt", - header: "Expires At", + header: t('expiresAt'), cell: ({ row }) => { const expiresAt = new Date(row.original.expiresAt); const isExpired = expiresAt < new Date(); @@ -102,7 +102,7 @@ export default function InvitationsTable({ }, { accessorKey: "role", - header: "Role" + header: t('role') } ];