From 03edbac376a7642744305018d71517429051ed41 Mon Sep 17 00:00:00 2001 From: BoT Date: Sat, 31 Jul 2021 00:57:36 +0800 Subject: [PATCH] Add text link support for disclaimer. (#385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为免责声明添加文本链接支持。 Fix some Chinese translation. 变更disclaimer翻译为“免责声明”。 Signed-off-by: Ray --- i18n/zh-cn.toml | 2 +- layouts/partials/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index b99d6c9..3f8b6e4 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -111,4 +111,4 @@ other = "查看证书" other = "笔记" [disclaimer_text] -other = "责任通知" +other = "免责声明" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d4bde35..af771d0 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -137,7 +137,7 @@ {{ if and $disclaimerEnabled $disclaimer}}
-

{{ i18n "disclaimer_text" }}: {{ $disclaimer }}

+

{{ i18n "disclaimer_text" }}: {{ $disclaimer | markdownify }}

{{ end }} {{ if $credentialsEnabled }}