Skip to content

Commit

Permalink
Auto-translate PO files (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Dec 23, 2023
1 parent 1c586c5 commit 2bc0d15
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 26 deletions.
31 changes: 14 additions & 17 deletions translations/zh_CN/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ msgstr "**aiida-core 版本:** |release|"

#: ../../source/index.rst:35
msgid "Getting Started"
msgstr ""
msgstr "入门"

#: ../../source/index.rst:39
msgid "AiiDA installation, configuration and troubleshooting."
Expand All @@ -57,7 +57,7 @@ msgstr "To the installation guides"

#: ../../source/index.rst:52
msgid "Tutorial"
msgstr ""
msgstr "教程"

#: ../../source/index.rst:56
msgid "First time users: Get your feet wet with AiiDA basics!"
Expand All @@ -81,7 +81,7 @@ msgstr "To the how-to guides"

#: ../../source/index.rst:86
msgid "Topics"
msgstr ""
msgstr "主题"

#: ../../source/index.rst:90
msgid "Background information on AiiDA's underlying concepts."
Expand Down Expand Up @@ -136,7 +136,7 @@ msgid ""
"Saw a typo in the documentation? Want to improve the code? Help is always "
"welcome, get started with the `contributing guidelines "
"<https://github.com/aiidateam/aiida-core/wiki>`__."
msgstr ""
msgstr "看到文档中有错别字?想改进代码?欢迎随时提供帮助,从 `contributing guidelines <https://github.com/aiidateam/aiida-core/wiki>`__ 开始。"

#: ../../source/index.rst:164
msgid "How to cite"
Expand All @@ -157,16 +157,7 @@ msgid ""
"automated reproducible workflows and data provenance*, Scientific Data "
"**7**, 300 (2020); DOI: `10.1038/s41597-020-00638-4 "
"<https://doi.org/10.1038/s41597-020-00638-4>`_"
msgstr ""
"Sebastiaan.P. Huber, Spyros Zoupanos, Martin Uhrin, Leopold Talirz, Leonid "
"Kahle, Rico Häuselmann, Dominik Gresch, Tiziano Müller, Aliaksandr V. "
"Yakutovich, Casper W. Andersen, Francisco F. Ramirez, Carl S.Adorf, Fernando"
" Gargiulo, Snehal Kumbhar, Elsa Passaro, Conrad Johnston, Andrius Merkys, "
"Andrea Cepellotti, Nicolas Mounet, Nicola Marzari, Boris Kozinsky, and "
"Giovanni Pizzi, *AiiDA 1.0, a scalable computational infrastructure for "
"automated reproducible workflows and data provenance*, Scientific Data "
"**7**, 300 (2020); DOI: `10.1038/s41597-020-00638-4 "
"<https://doi.org/10.1038/s41597-020-00638-4>`_"
msgstr "Sebastiaan. P. Huber, Spyros Zoupanos, Martin Uhrin, Leopold Talirz, Leonid Kahle, Rico Häuselmann, Dominik Gresch, Tiziano Müller, Aliaksandr V. Yakutovich, Casper W. Andersen, Francisco F. Ramirez, Carl S. Adorf, Fernando Gargiulo, Snehal Kumbhar, Elsa Passaro, Conrad Johnston, Andrius Merkys, Andrea Cepellotti, Nicolas Mounet, Nicola Marzari, Boris Kozinsky, and Giovanni Pizzi, *AiiDA 1.0, a scalable computational infrastructure for automated reproducible workflows and data provenance*, Scientific Data **7**, 300 (2020); DOI: `10.1038/s41597-020-00638-4 <https://doi.org/10.1038/s41597-020-00638-4>`_"

#: ../../source/index.rst:170
msgid ""
Expand All @@ -177,6 +168,12 @@ msgid ""
"`10.1016/j.commatsci.2020.110086 "
"<https://doi.org/10.1016/j.commatsci.2020.110086>`_"
msgstr ""
"Martin Uhrin, Sebastiaan. P. Huber, Jusong Yu, Nicola Marzari, and Giovanni "
"Pizzi, *Workflows in AiiDA: Engineering a high-throughput, event-based "
"engine for robust and modular computational workflows*, Computational "
"Materials Science **187**, 110086 (2021); DOI: "
"`10.1016/j.commatsci.2020.110086 "
"<https://doi.org/10.1016/j.commatsci.2020.110086>`_"

#: ../../source/index.rst:172
msgid "If the ADES concepts are referenced, please also cite:"
Expand All @@ -194,18 +191,18 @@ msgstr ""

#: ../../source/index.rst:179
msgid "Acknowledgements"
msgstr ""
msgstr "致谢"

#: ../../source/index.rst:181
msgid ""
"AiiDA is supported by the `MARVEL National Centre of Competence in "
"Research`_, the `MaX European Centre of Excellence`_ and by a number of "
"other supporting projects, partners and institutions, whose complete list is"
" available on the `AiiDA website acknowledgements page`_."
msgstr ""
msgstr "AiiDA 得到了 `MARVEL National Centre of Competence in Research`_、`MaX European Centre of Excellence`_ 以及其他一些支持项目、合作伙伴和机构的支持,其完整名单可在 `AiiDA website acknowledgements page`_ 上查阅。"

#: ../../source/index.rst:183
msgid ""
"AiiDA is a NumFOCUS Affiliated Project. Visit `numfocus.org`_ for more "
"information."
msgstr ""
msgstr "AiiDA 是 NumFOCUS 的附属项目。更多信息,请访问 `numfocus.org`_。"
18 changes: 9 additions & 9 deletions translations/zh_CN/internals.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,50 +19,50 @@ msgstr ""

#: ../../source/internals/engine.rst:5
msgid "Engine"
msgstr ""
msgstr "发动机"

#: ../../source/internals/engine.rst:12
msgid "Controlling caching"
msgstr ""
msgstr "控制缓存"

#: ../../source/internals/engine.rst:16
msgid ""
"This section covers some details of the caching mechanism which are not "
"discussed in the :ref:`topics section <topics:provenance:caching>`. If you "
"are developing plugins and want to modify the caching behavior of your "
"classes, we recommend you read that section first."
msgstr ""
msgstr "本节涉及缓存机制的一些细节,这些细节在 :ref:`topics 章节 <topics:provenance:caching>` 中没有讨论。如果您正在开发插件并希望修改类的缓存行为,我们建议您先阅读该部分。"

#: ../../source/internals/engine.rst:19
msgid ""
"There are several methods which the internal classes of AiiDA use to control"
" the caching mechanism:"
msgstr ""
msgstr "AiiDA 的内部类使用几种方法来控制缓存机制:"

#: ../../source/internals/engine.rst:21
msgid "On the level of the generic :class:`orm.Node <aiida.orm.Node>` class:"
msgstr ""
msgstr "在通用 :class:`orm.Node <aiida.orm.Node>` 类的层面上:"

#: ../../source/internals/engine.rst:23
msgid ""
"The :meth:`~aiida.orm.nodes.caching.NodeCaching.is_valid_cache` property "
"determines whether a particular node can be used as a cache. This is used "
"for example to disable caching from failed calculations."
msgstr ""
msgstr " :meth:`~aiida.orm.nodes.caching.NodeCaching.is_valid_cache` 属性决定特定节点是否可用作缓存。例如,它可用于禁用计算失败后的缓存。"

#: ../../source/internals/engine.rst:25
msgid ""
"Node classes have a ``_cachable`` attribute, which can be set to ``False`` "
"to completely switch off caching for nodes of that class. This avoids "
"performing queries for the hash altogether."
msgstr ""
msgstr "节点类有一个 ``_cachable`` 属性,可将其设置为 ``False``,以完全关闭该类节点的缓存。这样就可以完全避免执行散列查询。"

#: ../../source/internals/engine.rst:28
msgid ""
"On the level of the :class:`Process "
"<aiida.engine.processes.process.Process>` and :class:`orm.ProcessNode "
"<aiida.orm.ProcessNode>` classes:"
msgstr ""
msgstr "在 :class:`Process <aiida.engine.processes.process.Process>` 和 :class:`orm.ProcessNode <aiida.orm.ProcessNode>` 类的级别上:"

#: ../../source/internals/engine.rst:30
msgid ""
Expand All @@ -73,7 +73,7 @@ msgid ""
"itself. This can be used in :class:`~aiida.engine.processes.process.Process`"
" subclasses (e.g. in calculation plugins) to implement custom ways of "
"invalidating the cache."
msgstr ""
msgstr " :meth:`ProcessNodeCaching.is_valid_cache <aiida.orm.nodes.process.process.ProcessNodeCaching.is_valid_cache>` 调用 :meth:`Process.is_valid_cache<aiida.engine.process.process.Process.is_valid_cache>`,传递节点本身。这可以在 :class:`~aiida.engine.processes.process.Process` 子类(例如计算插件)中使用,以实现自定义的缓存失效方式。"

#: ../../source/internals/engine.rst:32
msgid ""
Expand Down

0 comments on commit 2bc0d15

Please sign in to comment.