optimise i18n

pull/391/head
saeziae 2022-03-05 17:47:12 +08:00
parent c585ee1163
commit 87e4cb1d6e
5 changed files with 9 additions and 6 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "themes/zdoc"] [submodule "themes/zdoc"]
path = themes/zdoc path = themes/zdoc
url = https://github.com/mtf-wiki/hugo-theme-zdoc.git url = git@github.com:mtf-wiki/hugo-theme-zdoc.git

View File

@ -1,8 +1,8 @@
{ {
"single-h1": false, "single-h1": true,
"no-inline-html": false, "no-inline-html": false,
"no-duplicate-header": false, "no-duplicate-header": false,
"no-emphasis-as-header": false, "no-emphasis-as-header": true,
"line-length": false, "line-length": false,
"frontmatter": false "frontmatter": false
} }

View File

@ -6,7 +6,7 @@ defaultContentLanguage = "zh-cn"
defaultContentLanguageInSubdir = true defaultContentLanguageInSubdir = true
hasCJKLanguage = true hasCJKLanguage = true
copyright = "&copy; 2020-{year} MtF Wiki. All Rights Reserved" copyright = "&copy; 2020-{year} MtF Wiki<br><a href='https://creativecommons.org/licenses/by-sa/4.0/' target='_blank'><img src='https://i.creativecommons.org/l/by-sa/4.0/88x31.png' loading='lazy' alt='CC BY-SA 4.0'></a>"
timeout = "1M" timeout = "1M"
enableEmoji = true enableEmoji = true
enableRobotsTXT = true enableRobotsTXT = true

View File

@ -1,7 +1,7 @@
logo = true logo = true
logoImage = "/new/mtf-wiki-square.svg" logoImage = "/new/mtf-wiki-long.svg"
logoText = "MtF Wiki" logoText = "MtF Wiki"
logoType = "short" # long, short logoType = "long" # long, short
description = "MtF Wiki is committed to becoming a free, open, and continuously updated transgender knowledge integration site." description = "MtF Wiki is committed to becoming a free, open, and continuously updated transgender knowledge integration site."
themeOptions = ["light", "dark"] themeOptions = ["light", "dark"]

View File

@ -1,6 +1,9 @@
[toc-label] [toc-label]
other = "此页上的内容" other = "此页上的内容"
[contactUs]
other = "联系我们"
[tooltip-written] [tooltip-written]
other = "写于" other = "写于"