feat: localize interface messages
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1 class="post-title"
|
||||
th:with="title=${theme.config.links_page.title ?: page.links.title ?: 'Links'}"
|
||||
th:with="title=${theme.config.links_page.title ?: #messages.msg('page.links.title')}"
|
||||
th:text="${title}">
|
||||
Links
|
||||
</h1>
|
||||
</header>
|
||||
<section class="post-content link-section" th:each="group : ${groups}">
|
||||
<div class="link-section-header">
|
||||
<h2 th:text="${!#strings.isEmpty(group.spec.displayName) ? group.spec.displayName:'links'}">
|
||||
<h2 th:text="${!#strings.isEmpty(group.spec.displayName) ? group.spec.displayName : #messages.msg('page.links.title')}">
|
||||
Links
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user