feat(i18n): 补充部分文本,增加配置文件字段
This commit is contained in:
parent
75e40a01c2
commit
009282dcb0
1
404.ftl
1
404.ftl
|
@ -47,6 +47,7 @@
|
|||
<script>
|
||||
var Poi = {
|
||||
"themeBase": "${theme_base!}",
|
||||
"i18n": "${settings.i18n!'auto'}"
|
||||
}
|
||||
window.onload = function() {
|
||||
I18N();
|
||||
|
|
|
@ -185,7 +185,8 @@
|
|||
"copyrightNotice": "${(settings.copyright_notice!true)?string('true','')}",
|
||||
"photosStyle": "${(settings.photos_style)!'justify'}",
|
||||
"photosGutter": ${(settings.photos_gutter)!10},
|
||||
"tocDepth": ${(settings.toc_depth)!0}
|
||||
"tocDepth": ${(settings.toc_depth)!0},
|
||||
"i18n": "${settings.i18n!'auto'}"
|
||||
};
|
||||
var bgConfig = {
|
||||
<#list 0..7 as i>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<main id="main" class="site-main" role="main">
|
||||
<h1 class="main-title" style="font-family: 'Ubuntu', sans-serif;">
|
||||
<i class="fa fa-envira" aria-hidden="true"></i>
|
||||
Discovery
|
||||
<span class="i18n" data-iname="home.discovery"> </span>
|
||||
</h1>
|
||||
<#if posts?? && posts.getTotalElements() gt 0>
|
||||
<#--Start the Loop-->
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
home:
|
||||
feature:
|
||||
title: 聚焦
|
||||
title: 聚焦
|
||||
one:
|
||||
title: 聚焦图1
|
||||
desc: 这是聚焦图1
|
||||
|
@ -10,6 +10,7 @@ home:
|
|||
three:
|
||||
title: 聚焦图3
|
||||
desc: 这是聚焦图3
|
||||
discovery: 发现
|
||||
|
||||
postlist:
|
||||
time: 发布于 %s
|
||||
|
|
Loading…
Reference in New Issue