add i18n
This commit is contained in:
parent
c78342e7cc
commit
b43e0d727e
|
@ -0,0 +1,5 @@
|
|||
- id: nextPage
|
||||
translation: "Next Page"
|
||||
|
||||
- id: prevPage
|
||||
translation: "Prev Page"
|
|
@ -0,0 +1,5 @@
|
|||
- id: nextPage
|
||||
translation: "Туда"
|
||||
|
||||
- id: prevPage
|
||||
translation: "Сюда"
|
|
@ -33,10 +33,10 @@
|
|||
<footer class="list-footer">
|
||||
<nav class="pagination">
|
||||
{{ if $paginator.HasPrev }}
|
||||
<a class="pagination-prev" href="{{ $paginator.Prev.URL }}">← Prev Page</a>
|
||||
<a class="pagination-prev" href="{{ $paginator.Prev.URL }}">← {{ i18n "prevPage" }}</a>
|
||||
{{ end }}
|
||||
{{ if $paginator.HasNext }}
|
||||
<a class="pagination-next" href="{{ $paginator.Next.URL }}">Next Page →</a>
|
||||
<a class="pagination-next" href="{{ $paginator.Next.URL }}">{{ i18n "nextPage" }} →</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in New Issue