feat: localize interface messages
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1 class="post-title"
|
||||
th:with="title=${theme.config.archives_page.title ?: page.archives.title ?: 'Archives'}"
|
||||
th:with="title=${theme.config.archives_page.title ?: #messages.msg('page.archives.title')}"
|
||||
th:text="${title}">
|
||||
Archives
|
||||
</h1>
|
||||
@@ -37,12 +37,12 @@
|
||||
<div class="pagination-buttons">
|
||||
<span th:if="${archives.hasPrevious()}">
|
||||
<a data-pjax th:href="@{${archives.prevUrl}}" class="button prev inline">
|
||||
<span class="button-text">< Prev</span>
|
||||
<span class="button-text" th:text="'< ' + #{page.pagination.prev}">< Prev</span>
|
||||
</a>
|
||||
</span>
|
||||
<span th:if="${archives.hasNext()}">
|
||||
<a data-pjax th:href="@{${archives.nextUrl}}" class="button inline next">
|
||||
<span class="button-text">Next ></span>
|
||||
<span class="button-text" th:text="#{page.pagination.next} + ' >'">Next ></span>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user