From b8bee9eaf769d4b9993e90c860a3023a21d65546 Mon Sep 17 00:00:00 2001 From: Readon Date: Thu, 25 Jul 2024 01:08:21 +0000 Subject: [PATCH] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (13 of 13 strings) Translation: SpinalDoc-RTD/SpinalHDL/Developers area/howotuselocalspinalclone Translate-URL: https://hosted.weblate.org/projects/spinaldoc-rtd/spinalhdldevelopers-areahowotuselocalspinalclone/zh_Hans/ --- .../howotuselocalspinalclone.po | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Developers area/howotuselocalspinalclone.po b/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Developers area/howotuselocalspinalclone.po index 14f43b61b48..d0d5da6d697 100644 --- a/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Developers area/howotuselocalspinalclone.po +++ b/source/locale/zh_CN/LC_MESSAGES/SpinalHDL/Developers area/howotuselocalspinalclone.po @@ -3,25 +3,26 @@ # This file is distributed under the same license as the SpinalHDL package. # FIRST AUTHOR , 2024. # -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: SpinalHDL \n" +"Project-Id-Version: SpinalHDL\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-07-19 07:13+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: zh_CN \n" +"PO-Revision-Date: 2024-07-25 01:19+0000\n" +"Last-Translator: Readon \n" +"Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 5.7-dev\n" "Generated-By: Babel 2.15.0\n" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:2 msgid "How to use a local SpinalHDL clone as project dependency" -msgstr "" +msgstr "项目中如何使用本地的SpinalHDL克隆作为依赖" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:4 msgid "" @@ -32,40 +33,45 @@ msgid "" "you want to test your own extension to Spinal (please consider upstreaming " "it by opening a PR) within a project." msgstr "" +"使用SpinalHDL的默认方式是通过sbt或mill自动下载其发布的版本。如果你想使用最新" +"版本,你可能会要使用git直接从上游获取未发布的“dev”分支。这可能是因为你想要使" +"用一个新功能,或者因为你想要在一个项目中测试你自己的Spinal扩展(请考虑通过打" +"开一个PR来提交它)。" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:11 msgid "" "As an example of where this is used you can also refer to `VexiiRiscv`_." -msgstr "" +msgstr "有关使用的示例,请参阅 `VexiiRiscv`_ 。" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:15 msgid "Create local git clone of SpinalHDL" -msgstr "" +msgstr "创建本地的SpinalHDL git 克隆" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:22 msgid "" "In the command above you can replace ``dev`` by the name of the branch you " "want to checkout. ``--depth 1`` prevents from downloading the repository " "history." -msgstr "" +msgstr "在上面的命令中,可以用要签出的分支名称替换 ``dev`` 。 ``--depth 1`` " +"阻止下载版本库历史。" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:27 msgid "Configure buildsystem" -msgstr "" +msgstr "配置构建系统" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:29 msgid "" "Depending on which tool you use, instruct either sbt or mill to load the " "local git folder as dependency:" -msgstr "" +msgstr "根据您使用的工具,将本地 git 文件夹作为依赖项加载的 sbt 或 mill 指令:" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:34 msgid "Configure sbt (update ``build.sbt``)" -msgstr "" +msgstr "配置 sbt (更新 ``build.sbt``)" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:61 msgid "Configure mill (update ``build.sc``)" -msgstr "" +msgstr "配置 mill (更新 ``build.sc``)" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:91 msgid "" @@ -74,10 +80,13 @@ msgid "" "up one directory from the current.) This is assuming the following directory " "structure:" msgstr "" +"注意 ``import $file.^.SpinalHDL.build`` 行。它使用了 ammonite REPL 的魔法 " +"``$file`` 来查找 SpinalHDL 的 ``build.sc``。(``^`` " +"从当前目录向上移动一个目录。) 假设目录结构如下:" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:106 msgid "Done" -msgstr "" +msgstr "完成" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:108 msgid "" @@ -86,10 +95,14 @@ msgid "" "VIOLATION`` errors because the ``idslplugin`` of spinal is not actually " "invoked." msgstr "" +"请注意添加到 ``scalacOptions`` 的内容。如果没有它,编译任何 Spinal " +"项目都可能产生无数的 ``SCOPE VIOLATION`` 或 ``HIERARCHY VIOLATION`` 错误," +"因为 spinal 的 ``idslplugin`` 实际上并没有被调用。" #: ../../SpinalHDL/Developers area/howotuselocalspinalclone.rst:112 msgid "" "After the changes, the next compilation of your project will take a " "considerable amount of time (~2 minutes). This is only for the first " "compile. After this, your project should compile as usual." -msgstr "" +msgstr "更改后,下一次编译项目将花费大量时间(约 2 " +"分钟),但这只是第一次编译。在此之后,项目的编译时间应该和往常一样。"