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 <carsonip@users.noreply.github.com>
This commit is contained in:
@@ -6,3 +6,9 @@ other = "Comments"
|
|||||||
|
|
||||||
[ReadMore]
|
[ReadMore]
|
||||||
other = "Read More"
|
other = "Read More"
|
||||||
|
|
||||||
|
[Prev]
|
||||||
|
other = "Prev"
|
||||||
|
|
||||||
|
[Next]
|
||||||
|
other = "Next"
|
||||||
|
|||||||
14
i18n/it.toml
Normal file
14
i18n/it.toml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[Contents]
|
||||||
|
other = "Indice"
|
||||||
|
|
||||||
|
[Comments]
|
||||||
|
other = "Commenti"
|
||||||
|
|
||||||
|
[ReadMore]
|
||||||
|
other = "Continua a leggere"
|
||||||
|
|
||||||
|
[Prev]
|
||||||
|
other = "Precedente"
|
||||||
|
|
||||||
|
[Next]
|
||||||
|
other = "Successivo"
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
{{ if gt $pag.TotalPages 1 }}
|
{{ if gt $pag.TotalPages 1 }}
|
||||||
<nav id="page-nav">
|
<nav id="page-nav">
|
||||||
{{ if $pag.HasPrev }}
|
{{ if $pag.HasPrev }}
|
||||||
<a href="{{ $pag.Prev.URL }}" rel="prev" class="extend prev">« Prev</a>
|
<a href="{{ $pag.Prev.URL }}" rel="prev" class="extend prev">« {{ T "Prev" }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range $pag.Pagers }}
|
{{ range $pag.Pagers }}
|
||||||
{{ if eq . $pag }}
|
{{ if eq . $pag }}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if $pag.HasNext }}
|
{{ if $pag.HasNext }}
|
||||||
<a href="{{ $pag.Next.URL }}" rel="next" class="extend next">Next »</a>
|
<a href="{{ $pag.Next.URL }}" rel="next" class="extend next">{{ T "Next" }} »</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
Reference in New Issue
Block a user