@@ -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-11 11:16 +0000\n "
12
+ "PO-Revision-Date : 2024-10-16 10:15 +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 "
@@ -18,7 +18,7 @@ msgstr ""
18
18
"Content-Type : text/plain; charset=utf-8\n "
19
19
"Content-Transfer-Encoding : 8bit\n "
20
20
"Plural-Forms : nplurals=1; plural=0;\n "
21
- "X-Generator : Weblate 5.8-dev \n "
21
+ "X-Generator : Weblate 5.8-rc \n "
22
22
"Generated-By : Babel 2.12.1\n "
23
23
24
24
#: ../../LICENSE.md:2 a48279b2231348eea3f7a3b74a6362ac
@@ -4345,6 +4345,9 @@ msgid ""
4345
4345
"representation), Boolean (`true` or `false`), or more complex nested "
4346
4346
"types (see below)."
4347
4347
msgstr ""
4348
+ "上面这一段 YAML 包含4个键——`first_name`, `last_name`, `age_years`, 以及 `home"
4349
+ "`——及其对应的值。值可以是字符串,数值(整数,浮点数,或者科学记数法),布尔值"
4350
+ "(真值 `true` 或非真值 `false`),或者更复杂的嵌套类型(见下)。"
4348
4351
4349
4352
#: ../../src/topics/yaml-guide.md:51 6939eb7e783744d7bcf75ea0a7cae129
4350
4353
msgid ""
@@ -4356,27 +4359,34 @@ msgid ""
4356
4359
"want to specify a fixed numeric value to a command, make sure that you "
4357
4360
"wrap that numeric value in quotes: `baseCommand: [echo, \" 42\" ]`."
4358
4361
msgstr ""
4362
+ "值可以用括号包围起来,但要当心这样做可能改变其理解:`\" 1234\" ` "
4363
+ "会被当作字符串,而 `1234` "
4364
+ "为整数。有的时候,这之间的区别会很重要,例如描述命令的参数时:CWL "
4365
+ "语言中,`baseCommand` 的所有部分都必须为字符串;因此,如果你打算给命令传递一"
4366
+ "个数值常数作为参数值,那就必须将该数值用括号包围起来:`baseCommand: [echo, "
4367
+ "\" 42\" ]`."
4359
4368
4360
4369
#: ../../src/topics/yaml-guide.md:61 96e1776b09e840ebbc9b4b7e01da0e43
4361
4370
msgid "Comments"
4362
- msgstr ""
4371
+ msgstr "注释 "
4363
4372
4364
4373
#: ../../src/topics/yaml-guide.md:63 8b17f7557c3540b2b0d0beca0fe4ebc7
4365
4374
msgid ""
4366
4375
"You may use `#` to add comments to your CWL and parameter files. Any "
4367
4376
"characters to the right of ` #` will be ignored by the program "
4368
4377
"interpreting the YAML. For example:"
4369
- msgstr ""
4378
+ msgstr "在 CWL 和参数文件中,可以用 `#` 符号引入注释。每行中 ` #` "
4379
+ "之后的全部字符都会被 YAML 解释程序忽略。例如:"
4370
4380
4371
4381
#: ../../src/topics/yaml-guide.md:76 13da997c82c04023a4b7bb36b76e969d
4372
4382
msgid ""
4373
4383
"If there is anything on the line before the comment, be sure to add at "
4374
4384
"least one space before the `#`!"
4375
- msgstr ""
4385
+ msgstr "如果在某行里,注释之前有任何内容,记得 `#` 前需要至少一个空白字符! "
4376
4386
4377
4387
#: ../../src/topics/yaml-guide.md:79 b9fc191166a64450b64a8182adabad75
4378
4388
msgid "Maps"
4379
- msgstr ""
4389
+ msgstr "映射 "
4380
4390
4381
4391
#: ../../src/topics/yaml-guide.md:81 aedf8c4f615845ad91a7947217005d6e
4382
4392
msgid ""
@@ -4388,6 +4398,10 @@ msgid ""
4388
4398
"the key to which they belong (the \" parent\" ), and should be indented "
4389
4399
"with two spaces (⇥tab characters are not allowed). For example:"
4390
4400
msgstr ""
4401
+ "用 CWL 描述工具或工作流时,通常需要构造更加复杂、多级嵌套的表示。这样的层级结"
4402
+ "构称为“映射”;用 YAML 表示映射,是用一组键值对作为某个键的值。这样(作为值)"
4403
+ "的键值对有时称为“子”键值对,写为其所属键(“母”键)下另起的新行,且应该用两个"
4404
+ "空格字符增加一级缩进(制表符⇥不允许用作此目的)。例如:"
4391
4405
4392
4406
#: ../../src/topics/yaml-guide.md:104 f0f1f414f74342a89065ba5ded8668e5
4393
4407
msgid ""
@@ -4401,10 +4415,16 @@ msgid ""
4401
4415
" example YAML above, here is a graphical representation of the `inputs` "
4402
4416
"object it describes."
4403
4417
msgstr ""
4418
+ "上面的 YAML 样本展示了快速构建复杂嵌套对象描述的办法。`inputs` "
4419
+ "这个映射包含单独一个键 `example_flag`, 而后者本身又包含两个键 `type` 和 "
4420
+ "`inputBinding`; 其中,`inputBinding` 这个子键又包含另外两个键值对 (`position`"
4421
+ " 和 `prefix`). 如果要为某一个键提供多个单值或子键值对值,请参见后面的[数组](#"
4422
+ "arrays)部分。这里,我们用如下图形表示它所描述的 `inputs` 这个对象,"
4423
+ "以供与上面的 YAML 对照。"
4404
4424
4405
4425
#: ../../src/topics/yaml-guide.md:127 965405e2a45a4cbb8f227bc8ceeb05df
4406
4426
msgid "Arrays"
4407
- msgstr ""
4427
+ msgstr "数组 "
4408
4428
4409
4429
#: ../../src/topics/yaml-guide.md:129 5aca9a90fb6149529ed717992746a2f3
4410
4430
msgid ""
@@ -4416,25 +4436,31 @@ msgid ""
4416
4436
"this with an _array_, where each value is defined on its own line and "
4417
4437
"preceded by `-`. For example:"
4418
4438
msgstr ""
4439
+ "有些情况下,我们需要为某个键提供多个值或对象。如前面的[映射](#maps)部分所述,"
4440
+ "一个键下可以映射多个键值对。不过,我们还可以为某个键指定多个值,同时无需为每"
4441
+ "个值都添加一个独特的子键。这可以通过“数组”实现;数组中的每个元素值出现在 "
4442
+ "`-`(短线)符号后的新行上。例如:"
4419
4443
4420
4444
#: ../../src/topics/yaml-guide.md:146 d1c9e72e004b4fb4a6efb7748a15ab6f
4421
4445
msgid "and a more complex example combining maps and arrays:"
4422
- msgstr ""
4446
+ msgstr "以及将映射与数组结合的一个较复杂例子: "
4423
4447
4424
4448
#: ../../src/topics/yaml-guide.md:167 9a3d6879404745a48cd394bf86865dbc
4425
4449
msgid "JSON Style"
4426
- msgstr ""
4450
+ msgstr "JSON 样式 "
4427
4451
4428
4452
#: ../../src/topics/yaml-guide.md:169 6a7cca0339794e679329b00d89e29d2b
4429
4453
msgid ""
4430
4454
"YAML is based on [JavaScript Object Notation (JSON)][json]. Maps and "
4431
4455
"arrays can also be defined in YAML using the native JSON syntax. For "
4432
4456
"example:"
4433
4457
msgstr ""
4458
+ "YAML 的基础是 [JavaScript Object Notation (JSON)][json]. YAML "
4459
+ "映射与数组都可以用 JSON 原生的语法表达。例如:"
4434
4460
4435
4461
#: ../../src/topics/yaml-guide.md:177 d8feed2d36d04fe283b9de9784d91941
4436
4462
msgid "and:"
4437
- msgstr ""
4463
+ msgstr "以及: "
4438
4464
4439
4465
#: ../../src/topics/yaml-guide.md:184 5156ad32791048f8ace51475d7689575
4440
4466
msgid ""
@@ -4445,55 +4471,65 @@ msgid ""
4445
4471
"However, as the second example above shows, it can severely affect the "
4446
4472
"readability of a YAML file, and should be used sparingly."
4447
4473
msgstr ""
4474
+ "原生 JSON 可以用于表达某字段值有意为空(如使用 `[]` "
4475
+ "代表空数组),以及多个值适合出现在同一行内的情况(如为 shell "
4476
+ "命令行提供选项和参数值的时候)。不过,如上第二个例子所示,这种格式可能让 "
4477
+ "YAML 文件的可读性大打折扣,因此应慎用。"
4448
4478
4449
4479
#: ../../src/topics/yaml-guide.md:194 ce49f80e6fc0498b8ad298fb1f0268f3
4450
4480
msgid "Reference"
4451
- msgstr ""
4481
+ msgstr "参考资料 "
4452
4482
4453
4483
#: ../../src/topics/yaml-guide.md:196 180d261392a644fcb8ff47d7a4a160c0
4454
4484
msgid ""
4455
4485
"The [Learn YAML in Y Minutes][yaml-y-mins] reference was very helpful for"
4456
4486
" us while we wrote this guide, though it also covers features that are "
4457
4487
"not valid in CWL."
4458
4488
msgstr ""
4489
+ "[Learn YAML in Y Minutes][yaml-y-mins] "
4490
+ "作为参考资料在我们写作本《指南》的过程中起到了很大的帮助,"
4491
+ "不过其中介绍的部分语言特性不适用于 CWL."
4459
4492
4460
4493
#: ../../src/tutorials.md:1 d682035afebf4c128755bd4e58780dd2
4461
4494
msgid "Tutorials"
4462
- msgstr ""
4495
+ msgstr "教程 "
4463
4496
4464
4497
#: ../../src/tutorials.md:5 d9adeab63ec54084bc41fb90f264d3ae
4465
4498
msgid ""
4466
4499
"This is a list of tutorials provided by the CWL community. Use the `Edit "
4467
4500
"this page` link in the menu if you would like to add another tutorial to "
4468
4501
"the list."
4469
- msgstr ""
4502
+ msgstr "这里是 CWL 社区提供的一份教程列表。如果您想添加新的教程,请使用菜单栏中的 `"
4503
+ "Edit this page`(编辑此页面)链接。"
4470
4504
4471
4505
#: ../../src/tutorials.md:7 23c81edb650b4f86a60c5e0bcedeac1d
4472
4506
msgid "Beginner Tutorials"
4473
- msgstr ""
4507
+ msgstr "入门教程 "
4474
4508
4475
4509
#: ../../src/tutorials.md:9 87ddaa1e5f57445c8f13803722aa146e
4476
4510
msgid ""
4477
4511
"[Introduction to Workflows with Common Workflow Language: For "
4478
4512
"Contributors.](https://carpentries-incubator.github.io/cwl-novice-"
4479
4513
"tutorial/)"
4480
4514
msgstr ""
4515
+ "[Introduction to Workflows with Common Workflow Language: For "
4516
+ "Contributors.](https://carpentries-incubator.github.io/cwl-novice-tutorial/)"
4481
4517
4482
4518
#: ../../src/tutorials.md:11 b8ee193ba533498db6263e0f5f4ec45f
4483
4519
msgid "Advanced Tutorials"
4484
- msgstr ""
4520
+ msgstr "进阶教程 "
4485
4521
4486
4522
#: ../../src/tutorials.md:13 67c4b3923fce46fdab025495125c91d4
4487
4523
msgid "[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) "
4489
4525
4490
4526
#: ../../src/tutorials.md:15 e640316669104239970794191b6da38b
4491
4527
msgid "Bioinformatics Tutorials"
4492
- msgstr ""
4528
+ msgstr "生物信息学相关教程 "
4493
4529
4494
4530
#: ../../src/tutorials.md:17 efe94af44b874f9b81b245fbdee43f7f
4495
4531
msgid "[rnaseq with CWL](https://arvados.github.io/rnaseq-cwl-training/)"
4496
- msgstr ""
4532
+ msgstr "[rnaseq with CWL](https://arvados.github.io/rnaseq-cwl-training/) "
4497
4533
4498
4534
#~ msgid "In CWL, everything must be directly stated."
4499
4535
#~ msgstr "在CWL中,一切都必须直接说明。"
0 commit comments