From 3bd936387980d3607347b5c8339f21c68fa0699c Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 31 Jan 2025 13:32:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=EF=B8=8F(frontend)=20add=20link=20?= =?UTF-8?q?to=20the=20source=20code=20in=20the=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Great idea suggested by @fflorent — totally worth it! --- src/frontend/src/layout/Footer.tsx | 13 ++++++++++++- src/frontend/src/locales/de/global.json | 3 ++- src/frontend/src/locales/en/global.json | 3 ++- src/frontend/src/locales/fr/global.json | 3 ++- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/layout/Footer.tsx b/src/frontend/src/layout/Footer.tsx index 95d128ec..ff17d349 100644 --- a/src/frontend/src/layout/Footer.tsx +++ b/src/frontend/src/layout/Footer.tsx @@ -242,7 +242,7 @@ export const Footer = () => { {t('links.data')} - + { {t('links.accessibility')} + + + {t('links.code')} + + {t('mentions')}{' '} diff --git a/src/frontend/src/locales/de/global.json b/src/frontend/src/locales/de/global.json index 6c7fe7ce..11c2779a 100644 --- a/src/frontend/src/locales/de/global.json +++ b/src/frontend/src/locales/de/global.json @@ -34,7 +34,8 @@ "legalsTerms": "", "data": "", "accessibility": "", - "ariaLabel": "" + "ariaLabel": "", + "code": "" }, "mentions": "", "license": "" diff --git a/src/frontend/src/locales/en/global.json b/src/frontend/src/locales/en/global.json index bdfab78b..11316ff5 100644 --- a/src/frontend/src/locales/en/global.json +++ b/src/frontend/src/locales/en/global.json @@ -34,7 +34,8 @@ "legalsTerms": "Legal Notice", "data": "Personal Data and Cookies", "accessibility": "Accessibility: audit in progress", - "ariaLabel": "new window" + "ariaLabel": "new window", + "code": "Open Source Code Repository" }, "mentions": "Unless otherwise stated, the contents of this site are available under", "license": "etalab 2.0 license" diff --git a/src/frontend/src/locales/fr/global.json b/src/frontend/src/locales/fr/global.json index 95877f37..15424a3b 100644 --- a/src/frontend/src/locales/fr/global.json +++ b/src/frontend/src/locales/fr/global.json @@ -34,7 +34,8 @@ "legalsTerms": "Mentions légales", "data": "Données personnelles et cookie", "accessibility": "Accessibilités : audit en cours", - "ariaLabel": "nouvelle fenêtre" + "ariaLabel": "nouvelle fenêtre", + "code": "Dépôt de code Open Source" }, "mentions": "Sauf mention contraire, les contenus de ce site sont disponibles sous", "license": "licence etalab 2.0"