@@ -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-08 03:26 +0000\n "
12+ "PO-Revision-Date : 2024-10-11 11:16 +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 "
@@ -4202,6 +4202,9 @@ msgid ""
42024202" make an entire workflow a single step in another workflow! Convert our "
42034203"two-step workflow to a single step subworkflow:"
42044204msgstr ""
4205+ "好的,那么,我们对不依赖其它样本、可以独立进行的步骤,该如何分散?请回想[嵌套"
4206+ "的工作流](#nested-workflows)部分,其中写道,我们可以让整个工作流称为另一个工"
4207+ "作流中的一个步骤!我们将两步骤的工作流改写为单一步骤的子工作流:"
42054208
42064209#: ../../src/topics/workflows.md:513 fac138ba275745898b763a7d719a8235
42074210msgid "`scatter-nested-workflow.cwl`"
@@ -4211,18 +4214,20 @@ msgstr "`scatter-nested-workflow.cwl`"
42114214msgid ""
42124215"Now the scatter acts on a single step, but that step consists of two "
42134216"steps so each step is performed in parallel."
4214- msgstr ""
4217+ msgstr "这样,分散就可以针对一个单独的步骤进行,不过该步骤本身分为两个子步骤。这就让"
4218+ "每个分散的步骤并行进行。"
42154219
42164220#: ../../src/topics/workflows.md:522 b0bf01dad1234a1db3c87b10953e42ef
42174221msgid "Conditional Workflows"
4218- msgstr ""
4222+ msgstr "条件性工作流 "
42194223
42204224#: ../../src/topics/workflows.md:524 8d933ed1ec6e408589f781e3a425b869
42214225msgid ""
42224226"This workflow contains a conditional step and is executed based on the "
42234227"input. This allows workflows to skip additional steps based on input "
42244228"parameters given at the start of the program or by previous steps."
4225- msgstr ""
4229+ msgstr "这个工作流包含一个取决于输入的有条件步骤,可以根据程序起始或先前步骤给出的输"
4230+ "入参数决定是否跳过某些额外步骤。"
42264231
42274232#: ../../src/topics/workflows.md:527 9ac7b4f71621411da9a4ca3bc277dcb0
42284233msgid "`conditional-workflow.cwl`"
@@ -4232,7 +4237,7 @@ msgstr "`conditional-workflow.cwl`"
42324237msgid ""
42334238"The first thing you'll notice is that this workflow is only compatible "
42344239"for version 1.2 or greater of the CWL standards."
4235- msgstr ""
4240+ msgstr "首先要注意,这个工作流只能兼容于版本1.2或以上的 CWL 标准。 "
42364241
42374242#: ../../src/topics/workflows.md:573 4742fe09a4264fb8be6f092519de5d72
42384243msgid ""
@@ -4242,6 +4247,9 @@ msgid ""
42424247"`in1` from the workflow contains a value `< 1` this step will be "
42434248"executed."
42444249msgstr ""
4250+ "工作流的第一个步骤 (step1) 包含两个输入字段,它将在条件满足时执行 foo.cwl. "
4251+ "这里新出现的字段 `when` 就是进行条件检验的地方。这个例子里,只有当 `in1` "
4252+ "从工作流获取的值小于1 (`< 1`) 时,此步骤才会执行。"
42454253
42464254#: ../../src/topics/workflows.md:587 b33ecd2b8af042feb08687e32d4b6bbf
42474255msgid ""
@@ -4250,61 +4258,69 @@ msgid ""
42504258"is shown in the log by `INFO [step step1] start` whereas the second step "
42514259"is skipped as indicated by `INFO [step step2] will be skipped`."
42524260msgstr ""
4261+ "使用命令如 `cwltool cond-wf-003.1.cwl --val 0`, 则输入参数值 (0) "
4262+ "将满足第一个步骤的条件,从而使之得到执行,并且在日志中以 `INFO [step step1] "
4263+ "start` 出现。相反,第二个步骤则跳过了,即日志中 `INFO [step step2] will be "
4264+ "skipped` 所记。"
42534265
42544266#: ../../src/topics/workflows.md:607 7cd80b31a94543358ece7a2d413adce9
42554267msgid ""
42564268"When a value of 3 is given the first conditional step will not be "
42574269"executed but the second step will `cwltool cond-wf-003.1.cwl --val 3`."
42584270msgstr ""
4271+ "当参数值为3, 如命令 `cwltool cond-wf-003.1.cwl --val 3` "
4272+ "所给出,则第一个条件行步骤不会执行,反之第二个会。"
42594273
42604274#: ../../src/topics/workflows.md:627 9679e32f65e0482a8b083387e4a18c1f
42614275msgid ""
42624276"If no conditions are met for example when using `--val 2` the workflow "
42634277"will raise a permanentFail."
4264- msgstr ""
4278+ msgstr "如果条件都不成立,如用 `--val 2` 所导致的,则工作流将发起 permanentFail "
4279+ "异常。"
42654280
42664281#: ../../src/topics/yaml-guide.md:1 4fa76441f95d45fab76ab7eef8d7d4d2
42674282msgid "YAML Guide"
4268- msgstr ""
4283+ msgstr "YAML 语言指南 "
42694284
42704285#: ../../src/topics/yaml-guide.md:6 705765787eb84ecaae004194225924cb
42714286msgid ""
42724287"[YAML][yaml] is a file format designed to be readable by both computers "
42734288"and humans. This guide introduces the features of YAML that are relevant "
42744289"when writing CWL descriptions and input parameter files."
4275- msgstr ""
4290+ msgstr "[YAML][yaml] 是一种让计算机和人都能读懂的文件格式。这部分指南主要针对编写 "
4291+ "CWL 描述和输入参数文件,介绍 YAML 的特性。"
42764292
42774293#: ../../src/topics/yaml-guide.md:13 cb243f6ab11f48ffb5c91945c4e0d101
42784294msgid "You can skip this section if you are already comfortable with YAML."
4279- msgstr ""
4295+ msgstr "如果你已经能够得心应手地运用 YAML, 这一部分可以跳过。 "
42804296
42814297#: ../../src/topics/yaml-guide.md:16 cfc95d15e33a492f842649f92ced941d
42824298msgid "Contents"
4283- msgstr ""
4299+ msgstr "目录 "
42844300
42854301#: ../../src/topics/yaml-guide.md:18 f618d44d202f4c2ea6ff72a1dca2c659
42864302msgid "[Key-Value Pairs](#key-value-pairs)"
4287- msgstr ""
4303+ msgstr "[键值对](#key-value-pairs) "
42884304
42894305#: ../../src/topics/yaml-guide.md:19 36bfa6ed40c54bd99826bedff12c759d
42904306msgid "[Comments](#comments)"
4291- msgstr ""
4307+ msgstr "[注释](#comments) "
42924308
42934309#: ../../src/topics/yaml-guide.md:20 61913753eb0c4c728889b47f1110be24
42944310msgid "[Maps](#maps)"
4295- msgstr ""
4311+ msgstr "[映射](#maps) "
42964312
42974313#: ../../src/topics/yaml-guide.md:21 0de824a05eea46209aafa6f9e2e8623c
42984314msgid "[Arrays](#arrays)"
4299- msgstr ""
4315+ msgstr "[数组](#arrays) "
43004316
43014317#: ../../src/topics/yaml-guide.md:22 95627bc476b3415ca4d77246125137d2
43024318msgid "[JSON Style](#json-style)"
4303- msgstr ""
4319+ msgstr "[JSON 样式](#json-style) "
43044320
43054321#: ../../src/topics/yaml-guide.md:24 3f64a6d33d9a4c22a8a839a8def82686
43064322msgid "Key-Value Pairs"
4307- msgstr ""
4323+ msgstr "键值对 "
43084324
43094325#: ../../src/topics/yaml-guide.md:26 2f74f6eaa8d84dc9b4d0a166844dedbe
43104326msgid ""
@@ -4315,6 +4331,11 @@ msgid ""
43154331"special meaning in the CWL specification and underscored key names "
43164332"otherwise. For example:"
43174333msgstr ""
4334+ "根本而言,YAML 格式的文件是一组形如 `key: value`(即“键: 值”)的_键值对_ "
4335+ "(key-value pair). 这里,冒号 `:` 后的空白字符是不可少的。CWL "
4336+ "文件中的键名不得包含空白字符——CWL 规约中有特殊含义的词组键名写为 "
4337+ "[_camelCase_][camelCase](“驼峰”大小写),无特殊含义者用下划线 (_) "
4338+ "分隔键名中的词。例如:"
43184339
43194340#: ../../src/topics/yaml-guide.md:42 514365e59d9648deb896e2068d967a64
43204341msgid ""
0 commit comments