diff --git a/Gemfile b/Gemfile index ed6986b36..4bd9725ce 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem 'rouge', '1.11.1' gem 'jekyll-feed', '0.9.2' gem 'scss_lint', require: false gem 'elevenlabs-amp-jekyll', '1.1' -gem 'jekyll-multiple-languages-plugin', '1.5.1' +gem 'jekyll-multiple-languages-plugin', :git => "git://github.com/eko/jekyll-multiple-languages-plugin.git" group :test do gem 'rake' diff --git a/_i18n/en.yml b/_i18n/en.yml index 16c9459b2..419aecf9c 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -7,4 +7,10 @@ global: prev: Previous continue_reading: Read article newsletter_subscribe: Subscribe to our newsletter! - search_input: Search \ No newline at end of file + search_input: Search +authors: + by: by + and: and + from_same_author: "From the same author:" +reading: + time: "Reading time:" \ No newline at end of file diff --git a/_i18n/fr.yml b/_i18n/fr.yml index 2cc6ba833..3cdea736a 100644 --- a/_i18n/fr.yml +++ b/_i18n/fr.yml @@ -7,4 +7,10 @@ global: prev: Précédent continue_reading: Lire l'article newsletter_subscribe: Abonnez-vous à notre newsletter ! - search_input: Rechercher \ No newline at end of file + search_input: Rechercher +authors: + by: par + and: et + from_same_author: "Du même auteur :" +reading: + time: "Lecture :" \ No newline at end of file diff --git a/_includes/author_link.html b/_includes/author_link.html index 5812ac61a..d00c45aa9 100644 --- a/_includes/author_link.html +++ b/_includes/author_link.html @@ -1,5 +1,5 @@ -- par +- {% translate authors.by %} {% for author in include.authors %} {% assign isFirstAuthor = forloop.first %} @@ -9,11 +9,11 @@ {% if existingAuthor.login == author %} {% if isFirstAuthor %} {% elsif isLastAuthor %} - et + {% translate authors.and %} {% else %} , {% endif %} - {{ existingAuthor.title }} + {{ existingAuthor.title }} {% endif %} {% endfor %} {% endfor %} diff --git a/_includes/header.html b/_includes/header.html index 9b2bdca47..b5ca0745c 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -18,8 +18,8 @@

{% assign link = language %} {% endif %}
  • - - {{ language }} + + {{ language }}
  • {% endif %} diff --git a/_includes/reading_time.html b/_includes/reading_time.html index 570cdbe14..56e7df3d2 100644 --- a/_includes/reading_time.html +++ b/_includes/reading_time.html @@ -1,8 +1,8 @@ {% assign words = include.content | number_of_words %} {% if words < 360 %} - lecture: 1 min + {% translate reading.time %} 1 min {% else %} - lecture: {{ words | divided_by:180 }} mins + {% translate reading.time %} {{ words | divided_by:180 }} mins {% endif %} diff --git a/_layouts/author.html b/_layouts/author.html index eec1dd7e8..32c641035 100644 --- a/_layouts/author.html +++ b/_layouts/author.html @@ -22,7 +22,7 @@

    {{ page.title }}

    -

    Du même auteur :

    +

    {% translate authors.from_same_author %}