From a812f373966878b1fc1f7b231eb3452a8705738f Mon Sep 17 00:00:00 2001 From: Francesco Maida Date: Tue, 21 Apr 2020 15:26:59 +0200 Subject: [PATCH] Prev / Next links added to the translation files + Italian translation added (#46) * Italian translation added * Prev/Next links added to the translation files + Italian translation added * Italian translation updated * Use T instead of i18n for consistency Co-authored-by: Carson Ip --- i18n/en.toml | 6 ++++++ i18n/it.toml | 14 ++++++++++++++ layouts/partials/pagination.html | 6 +++--- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 i18n/it.toml diff --git a/i18n/en.toml b/i18n/en.toml index b50793a..f890265 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -6,3 +6,9 @@ other = "Comments" [ReadMore] other = "Read More" + +[Prev] +other = "Prev" + +[Next] +other = "Next" diff --git a/i18n/it.toml b/i18n/it.toml new file mode 100644 index 0000000..d623ca9 --- /dev/null +++ b/i18n/it.toml @@ -0,0 +1,14 @@ +[Contents] +other = "Indice" + +[Comments] +other = "Commenti" + +[ReadMore] +other = "Continua a leggere" + +[Prev] +other = "Precedente" + +[Next] +other = "Successivo" diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 1beaebe..481c47f 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -2,7 +2,7 @@ {{ if gt $pag.TotalPages 1 }} -{{ end }} \ No newline at end of file +{{ end }}