From ceb1c686d0bdb53af57bd5878ed6b6ab6b47c751 Mon Sep 17 00:00:00 2001 From: simon-debruijn Date: Wed, 11 Dec 2024 13:58:48 +0100 Subject: [PATCH] Add translations no results --- src/i18n/de.json | 1 + src/i18n/fr.json | 1 + src/i18n/nl.json | 1 + .../organizers/[organizerId]/ownerships/OwnershipsTable.tsx | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i18n/de.json b/src/i18n/de.json index 91ad8e018..62f774c38 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -1054,6 +1054,7 @@ "owners": "Verwalter", "table": { "user": "Benutzer", + "no_results": "Keine Ergebnisse gefunden", "actions": { "title": "Aktionen", "approve": "Genehmigen", diff --git a/src/i18n/fr.json b/src/i18n/fr.json index d5c5638b5..d7f17e835 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -1054,6 +1054,7 @@ "owners": "Gestionnaires", "table": { "user": "Utilisateur", + "no_results": "Aucun résultat trouvé", "actions": { "title": "Actions", "approve": "Approuver", diff --git a/src/i18n/nl.json b/src/i18n/nl.json index ece9b875b..4fae64445 100644 --- a/src/i18n/nl.json +++ b/src/i18n/nl.json @@ -1054,6 +1054,7 @@ "owners": "Beheerders", "table": { "user": "Gebruiker", + "no_results": "Geen resultaten gevonden", "actions": { "title": "Acties", "approve": "Goedkeuren", diff --git a/src/pages/organizers/[organizerId]/ownerships/OwnershipsTable.tsx b/src/pages/organizers/[organizerId]/ownerships/OwnershipsTable.tsx index 6cec2607a..7deb10d31 100644 --- a/src/pages/organizers/[organizerId]/ownerships/OwnershipsTable.tsx +++ b/src/pages/organizers/[organizerId]/ownerships/OwnershipsTable.tsx @@ -96,7 +96,7 @@ export const OwnershipsTable = ({ ); if (requests.length === 0) { - return no results; + return {t('organizers.ownerships.table.no_results')}; } return (