From f47b88d6013cf7ff13432c5b735392b15c33bf27 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 30 Jul 2021 23:36:02 +0800 Subject: [PATCH] =?UTF-8?q?Add=20text=20link=20support=20for=20disclaimer.?= =?UTF-8?q?=20=E4=B8=BA=E5=85=8D=E8=B4=A3=E5=A3=B0=E6=98=8E=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=96=87=E6=9C=AC=E9=93=BE=E6=8E=A5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E3=80=82=20Fix=20some=20Chinese=20translation.=20=E5=8F=98?= =?UTF-8?q?=E6=9B=B4disclaimer=E7=BF=BB=E8=AF=91=E4=B8=BA=E2=80=9C?= =?UTF-8?q?=E5=85=8D=E8=B4=A3=E5=A3=B0=E6=98=8E=E2=80=9D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 }}