diff --git a/docs/user-guide/choosing-your-theme.md b/docs/user-guide/choosing-your-theme.md index d62dbf9ad1..6acf62b428 100644 --- a/docs/user-guide/choosing-your-theme.md +++ b/docs/user-guide/choosing-your-theme.md @@ -102,6 +102,7 @@ supports the following options: * `en`: English (default) * `fr`: French * `es`: Spanish + * `zh_CN`: Simplified Chinese See the guide on [localizing your theme] for more information. @@ -174,6 +175,7 @@ theme supports the following options: * `en`: English (default) * `fr`: French * `es`: Spanish + * `zh_CN`: Simplified Chinese See the guide on [localizing your theme] for more information. diff --git a/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po b/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..cf875a6ba5 --- /dev/null +++ b/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po @@ -0,0 +1,97 @@ +# Chinese (Simplified, China) translations for MkDocs. +# Copyright (C) 2021 MkDocs +# This file is distributed under the same license as the MkDocs project. +# +msgid "" +msgstr "" +"Project-Id-Version: MkDocs\n" +"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n" +"POT-Creation-Date: 2021-04-08 22:44+0200\n" +"PO-Revision-Date: 2021-07-14 06:00+0800\n" +"Last-Translator: xingkong0113 \n" +"Language: zh_CN\n" +"Language-Team: zh_Hans_CN \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" +"X-Generator: Poedit 3.0\n" + +#: mkdocs/themes/mkdocs/404.html:8 +msgid "Page not found" +msgstr "找不到页面" + +#: mkdocs/themes/mkdocs/base.html:107 +#: mkdocs/themes/mkdocs/keyboard-modal.html:31 +#: mkdocs/themes/mkdocs/search-modal.html:5 +msgid "Search" +msgstr "搜索" + +#: mkdocs/themes/mkdocs/base.html:117 +msgid "Previous" +msgstr "上一张" + +#: mkdocs/themes/mkdocs/base.html:122 +msgid "Next" +msgstr "下一张" + +#: mkdocs/themes/mkdocs/base.html:133 mkdocs/themes/mkdocs/base.html:135 +#: mkdocs/themes/mkdocs/base.html:137 mkdocs/themes/mkdocs/base.html:139 +#, python-format +msgid "Edit on %(repo_name)s" +msgstr "在%(repo_name)s上编辑" + +#: mkdocs/themes/mkdocs/base.html:179 +#, python-format +msgid "Documentation built with %(mkdocs_link)s." +msgstr "用%(mkdocs_link)s建立的文档。" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:5 +msgid "Keyboard Shortcuts" +msgstr "键盘热键" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:6 +#: mkdocs/themes/mkdocs/search-modal.html:6 +msgid "Close" +msgstr "关闭" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:12 +msgid "Keys" +msgstr "键" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:13 +msgid "Action" +msgstr "动作" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:19 +msgid "Open this help" +msgstr "打开这个帮助" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:23 +msgid "Next page" +msgstr "下一页面" + +#: mkdocs/themes/mkdocs/keyboard-modal.html:27 +msgid "Previous page" +msgstr "上一页面" + +#: mkdocs/themes/mkdocs/search-modal.html:9 +msgid "From here you can search these documents. Enter your search terms below." +msgstr "从这里你可以搜索这些文件。在下面输入您的搜索内容。" + +#: mkdocs/themes/mkdocs/search-modal.html:12 +msgid "Search..." +msgstr "搜索..." + +#: mkdocs/themes/mkdocs/search-modal.html:12 +msgid "Type search term here" +msgstr "在此输入搜索内容" + +#: mkdocs/themes/mkdocs/search-modal.html:15 +msgid "No results found" +msgstr "没有搜索到结果" + +#: mkdocs/themes/mkdocs/toc.html:3 +msgid "Table of Contents" +msgstr "目录" diff --git a/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po b/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..36c9f3ca98 --- /dev/null +++ b/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po @@ -0,0 +1,77 @@ +# Chinese (Simplified, China) translations for MkDocs. +# Copyright (C) 2021 MkDocs +# This file is distributed under the same license as the MkDocs project. +# +msgid "" +msgstr "" +"Project-Id-Version: MkDocs\n" +"Report-Msgid-Bugs-To: https://github.com/mkdocs/mkdocs/issues\n" +"POT-Creation-Date: 2021-04-08 22:46+0200\n" +"PO-Revision-Date: 2021-07-14 06:01+0800\n" +"Last-Translator: xingkong0113 \n" +"Language: zh_CN\n" +"Language-Team: zh_Hans_CN \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.9.1\n" +"X-Generator: Poedit 3.0\n" + +#: mkdocs/themes/readthedocs/404.html:7 +msgid "Page not found" +msgstr "找不到页面" + +#: mkdocs/themes/readthedocs/breadcrumbs.html:3 +msgid "Docs" +msgstr "文档" + +#: mkdocs/themes/readthedocs/breadcrumbs.html:24 +#, python-format +msgid "Edit on %(repo_name)s" +msgstr "在%(repo_name)s上编辑" + +#: mkdocs/themes/readthedocs/breadcrumbs.html:33 +#: mkdocs/themes/readthedocs/footer.html:7 +#: mkdocs/themes/readthedocs/versions.html:14 +msgid "Next" +msgstr "下一张" + +#: mkdocs/themes/readthedocs/breadcrumbs.html:36 +#: mkdocs/themes/readthedocs/footer.html:10 +#: mkdocs/themes/readthedocs/versions.html:11 +msgid "Previous" +msgstr "上一张" + +#: mkdocs/themes/readthedocs/footer.html:25 +#, python-format +msgid "" +"Built with %(mkdocs_link)s using a %(sphinx_link)s provided by " +"%(rtd_link)s." +msgstr "" +"用%(mkdocs_link)s构建,使用%(rtd_link)s提供的%(sphinx_link)s。" + +#: mkdocs/themes/readthedocs/search.html:5 +msgid "Search Results" +msgstr "搜索结果" + +#: mkdocs/themes/readthedocs/search.html:9 +msgid "Search the Docs" +msgstr "搜索文档" + +#: mkdocs/themes/readthedocs/search.html:9 +#: mkdocs/themes/readthedocs/searchbox.html:3 +msgid "Type search term here" +msgstr "在此输入需要搜索的内容" + +#: mkdocs/themes/readthedocs/search.html:12 +msgid "No results found" +msgstr "没有搜到结果" + +#: mkdocs/themes/readthedocs/search.html:13 +msgid "Searching..." +msgstr "搜索中..." + +#: mkdocs/themes/readthedocs/searchbox.html:3 +msgid "Search docs" +msgstr "搜索文档"