diff --git a/assets/sass/_theme/utils/sidebar.sass b/assets/sass/_theme/utils/sidebar.sass index fe11c737a7ad89284c949111a4a194860e43d84e..f82412c80a332579506a57dbbbb95ba1930a1ac4 100644 --- a/assets/sass/_theme/utils/sidebar.sass +++ b/assets/sass/_theme/utils/sidebar.sass @@ -63,7 +63,6 @@ position: static margin-left: 0 - // Utilisé dans .post-infos, et project-infos @mixin section__page-infos @include meta diff --git a/i18n/en.yml b/i18n/en.yml index 6d6226dd66650b1af96890d622c052fad30bb246..431275af953a92926f34a239cf9d3f20800d284a 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -4,7 +4,9 @@ blocks: categories: title: Catégories items: - count: "{{ .Count }} articles" + count: + one: "1 article" + other: "{{ .Count }} articles" chapter: title: Chapter contact: @@ -52,6 +54,7 @@ blocks: play: Play video categories: no_post: No post in this category + no_project: No project in this category see_more: one: See the post other: See the {{ .Count }} posts diff --git a/i18n/fr.yml b/i18n/fr.yml index 2310394f31e43551b46888f61ae2a1df54611949..50a84f11eab8a769f344086166e89f4b28ab96df 100644 --- a/i18n/fr.yml +++ b/i18n/fr.yml @@ -54,6 +54,7 @@ blocks: play: Lancer la vidéo categories: no_post: Aucun article dans cette catégorie + no_project: Aucun projet dans cette catégorie see_more: one: Voir l'article other: Voir les {{ .Count }} articles @@ -231,6 +232,25 @@ posts: share: Partager sur share_aria: Partager sur “{{ .Title }}†- lien externe title: Actualités + +projects: + author: Auteur·rice + category: + one: Catégorie + other: Catégories + date: Date + informations: Informations + next: Projet suivant + next_aria: Projet suivant “{{ .Title }}†+ previous: Projet précédent + previous_aria: Projet précédent “{{ .Title }}†+ reading_time: Temps de lecture + see_all: Voir toutes les projets + see_all_in_program: Voir toutes les projets de la formation + see_all_in_category: Voir toutes les projets “{{ .Title }}†+ share: Partager sur + share_aria: Partager sur “{{ .Title }}†- lien externe + title: Projets programs: accessibility: Accessibilité administrative_information: Informations administratives diff --git a/layouts/partials/projects/projects.html b/layouts/partials/projects/projects.html index 2855b74e8beee14b403f926e2d72dd730ae83dc5..bfce05b018c0d2059cba468af1ef26bfbfa5625d 100644 --- a/layouts/partials/projects/projects.html +++ b/layouts/partials/projects/projects.html @@ -1,6 +1,6 @@ <div class="projects projects--{{- site.Params.projects.index.layout -}}"> {{ if not .Pages }} - <p>{{ i18n "projects.no_project" }}</p> + <p>{{ i18n "categories.no_project" }}</p> {{ end }} {{ range .Paginator.Pages }} {{ partial "projects/project.html" (dict "project" . )}}