You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msgid"Fundamentally, a file written in YAML consists of a set of _key-value pairs_. Each pair is written as `key: value`, where whitespace after the `:` is required. Key names in CWL files should not contain whitespace - [_camelCase_][camelCase] is used for multi-word key names that have special meaning in the CWL specification and underscored key names otherwise. For example:"
4298
4298
msgstr""
4299
+
"По сути, файл, написанный на языке YAML, состоит из набора пар _ключ-"
4300
+
"значение_. Каждая пара записывается как `ключ: значение`, где пробелы после "
4301
+
"`:` обязательны. Имена ключей в файлах CWL не должны содержать пробельных "
4302
+
"символов - [_camelCase_][camelCase] используется для многословных имен "
4303
+
"ключей, которые имеют особое значение в спецификации CWL, и подчеркивания в "
4304
+
"других именах ключей. Например:"
4299
4305
4300
4306
#:../../src/topics/yaml-guide.md:42
4301
4307
#: 98cae24919b74c088a5d89706aec581b
4302
4308
msgid"The YAML above defines four keys - `first_name`, `last_name`, `age_years`, and `home` - with their four respective values. Values can be character strings, numeric (integer, floating point, or scientific representation), Boolean (`true` or `false`), or more complex nested types (see below)."
4303
4309
msgstr""
4310
+
"В приведенном выше YAML определены четыре ключа - `first_name`, `last_name`, "
4311
+
"`age_years` и `home` - и четыре соответствующих им значения. Значения могут "
4312
+
"быть символьными строками, числовыми (целое число, число с плавающей точкой "
4313
+
"или научное представление), булевыми (`true` или `false`) или более сложными "
4314
+
"вложенными типами (см. ниже)."
4304
4315
4305
4316
#:../../src/topics/yaml-guide.md:51
4306
4317
#: b4b0940b4b5743c09637b36b964202d0
4307
4318
msgid"Values may be wrapped in quotation marks, but be aware that this may change the way that they are interpreted i.e. `\"1234\"` will be treated as a character string , while `1234` will be treated as an integer. This distinction can be important, for example when describing parameters to a command: in CWL all parts of `baseCommand` must be strings so, if you want to specify a fixed numeric value to a command, make sure that you wrap that numeric value in quotes: `baseCommand: [echo, \"42\"]`."
4308
4319
msgstr""
4320
+
"Значения могут быть заключены в кавычки, но имейте в виду, что это может "
4321
+
"изменить способ их интерпретации, например, `\"1234\"` будет рассматриваться "
4322
+
"как символьная строка, а `1234` будет рассматриваться как целое число. Это "
4323
+
"различие может быть важным, например, при описании параметров команды: в CWL "
4324
+
"все части `baseCommand` должны быть строками, поэтому, если вы хотите "
4325
+
"указать фиксированное числовое значение для команды, убедитесь, что вы "
4326
+
"обернули это числовое значение в кавычки: `baseCommand: [echo, \"42\"]`."
4309
4327
4310
4328
#:../../src/topics/yaml-guide.md:61
4311
4329
#: dcdaadc7dfff4ebc9fef0d5d05b34cc1
4312
4330
msgid"Comments"
4313
-
msgstr""
4331
+
msgstr"Комментарии"
4314
4332
4315
4333
#:../../src/topics/yaml-guide.md:63
4316
4334
#: 9ca3554d771d45998e88aaede525b227
4317
4335
msgid"You may use `#` to add comments to your CWL and parameter files. Any characters to the right of ` #` will be ignored by the program interpreting the YAML. For example:"
4318
4336
msgstr""
4337
+
"Вы можете использовать `#` для добавления комментариев к файлам CWL и "
4338
+
"параметрам. Любые символы справа от `#` будут игнорироваться программой, "
4339
+
"интерпретирующей YAML. Например:"
4319
4340
4320
4341
#:../../src/topics/yaml-guide.md:76
4321
4342
#: 3fca839cede94cfd8e4f605c73ba699d
4322
4343
msgid"If there is anything on the line before the comment, be sure to add at least one space before the `#`!"
4323
4344
msgstr""
4345
+
"Если в строке перед комментарием что-то есть, не забудьте добавить хотя бы "
4346
+
"один пробел перед `#`!"
4324
4347
4325
4348
#:../../src/topics/yaml-guide.md:79
4326
4349
#: da34c635707345b2a5e85a2fcd30bbaf
4327
4350
msgid"Maps"
4328
-
msgstr""
4351
+
msgstr"Карты"
4329
4352
4330
4353
#:../../src/topics/yaml-guide.md:81
4331
4354
#: 3ded0f125249485c921994b6e6b93ac9
4332
4355
msgid"When describing a tool or workflow with CWL, it is usually necessary to construct more complex, nested representations. Referred to as _maps_, these hierarchical structures are described in YAML by providing additional key-value pairs as the value of any key. These pairs (sometimes referred to as \"children\") are written on new lines under the key to which they belong (the \"parent\"), and should be indented with two spaces (⇥tab characters are not allowed). For example:"
4333
4356
msgstr""
4357
+
"При описании инструмента или рабочего процесса с помощью CWL обычно "
4358
+
"необходимо создавать более сложные, вложенные представления. Эти "
4359
+
"иерархические структуры, называемые _картой_, описываются в YAML путем "
4360
+
"предоставления дополнительных пар ключ-значение в качестве значения любого "
4361
+
"ключа. Эти пары (иногда называемые \"дочерними\") записываются на новых "
4362
+
"строках под ключом, к которому они относятся (\"родительским\"), и должны "
4363
+
"быть отступлены двумя пробелами (символы ⇥tab не допускаются). Например:"
4334
4364
4335
4365
#:../../src/topics/yaml-guide.md:104
4336
4366
#: 53ece35d309a4c8d99f1efb2122a7092
4337
4367
msgid"The YAML above illustrates how to build up complex nested object descriptions relatively quickly. The `inputs` map contains a single key, `example_flag`, which itself contains two keys, `type` and `inputBinding`, while one of these children, `inputBinding`, contains a further two key-value pairs (`position` and `prefix`). See the [Arrays](#arrays) section below for more information about providing multiple values/key-value pairs for a single key. For comparison with the example YAML above, here is a graphical representation of the `inputs` object it describes."
4338
4368
msgstr""
4369
+
"Приведенный выше YAML иллюстрирует, как можно относительно быстро создавать "
4370
+
"сложные вложенные описания объектов. Карта `inputs` содержит один ключ, "
4371
+
"`example_flag`, который сам содержит два ключа, `type` и `inputBinding`, а "
4372
+
"один из этих дочерних элементов, `inputBinding`, содержит еще две пары ключ-"
4373
+
"значение (`position` и `prefix`). Дополнительную информацию о предоставлении "
4374
+
"нескольких значений/пар ключ-значение для одного ключа см. в разделе [Arrays]"
4375
+
"(#arrays) ниже. Для сравнения с приведенным выше примером YAML здесь "
4376
+
"показано графическое представление объекта `inputs`, который он описывает."
4339
4377
4340
4378
#:../../src/topics/yaml-guide.md:127
4341
4379
#: d74321b111d84ae7a515f2f17dd39e23
4342
4380
msgid"Arrays"
4343
-
msgstr""
4381
+
msgstr"Массивы"
4344
4382
4345
4383
#:../../src/topics/yaml-guide.md:129
4346
4384
#: 7fc0bdf2489a44f2a29e71b86f7c0055
4347
4385
msgid"In certain circumstances, it is necessary to provide multiple values or objects for a single key. As we've already seen in the [Maps](#maps) section above, more than one key-value pair can be mapped to a single key. However, it is also possible to define multiple values for a key without having to provide a unique key for each value. We can achieve this with an _array_, where each value is defined on its own line and preceded by `-`. For example:"
4348
4386
msgstr""
4387
+
"В некоторых случаях необходимо предоставить несколько значений или объектов "
4388
+
"для одного ключа. Как мы уже видели в разделе [Maps](#maps) выше, более "
4389
+
"одной пары ключ-значение может быть сопоставлено одному ключу. Однако можно "
4390
+
"также определить несколько значений для ключа без необходимости "
4391
+
"предоставлять уникальный ключ для каждого значения. Этого можно добиться с "
4392
+
"помощью _массива_, где каждое значение задается в отдельной строке и "
4393
+
"предваряется символом `-`. Например:"
4349
4394
4350
4395
#:../../src/topics/yaml-guide.md:146
4351
4396
#: fd64dd818ec64bb6aa9a11586a5747f6
4352
4397
msgid"and a more complex example combining maps and arrays:"
4353
-
msgstr""
4398
+
msgstr"и более сложный пример, сочетающий карты и массивы:"
4354
4399
4355
4400
#:../../src/topics/yaml-guide.md:167
4356
4401
#: 8c06e542dd4144fa83388d8142552c8d
4357
4402
msgid"JSON Style"
4358
-
msgstr""
4403
+
msgstr"JSON Стиль"
4359
4404
4360
4405
#:../../src/topics/yaml-guide.md:169
4361
4406
#: 87bafb845c714b109874f6137b84462d
4362
4407
msgid"YAML is based on [JavaScript Object Notation (JSON)][json]. Maps and arrays can also be defined in YAML using the native JSON syntax. For example:"
4363
4408
msgstr""
4409
+
"YAML основан на [JavaScript Object Notation (JSON)][json]. Карты и массивы "
4410
+
"также могут быть определены в YAML с использованием собственного синтаксиса "
4411
+
"JSON. Например:"
4364
4412
4365
4413
#:../../src/topics/yaml-guide.md:177
4366
4414
#: 5ab9ddf613a540a2b8228e37600cc5dc
4367
4415
msgid"and:"
4368
-
msgstr""
4416
+
msgstr"и:"
4369
4417
4370
4418
#:../../src/topics/yaml-guide.md:184
4371
4419
#: fcd05b1ef31a4046946a2399c7fc5575
4372
4420
msgid"Native JSON can be useful in indicating where a field is intentionally left empty (such as `[]` for an empty array), as well as where it makes more sense for the values to be located on the same line (For example, when providing option flags and their values in a shell command). However, as the second example above shows, it can severely affect the readability of a YAML file, and should be used sparingly."
4373
4421
msgstr""
4422
+
"Родной JSON может быть полезен для указания полей, которые намеренно "
4423
+
"оставлены пустыми (например, `[]` для пустого массива), а также в тех "
4424
+
"случаях, когда значения имеет смысл располагать в одной строке (например, "
4425
+
"при указании флагов опций и их значений в команде оболочки). Однако, как "
4426
+
"видно из второго примера, это может сильно ухудшить читаемость YAML-файла, "
4427
+
"поэтому использовать его следует осторожно."
4374
4428
4375
4429
#:../../src/topics/yaml-guide.md:194
4376
4430
#: f4b8fc8236044fada420def13a02813d
4377
4431
msgid"Reference"
4378
-
msgstr""
4432
+
msgstr"Ссылка"
4379
4433
4380
4434
#:../../src/topics/yaml-guide.md:196
4381
4435
#: 859368c1f25c4a4aad57abfd046c63f5
4382
4436
msgid"The [Learn YAML in Y Minutes][yaml-y-mins] reference was very helpful for us while we wrote this guide, though it also covers features that are not valid in CWL."
4383
4437
msgstr""
4438
+
"Ссылка [Learn YAML in Y Minutes][yaml-y-mins] была очень полезна для нас при "
4439
+
"написании этого руководства, хотя в ней также рассматриваются функции, "
4440
+
"которые не применимы в CWL."
4384
4441
4385
4442
#:../../src/tutorials.md:1
4386
4443
#: 2203c93f02ac4514a43508ecb98dfcc5
4387
4444
msgid"Tutorials"
4388
-
msgstr""
4445
+
msgstr"Учебники"
4389
4446
4390
4447
#:../../src/tutorials.md:5
4391
4448
#: 5d92464923c245818c070fbef102be89
4392
4449
msgid"This is a list of tutorials provided by the CWL community. Use the `Edit this page` link in the menu if you would like to add another tutorial to the list."
4393
4450
msgstr""
4451
+
"Это список учебников, предоставленных сообществом CWL. Если вы хотите "
4452
+
"добавить в список еще один учебник, воспользуйтесь ссылкой `Редактировать "
4453
+
"эту страницу` в меню."
4394
4454
4395
4455
#:../../src/tutorials.md:7
4396
4456
#: 8a5cd557dab5456bb41cdc24af73b50c
4397
4457
msgid"Beginner Tutorials"
4398
-
msgstr""
4458
+
msgstr"Учебники для начинающих"
4399
4459
4400
4460
#:../../src/tutorials.md:9
4401
4461
#: 13d7e2e92e96432787c712cf6a595424
4402
4462
msgid"[Introduction to Workflows with Common Workflow Language: For Contributors.](https://carpentries-incubator.github.io/cwl-novice-tutorial/)"
4403
4463
msgstr""
4464
+
"[Введение в рабочие процессы с помощью Common Workflow Language: Для "
0 commit comments