@@ -9,7 +9,7 @@ msgstr ""
99"Project-Id-Version : Common Workflow Language User Guide\n "
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2023-12-16 11:48+0100\n "
12- "PO-Revision-Date : 2024-10-11 11:16 +0000\n "
12+ "PO-Revision-Date : 2024-10-16 10:15 +0000\n "
1313"Last-Translator : Zoë Ma <zoe.ma@curii.com>\n "
1414"Language-Team : Chinese (Simplified Han script) <https://hosted.weblate.org/ "
1515"projects/commonwl/user-guide/zh_Hans/>\n "
@@ -18,7 +18,7 @@ msgstr ""
1818"Content-Type : text/plain; charset=utf-8\n "
1919"Content-Transfer-Encoding : 8bit\n "
2020"Plural-Forms : nplurals=1; plural=0;\n "
21- "X-Generator : Weblate 5.8-dev \n "
21+ "X-Generator : Weblate 5.8-rc \n "
2222"Generated-By : Babel 2.12.1\n "
2323
2424#: ../../LICENSE.md:2 a48279b2231348eea3f7a3b74a6362ac
@@ -4345,6 +4345,9 @@ msgid ""
43454345"representation), Boolean (`true` or `false`), or more complex nested "
43464346"types (see below)."
43474347msgstr ""
4348+ "上面这一段 YAML 包含4个键——`first_name`, `last_name`, `age_years`, 以及 `home"
4349+ "`——及其对应的值。值可以是字符串,数值(整数,浮点数,或者科学记数法),布尔值"
4350+ "(真值 `true` 或非真值 `false`),或者更复杂的嵌套类型(见下)。"
43484351
43494352#: ../../src/topics/yaml-guide.md:51 6939eb7e783744d7bcf75ea0a7cae129
43504353msgid ""
@@ -4356,27 +4359,34 @@ msgid ""
43564359"want to specify a fixed numeric value to a command, make sure that you "
43574360"wrap that numeric value in quotes: `baseCommand: [echo, \" 42\" ]`."
43584361msgstr ""
4362+ "值可以用括号包围起来,但要当心这样做可能改变其理解:`\" 1234\" ` "
4363+ "会被当作字符串,而 `1234` "
4364+ "为整数。有的时候,这之间的区别会很重要,例如描述命令的参数时:CWL "
4365+ "语言中,`baseCommand` 的所有部分都必须为字符串;因此,如果你打算给命令传递一"
4366+ "个数值常数作为参数值,那就必须将该数值用括号包围起来:`baseCommand: [echo, "
4367+ "\" 42\" ]`."
43594368
43604369#: ../../src/topics/yaml-guide.md:61 96e1776b09e840ebbc9b4b7e01da0e43
43614370msgid "Comments"
4362- msgstr ""
4371+ msgstr "注释 "
43634372
43644373#: ../../src/topics/yaml-guide.md:63 8b17f7557c3540b2b0d0beca0fe4ebc7
43654374msgid ""
43664375"You may use `#` to add comments to your CWL and parameter files. Any "
43674376"characters to the right of ` #` will be ignored by the program "
43684377"interpreting the YAML. For example:"
4369- msgstr ""
4378+ msgstr "在 CWL 和参数文件中,可以用 `#` 符号引入注释。每行中 ` #` "
4379+ "之后的全部字符都会被 YAML 解释程序忽略。例如:"
43704380
43714381#: ../../src/topics/yaml-guide.md:76 13da997c82c04023a4b7bb36b76e969d
43724382msgid ""
43734383"If there is anything on the line before the comment, be sure to add at "
43744384"least one space before the `#`!"
4375- msgstr ""
4385+ msgstr "如果在某行里,注释之前有任何内容,记得 `#` 前需要至少一个空白字符! "
43764386
43774387#: ../../src/topics/yaml-guide.md:79 b9fc191166a64450b64a8182adabad75
43784388msgid "Maps"
4379- msgstr ""
4389+ msgstr "映射 "
43804390
43814391#: ../../src/topics/yaml-guide.md:81 aedf8c4f615845ad91a7947217005d6e
43824392msgid ""
@@ -4388,6 +4398,10 @@ msgid ""
43884398"the key to which they belong (the \" parent\" ), and should be indented "
43894399"with two spaces (⇥tab characters are not allowed). For example:"
43904400msgstr ""
4401+ "用 CWL 描述工具或工作流时,通常需要构造更加复杂、多级嵌套的表示。这样的层级结"
4402+ "构称为“映射”;用 YAML 表示映射,是用一组键值对作为某个键的值。这样(作为值)"
4403+ "的键值对有时称为“子”键值对,写为其所属键(“母”键)下另起的新行,且应该用两个"
4404+ "空格字符增加一级缩进(制表符⇥不允许用作此目的)。例如:"
43914405
43924406#: ../../src/topics/yaml-guide.md:104 f0f1f414f74342a89065ba5ded8668e5
43934407msgid ""
@@ -4401,10 +4415,16 @@ msgid ""
44014415" example YAML above, here is a graphical representation of the `inputs` "
44024416"object it describes."
44034417msgstr ""
4418+ "上面的 YAML 样本展示了快速构建复杂嵌套对象描述的办法。`inputs` "
4419+ "这个映射包含单独一个键 `example_flag`, 而后者本身又包含两个键 `type` 和 "
4420+ "`inputBinding`; 其中,`inputBinding` 这个子键又包含另外两个键值对 (`position`"
4421+ " 和 `prefix`). 如果要为某一个键提供多个单值或子键值对值,请参见后面的[数组](#"
4422+ "arrays)部分。这里,我们用如下图形表示它所描述的 `inputs` 这个对象,"
4423+ "以供与上面的 YAML 对照。"
44044424
44054425#: ../../src/topics/yaml-guide.md:127 965405e2a45a4cbb8f227bc8ceeb05df
44064426msgid "Arrays"
4407- msgstr ""
4427+ msgstr "数组 "
44084428
44094429#: ../../src/topics/yaml-guide.md:129 5aca9a90fb6149529ed717992746a2f3
44104430msgid ""
@@ -4416,25 +4436,31 @@ msgid ""
44164436"this with an _array_, where each value is defined on its own line and "
44174437"preceded by `-`. For example:"
44184438msgstr ""
4439+ "有些情况下,我们需要为某个键提供多个值或对象。如前面的[映射](#maps)部分所述,"
4440+ "一个键下可以映射多个键值对。不过,我们还可以为某个键指定多个值,同时无需为每"
4441+ "个值都添加一个独特的子键。这可以通过“数组”实现;数组中的每个元素值出现在 "
4442+ "`-`(短线)符号后的新行上。例如:"
44194443
44204444#: ../../src/topics/yaml-guide.md:146 d1c9e72e004b4fb4a6efb7748a15ab6f
44214445msgid "and a more complex example combining maps and arrays:"
4422- msgstr ""
4446+ msgstr "以及将映射与数组结合的一个较复杂例子: "
44234447
44244448#: ../../src/topics/yaml-guide.md:167 9a3d6879404745a48cd394bf86865dbc
44254449msgid "JSON Style"
4426- msgstr ""
4450+ msgstr "JSON 样式 "
44274451
44284452#: ../../src/topics/yaml-guide.md:169 6a7cca0339794e679329b00d89e29d2b
44294453msgid ""
44304454"YAML is based on [JavaScript Object Notation (JSON)][json]. Maps and "
44314455"arrays can also be defined in YAML using the native JSON syntax. For "
44324456"example:"
44334457msgstr ""
4458+ "YAML 的基础是 [JavaScript Object Notation (JSON)][json]. YAML "
4459+ "映射与数组都可以用 JSON 原生的语法表达。例如:"
44344460
44354461#: ../../src/topics/yaml-guide.md:177 d8feed2d36d04fe283b9de9784d91941
44364462msgid "and:"
4437- msgstr ""
4463+ msgstr "以及: "
44384464
44394465#: ../../src/topics/yaml-guide.md:184 5156ad32791048f8ace51475d7689575
44404466msgid ""
@@ -4445,55 +4471,65 @@ msgid ""
44454471"However, as the second example above shows, it can severely affect the "
44464472"readability of a YAML file, and should be used sparingly."
44474473msgstr ""
4474+ "原生 JSON 可以用于表达某字段值有意为空(如使用 `[]` "
4475+ "代表空数组),以及多个值适合出现在同一行内的情况(如为 shell "
4476+ "命令行提供选项和参数值的时候)。不过,如上第二个例子所示,这种格式可能让 "
4477+ "YAML 文件的可读性大打折扣,因此应慎用。"
44484478
44494479#: ../../src/topics/yaml-guide.md:194 ce49f80e6fc0498b8ad298fb1f0268f3
44504480msgid "Reference"
4451- msgstr ""
4481+ msgstr "参考资料 "
44524482
44534483#: ../../src/topics/yaml-guide.md:196 180d261392a644fcb8ff47d7a4a160c0
44544484msgid ""
44554485"The [Learn YAML in Y Minutes][yaml-y-mins] reference was very helpful for"
44564486" us while we wrote this guide, though it also covers features that are "
44574487"not valid in CWL."
44584488msgstr ""
4489+ "[Learn YAML in Y Minutes][yaml-y-mins] "
4490+ "作为参考资料在我们写作本《指南》的过程中起到了很大的帮助,"
4491+ "不过其中介绍的部分语言特性不适用于 CWL."
44594492
44604493#: ../../src/tutorials.md:1 d682035afebf4c128755bd4e58780dd2
44614494msgid "Tutorials"
4462- msgstr ""
4495+ msgstr "教程 "
44634496
44644497#: ../../src/tutorials.md:5 d9adeab63ec54084bc41fb90f264d3ae
44654498msgid ""
44664499"This is a list of tutorials provided by the CWL community. Use the `Edit "
44674500"this page` link in the menu if you would like to add another tutorial to "
44684501"the list."
4469- msgstr ""
4502+ msgstr "这里是 CWL 社区提供的一份教程列表。如果您想添加新的教程,请使用菜单栏中的 `"
4503+ "Edit this page`(编辑此页面)链接。"
44704504
44714505#: ../../src/tutorials.md:7 23c81edb650b4f86a60c5e0bcedeac1d
44724506msgid "Beginner Tutorials"
4473- msgstr ""
4507+ msgstr "入门教程 "
44744508
44754509#: ../../src/tutorials.md:9 87ddaa1e5f57445c8f13803722aa146e
44764510msgid ""
44774511"[Introduction to Workflows with Common Workflow Language: For "
44784512"Contributors.](https://carpentries-incubator.github.io/cwl-novice-"
44794513"tutorial/)"
44804514msgstr ""
4515+ "[Introduction to Workflows with Common Workflow Language: For "
4516+ "Contributors.](https://carpentries-incubator.github.io/cwl-novice-tutorial/)"
44814517
44824518#: ../../src/tutorials.md:11 b8ee193ba533498db6263e0f5f4ec45f
44834519msgid "Advanced Tutorials"
4484- msgstr ""
4520+ msgstr "进阶教程 "
44854521
44864522#: ../../src/tutorials.md:13 67c4b3923fce46fdab025495125c91d4
44874523msgid "[Typescript in CWL](https://github.com/umccr/cwl-ica/wiki/TypeScript)"
4488- msgstr ""
4524+ msgstr "[Typescript in CWL](https://github.com/umccr/cwl-ica/wiki/TypeScript) "
44894525
44904526#: ../../src/tutorials.md:15 e640316669104239970794191b6da38b
44914527msgid "Bioinformatics Tutorials"
4492- msgstr ""
4528+ msgstr "生物信息学相关教程 "
44934529
44944530#: ../../src/tutorials.md:17 efe94af44b874f9b81b245fbdee43f7f
44954531msgid "[rnaseq with CWL](https://arvados.github.io/rnaseq-cwl-training/)"
4496- msgstr ""
4532+ msgstr "[rnaseq with CWL](https://arvados.github.io/rnaseq-cwl-training/) "
44974533
44984534#~ msgid "In CWL, everything must be directly stated."
44994535#~ msgstr "在CWL中,一切都必须直接说明。"
0 commit comments