Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zh_CN: Complete the translation of the mkdocs theme #2497

Merged
merged 5 commits into from Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/user-guide/choosing-your-theme.md
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
97 changes: 97 additions & 0 deletions 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 <dingpengyu06@gmail.com>\n"
"Language: zh_CN\n"
"Language-Team: zh_Hans_CN <dingpengyu06@gmail.com>\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 "目录"
77 changes: 77 additions & 0 deletions 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 <dingpengyu06@gmail.com>\n"
"Language: zh_CN\n"
"Language-Team: zh_Hans_CN <dingpengyu06@gmail.com>\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 "搜索文档"