From 4488dc8fead240999a2d108dd9bbaa24e6df5df5 Mon Sep 17 00:00:00 2001 From: Boyd Kelly Date: Thu, 2 Sep 2021 23:06:41 +0000 Subject: [PATCH 1/5] add i18n/fr.yaml for multilingual support --- i18n/en.yaml | 5 +++++ i18n/fr.yaml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 i18n/fr.yaml diff --git a/i18n/en.yaml b/i18n/en.yaml index 4c0762c..ef7cb53 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -27,3 +27,8 @@ # Footer - id: poweredBy translation: 'This page was built with Hugo {{ . }} using the Hugo port of the Antora default UI. The source code for this UI is licensed under the terms of the Mozilla Public License, Version 2.0 (MPL-2.0).' + + +# Taxo +- id: categories + translation: catégories diff --git a/i18n/fr.yaml b/i18n/fr.yaml new file mode 100644 index 0000000..3218141 --- /dev/null +++ b/i18n/fr.yaml @@ -0,0 +1,34 @@ +# Content +- id: contents + translation: "Sur cette page..." +- id: continueReading + translation: "Poursuivre la lecture “{{ . }}” …" +- id: dateFormat + translation: "January 2, 2006" +- id: editThisPage + translation: "Editer cette page" +- id: in + translation: "en" +- id: lastModified + translation: "(Modifié le {{ . }})" +- id: postedOnDate + translation: "Enrégistré le {{ . }}" +- id: taggedWith + translation: "Marqué par" + + +# 404 page +- id: pageNotFoundLink + translation: 'Cette page n’existe pas. Elle se trouve probablement ailleurs sur le site. Vous pouvez soit retourner à la page d’acceuil ou bien suivre les liens de navigation à gauche.' +- id: pageNotFoundAction + translation: 'Si vous êtes arrivé ici en cliquant sur un lien, Veuillez avertir le propriétaire du site que le lien est brisé. Si vous avez tapé le lien manuellement veuillez vérifiez que vous l’avez saisi correctement.' + + +# Footer +- id: poweredBy + translation: 'Cette page a été construit avec Hugo {{ . }} et le port Hugo de Antora default UI. Ce code est publié sous les termes de Mozilla Public License, Version 2.0 (MPL-2.0).' + + +# Taxo +- id: categories + translation: catégories From 48a8955224d391d143383b8995ce54dffdc6d7b3 Mon Sep 17 00:00:00 2001 From: Boyd Kelly Date: Thu, 2 Sep 2021 23:08:39 +0000 Subject: [PATCH 2/5] fix contents typo for toc i18 support --- layouts/partials/toc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index 7b1131e..74b55e7 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,3 +1,3 @@ -