Permalink
Browse files

French translation (#102)

This commit adds a French translation to the theme, and fixes a
non-translated string in the blog navigation bar.
  • Loading branch information...
emembrives authored and hanzei committed Nov 8, 2018
1 parent 1b84a1d commit 91fbea13508ca242ab5c0db80e11de22e371891e
Showing with 26 additions and 1 deletion.
  1. +25 −0 i18n/fr.toml
  2. +1 −1 layouts/partials/nav.html
View
@@ -0,0 +1,25 @@
[404_title]
other = "404"
[404_description]
other = "Oups ! Vous avez soit trouvé un bug{{ with .Site.Params.email }} (auquel cas, [dites-le moi](mailto:{{ . }})) {{ end }} ou vous vous imaginez des choses. Cette page n'existe pas !"
[index_projects_allProjects]
other = "Tous les projets"
[index_blog_latestPosts]
other = "Dernier article"
[index_blog_allPosts]
other = "Tous les articles"
[index_blog_readMore]
other = "Lire la suite"
[index_currentTime]
other = "Mon heure locale est"
[nav_backToSection]
other = "Retour à {{ .Title }}"
[nav_main]
other = "Accueil"
[blog_readingTime]
one = "{{ .Count }} minute de lecture"
other = "{{ .Count }} minutes de lecture"
[blog_shareThis]
other = "Partagez"
[footer_text]
other = "Thème [**Introduction**](https://github.com/vickylai/hugo-theme-introduction/) pour [Hugo](http://gohugo.io/). Fait avec [<i class=\"fa fa-heart\"></i> et <i class=\"fa fa-coffee\"></i>](https://vickylai.com) par des contributeurs open-source."
@@ -74,7 +74,7 @@
{{ else }}
<a class="navbar-item" href="{{ .Permalink }}">
{{ if $pageIsInBlog }}
Back to {{ .Title | singularize}}
{{ i18n "nav_backToSection" . }}
{{ else }}
{{ .Title | singularize}}
{{ end }}

0 comments on commit 91fbea1

Please sign in to comment.