Add text link support for disclaimer. (#385)

为免责声明添加文本链接支持。
Fix some Chinese translation.
变更disclaimer翻译为“免责声明”。

Signed-off-by: Ray <Chow-Ray@outlook.com>
This commit is contained in:
BoT 2021-07-31 00:57:36 +08:00 committed by GitHub
parent f56f3dd176
commit 03edbac376
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -111,4 +111,4 @@ other = "查看证书"
other = "笔记" other = "笔记"
[disclaimer_text] [disclaimer_text]
other = "责任通知" other = "免责声明"

View file

@ -137,7 +137,7 @@
{{ if and $disclaimerEnabled $disclaimer}} {{ if and $disclaimerEnabled $disclaimer}}
<hr /> <hr />
<div class="container"> <div class="container">
<p id="disclaimer"><strong>{{ i18n "disclaimer_text" }}:</strong> {{ $disclaimer }}</p> <p id="disclaimer"><strong>{{ i18n "disclaimer_text" }}:</strong> {{ $disclaimer | markdownify }}</p>
</div> </div>
{{ end }} {{ end }}
{{ if $credentialsEnabled }} {{ if $credentialsEnabled }}