diff --git a/i18n/en.toml b/i18n/en.toml index 7fb76fe..3225a3e 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -29,4 +29,19 @@ other = "Type something..." [searchResultTitle] - other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)" \ No newline at end of file + other = "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + +[searchResultPost] + other = "Post" + +[categories] + other = "Categories" + +[category] + other = "Category" + +[footerBuiltWith] + other = "Built with" + +[footerDesignedBy] + other = "designed by" \ No newline at end of file diff --git a/i18n/fr.toml b/i18n/fr.toml index ea3b0c9..1f2e9d8 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -29,4 +29,19 @@ other = "Cherchez un article, une publication, etc." [searchResultTitle] - other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)" \ No newline at end of file + other = "#PAGES_COUNT pages (#TIME_SECONDS secondes)" + +[searchResultPost] + other = "Publication" + +[categories] + other = "Catégories" + +[category] + other = "Catégorie" + +[footerBuiltWith] + other = "Généré avec" + +[footerDesignedBy] + other = "conçu par" \ No newline at end of file diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index d2326ee..93dc0c4 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -2,7 +2,7 @@ {{ define "main" }} {{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }} {{ if $categories }} -

Categories

+

{{ T "categories" }}

{{ range $categories }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 3bfcc28..27bfda6 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,8 +1,8 @@ {{ define "main" }} -

{{ .Type | singularize | humanize }}

+

{{ T "category" }}

-

{{ len .Pages }} post{{ if gt (len .Pages) 1 }}s{{ end }}

+

{{ len .Pages }} {{ T "searchResultPost" }}{{ if gt (len .Pages) 1 }}s{{ end }}

{{ .Title }}

{{ with .Params.description }}

{{ . }}

diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html index f8f7e39..9821e0c 100644 --- a/layouts/partials/footer/footer.html +++ b/layouts/partials/footer/footer.html @@ -1,8 +1,8 @@ \ No newline at end of file