@@ -9,7 +9,7 @@ msgstr ""
9
9
"Project-Id-Version : Common Workflow Language User Guide\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
11
"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 "
13
13
"
Last-Translator :
Zoë Ma <[email protected] >\n "
14
14
"Language-Team : Chinese (Simplified Han script) <https://hosted.weblate.org/ "
15
15
"projects/commonwl/user-guide/zh_Hans/>\n "
@@ -4202,6 +4202,9 @@ msgid ""
4202
4202
" make an entire workflow a single step in another workflow! Convert our "
4203
4203
"two-step workflow to a single step subworkflow:"
4204
4204
msgstr ""
4205
+ "好的,那么,我们对不依赖其它样本、可以独立进行的步骤,该如何分散?请回想[嵌套"
4206
+ "的工作流](#nested-workflows)部分,其中写道,我们可以让整个工作流称为另一个工"
4207
+ "作流中的一个步骤!我们将两步骤的工作流改写为单一步骤的子工作流:"
4205
4208
4206
4209
#: ../../src/topics/workflows.md:513 fac138ba275745898b763a7d719a8235
4207
4210
msgid "`scatter-nested-workflow.cwl`"
@@ -4211,18 +4214,20 @@ msgstr "`scatter-nested-workflow.cwl`"
4211
4214
msgid ""
4212
4215
"Now the scatter acts on a single step, but that step consists of two "
4213
4216
"steps so each step is performed in parallel."
4214
- msgstr ""
4217
+ msgstr "这样,分散就可以针对一个单独的步骤进行,不过该步骤本身分为两个子步骤。这就让"
4218
+ "每个分散的步骤并行进行。"
4215
4219
4216
4220
#: ../../src/topics/workflows.md:522 b0bf01dad1234a1db3c87b10953e42ef
4217
4221
msgid "Conditional Workflows"
4218
- msgstr ""
4222
+ msgstr "条件性工作流 "
4219
4223
4220
4224
#: ../../src/topics/workflows.md:524 8d933ed1ec6e408589f781e3a425b869
4221
4225
msgid ""
4222
4226
"This workflow contains a conditional step and is executed based on the "
4223
4227
"input. This allows workflows to skip additional steps based on input "
4224
4228
"parameters given at the start of the program or by previous steps."
4225
- msgstr ""
4229
+ msgstr "这个工作流包含一个取决于输入的有条件步骤,可以根据程序起始或先前步骤给出的输"
4230
+ "入参数决定是否跳过某些额外步骤。"
4226
4231
4227
4232
#: ../../src/topics/workflows.md:527 9ac7b4f71621411da9a4ca3bc277dcb0
4228
4233
msgid "`conditional-workflow.cwl`"
@@ -4232,7 +4237,7 @@ msgstr "`conditional-workflow.cwl`"
4232
4237
msgid ""
4233
4238
"The first thing you'll notice is that this workflow is only compatible "
4234
4239
"for version 1.2 or greater of the CWL standards."
4235
- msgstr ""
4240
+ msgstr "首先要注意,这个工作流只能兼容于版本1.2或以上的 CWL 标准。 "
4236
4241
4237
4242
#: ../../src/topics/workflows.md:573 4742fe09a4264fb8be6f092519de5d72
4238
4243
msgid ""
@@ -4242,6 +4247,9 @@ msgid ""
4242
4247
"`in1` from the workflow contains a value `< 1` this step will be "
4243
4248
"executed."
4244
4249
msgstr ""
4250
+ "工作流的第一个步骤 (step1) 包含两个输入字段,它将在条件满足时执行 foo.cwl. "
4251
+ "这里新出现的字段 `when` 就是进行条件检验的地方。这个例子里,只有当 `in1` "
4252
+ "从工作流获取的值小于1 (`< 1`) 时,此步骤才会执行。"
4245
4253
4246
4254
#: ../../src/topics/workflows.md:587 b33ecd2b8af042feb08687e32d4b6bbf
4247
4255
msgid ""
@@ -4250,61 +4258,69 @@ msgid ""
4250
4258
"is shown in the log by `INFO [step step1] start` whereas the second step "
4251
4259
"is skipped as indicated by `INFO [step step2] will be skipped`."
4252
4260
msgstr ""
4261
+ "使用命令如 `cwltool cond-wf-003.1.cwl --val 0`, 则输入参数值 (0) "
4262
+ "将满足第一个步骤的条件,从而使之得到执行,并且在日志中以 `INFO [step step1] "
4263
+ "start` 出现。相反,第二个步骤则跳过了,即日志中 `INFO [step step2] will be "
4264
+ "skipped` 所记。"
4253
4265
4254
4266
#: ../../src/topics/workflows.md:607 7cd80b31a94543358ece7a2d413adce9
4255
4267
msgid ""
4256
4268
"When a value of 3 is given the first conditional step will not be "
4257
4269
"executed but the second step will `cwltool cond-wf-003.1.cwl --val 3`."
4258
4270
msgstr ""
4271
+ "当参数值为3, 如命令 `cwltool cond-wf-003.1.cwl --val 3` "
4272
+ "所给出,则第一个条件行步骤不会执行,反之第二个会。"
4259
4273
4260
4274
#: ../../src/topics/workflows.md:627 9679e32f65e0482a8b083387e4a18c1f
4261
4275
msgid ""
4262
4276
"If no conditions are met for example when using `--val 2` the workflow "
4263
4277
"will raise a permanentFail."
4264
- msgstr ""
4278
+ msgstr "如果条件都不成立,如用 `--val 2` 所导致的,则工作流将发起 permanentFail "
4279
+ "异常。"
4265
4280
4266
4281
#: ../../src/topics/yaml-guide.md:1 4fa76441f95d45fab76ab7eef8d7d4d2
4267
4282
msgid "YAML Guide"
4268
- msgstr ""
4283
+ msgstr "YAML 语言指南 "
4269
4284
4270
4285
#: ../../src/topics/yaml-guide.md:6 705765787eb84ecaae004194225924cb
4271
4286
msgid ""
4272
4287
"[YAML][yaml] is a file format designed to be readable by both computers "
4273
4288
"and humans. This guide introduces the features of YAML that are relevant "
4274
4289
"when writing CWL descriptions and input parameter files."
4275
- msgstr ""
4290
+ msgstr "[YAML][yaml] 是一种让计算机和人都能读懂的文件格式。这部分指南主要针对编写 "
4291
+ "CWL 描述和输入参数文件,介绍 YAML 的特性。"
4276
4292
4277
4293
#: ../../src/topics/yaml-guide.md:13 cb243f6ab11f48ffb5c91945c4e0d101
4278
4294
msgid "You can skip this section if you are already comfortable with YAML."
4279
- msgstr ""
4295
+ msgstr "如果你已经能够得心应手地运用 YAML, 这一部分可以跳过。 "
4280
4296
4281
4297
#: ../../src/topics/yaml-guide.md:16 cfc95d15e33a492f842649f92ced941d
4282
4298
msgid "Contents"
4283
- msgstr ""
4299
+ msgstr "目录 "
4284
4300
4285
4301
#: ../../src/topics/yaml-guide.md:18 f618d44d202f4c2ea6ff72a1dca2c659
4286
4302
msgid "[Key-Value Pairs](#key-value-pairs)"
4287
- msgstr ""
4303
+ msgstr "[键值对](#key-value-pairs) "
4288
4304
4289
4305
#: ../../src/topics/yaml-guide.md:19 36bfa6ed40c54bd99826bedff12c759d
4290
4306
msgid "[Comments](#comments)"
4291
- msgstr ""
4307
+ msgstr "[注释](#comments) "
4292
4308
4293
4309
#: ../../src/topics/yaml-guide.md:20 61913753eb0c4c728889b47f1110be24
4294
4310
msgid "[Maps](#maps)"
4295
- msgstr ""
4311
+ msgstr "[映射](#maps) "
4296
4312
4297
4313
#: ../../src/topics/yaml-guide.md:21 0de824a05eea46209aafa6f9e2e8623c
4298
4314
msgid "[Arrays](#arrays)"
4299
- msgstr ""
4315
+ msgstr "[数组](#arrays) "
4300
4316
4301
4317
#: ../../src/topics/yaml-guide.md:22 95627bc476b3415ca4d77246125137d2
4302
4318
msgid "[JSON Style](#json-style)"
4303
- msgstr ""
4319
+ msgstr "[JSON 样式](#json-style) "
4304
4320
4305
4321
#: ../../src/topics/yaml-guide.md:24 3f64a6d33d9a4c22a8a839a8def82686
4306
4322
msgid "Key-Value Pairs"
4307
- msgstr ""
4323
+ msgstr "键值对 "
4308
4324
4309
4325
#: ../../src/topics/yaml-guide.md:26 2f74f6eaa8d84dc9b4d0a166844dedbe
4310
4326
msgid ""
@@ -4315,6 +4331,11 @@ msgid ""
4315
4331
"special meaning in the CWL specification and underscored key names "
4316
4332
"otherwise. For example:"
4317
4333
msgstr ""
4334
+ "根本而言,YAML 格式的文件是一组形如 `key: value`(即“键: 值”)的_键值对_ "
4335
+ "(key-value pair). 这里,冒号 `:` 后的空白字符是不可少的。CWL "
4336
+ "文件中的键名不得包含空白字符——CWL 规约中有特殊含义的词组键名写为 "
4337
+ "[_camelCase_][camelCase](“驼峰”大小写),无特殊含义者用下划线 (_) "
4338
+ "分隔键名中的词。例如:"
4318
4339
4319
4340
#: ../../src/topics/yaml-guide.md:42 514365e59d9648deb896e2068d967a64
4320
4341
msgid ""
0 commit comments