Compare commits

...

3 Commits

Author SHA1 Message Date
Simon a6c0e2e248 feat: Update breadcrumb with home translate
continuous-integration/drone/push Build is passing Details
2024-03-14 11:13:26 +01:00
Simon 3cfa780e5e chore: Import layout for breadcrumb 2024-03-14 11:13:00 +01:00
Simon cac6f72f43 feat: Add french translate 2024-03-14 11:12:05 +01:00
2 changed files with 58 additions and 0 deletions

54
i18n/fr.toml Normal file
View File

@ -0,0 +1,54 @@
[404_text]
other = "La page que vous recherchez n'existe pas ou a été déplacée."
[404_title]
other = "Page non trouvée :("
[browse]
other = "Parcourir"
[chapter_next]
other = "Suivant"
[chapter_previous]
other = "Précédent"
[edit_page]
other = "Modifiez cette page sur"
[get_started]
other = "Exemple de guide"
[home]
other = "Accueil"
[last_updated]
other = "Dernière mise à jour le"
[minute]
one = "minute"
other = "minutes"
[on_this_page]
other = "Sommaire"
[reading_time]
other = "Temps de lecture estimé"
[search_loading]
other = "Chargement de l'index de recherche…"
[search_no_recent]
other = "Aucune recherche récente"
[search_no_results]
other = "Aucun résultat"
[search_placeholder]
other = "Recherche"
[search_title]
other = "Recherche"
[video_unsupported]
other = "Votre navigateur ne prend pas en charge les vidéos intégrées, mais ne vous inquiétez pas, vous pouvez la <a href=\"{{ .RelPermalink }}\">télécharger</a> et la regarder avec votre lecteur vidéo préféré !"

View File

@ -0,0 +1,4 @@
{{ with .Parent -}}
{{ partial "main/breadcrumb.html" . -}}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ if .IsHome }}{{ i18n "home" }}{{ else if eq .CurrentSection .FirstSection }}{{ .Section | humanize }}{{ else }}{{ .Title }}{{ end }}</a></li>
{{ end -}}