@crowdin/n8n-nodes-crowdin 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +62 -16
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +1509 -301
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js +1243 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +8 -3
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +15 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js +9 -6
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +199 -15
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +59 -31
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js +652 -11
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js +21 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +4 -3
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js +94 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +1163 -30
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js +678 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +62 -16
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1509 -301
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js +1243 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +8 -3
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +15 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +199 -15
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js +579 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js +21 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +4 -3
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +1101 -30
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js +678 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +63 -21
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +1513 -305
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +7 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js +9 -6
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +390 -7
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +59 -31
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js +652 -11
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +3 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js +94 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +1163 -30
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +63 -21
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +1513 -305
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +2 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +7 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +390 -7
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js +579 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +3 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +1101 -30
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -381,7 +381,7 @@ exports.translationsProperties = [
|
|
|
381
381
|
name: 'Import Translations',
|
|
382
382
|
value: 'api.projects.translations.enterprise.imports',
|
|
383
383
|
action: 'Import Translations',
|
|
384
|
-
description: '**Required scopes:** `project.translation` (Read and Write).',
|
|
384
|
+
description: '**Required scopes:** `project.translation` (Read and Write).\n\nStarts an [asynchronous operation](#section/Introduction/Asynchronous-Operations) that imports translations from a file uploaded to storage, and returns its `identifier`. Poll [Import Translations Status](#operation/api.projects.translations.enterprise.imports.get) for its `status`.\n\n__Note:__ Up to 10 imports can run at once in a project, and up to 20 across all projects of the organization. A request over the limit returns `429`; wait at least the number of seconds in the `Retry-After` header before retrying.',
|
|
385
385
|
routing: {
|
|
386
386
|
request: {
|
|
387
387
|
method: 'POST',
|
|
@@ -412,6 +412,130 @@ exports.translationsProperties = [
|
|
|
412
412
|
url: '=/projects/{{$parameter["projectId"]}}/translations/imports/{{$parameter["importTranslationId"]}}/report'
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
name: 'Replace Text in Translations',
|
|
418
|
+
value: 'api.projects.translations.replacements.post',
|
|
419
|
+
action: 'Replace Text in Translations',
|
|
420
|
+
description: '**Required scopes:** `project.translation` (Read and Write).\n\nFinds a text in the project translations and replaces it, as an [asynchronous operation](#section/Introduction/Asynchronous-Operations). Start with `dryRun` set to `true`, review the result via [Get Translation Replacement Summary](#operation/api.projects.translations.replacements.summary.get) and [List Translation Replacement Matches](#operation/api.projects.translations.replacements.matches.getMany), then run the replacement for real, optionally passing the chosen `translationIds`. A finished replacement can be undone via [Revert Translation Replacement](#operation/api.projects.translations.replacements.reverts.post). In the languages you proofread, any translation is replaced, approved ones included. In the languages you only translate, only your own translations without approvals are replaced. Translations of protected strings are skipped and counted in the summary.\n\n__Note:__ Only one translation replacement that is not a dry run, or one revert, can run in a project at a time, and a replacement can match up to 10000 translations',
|
|
421
|
+
routing: {
|
|
422
|
+
request: {
|
|
423
|
+
method: 'POST',
|
|
424
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements'
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
name: 'Get Translation Replacement Status',
|
|
430
|
+
value: 'api.projects.translations.replacements.get',
|
|
431
|
+
action: 'Get Translation Replacement Status',
|
|
432
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the status and progress of a translation replacement started via [Replace Text in Translations](#operation/api.projects.translations.replacements.post). Only the user who started the replacement can get it.',
|
|
433
|
+
routing: {
|
|
434
|
+
request: {
|
|
435
|
+
method: 'GET',
|
|
436
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}'
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
name: 'List Translation Replacement Matches',
|
|
442
|
+
value: 'api.projects.translations.replacements.matches.getMany',
|
|
443
|
+
action: 'List Translation Replacement Matches',
|
|
444
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the translations of a translation replacement, sorted by translation ID. For a dry run, lists the translations a real run would change, each with its current text and the text the replacement would produce from it. For a real run, lists the translations that were changed, each with its text before the replacement and its current text. Skipped translations are not listed, and neither are translations deleted since the replacement, so a page can hold fewer items than `limit`.\n\n__Note:__ Matches are available as long as the replacement exists',
|
|
445
|
+
routing: {
|
|
446
|
+
request: {
|
|
447
|
+
method: 'GET',
|
|
448
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/matches'
|
|
449
|
+
},
|
|
450
|
+
send: {
|
|
451
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
452
|
+
},
|
|
453
|
+
output: {
|
|
454
|
+
postReceive: [
|
|
455
|
+
{
|
|
456
|
+
type: 'rootProperty',
|
|
457
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
458
|
+
properties: {
|
|
459
|
+
property: 'data'
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: 'List Translation Replacement Reverts',
|
|
468
|
+
value: 'api.projects.translations.replacements.reverts.getMany',
|
|
469
|
+
action: 'List Translation Replacement Reverts',
|
|
470
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the reverts of a translation replacement, oldest first. A revert that failed or was canceled can be started again, so the list holds every attempt. Only the user who started the replacement can list its reverts.',
|
|
471
|
+
routing: {
|
|
472
|
+
request: {
|
|
473
|
+
method: 'GET',
|
|
474
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts'
|
|
475
|
+
},
|
|
476
|
+
send: {
|
|
477
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
478
|
+
},
|
|
479
|
+
output: {
|
|
480
|
+
postReceive: [
|
|
481
|
+
{
|
|
482
|
+
type: 'rootProperty',
|
|
483
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
484
|
+
properties: {
|
|
485
|
+
property: 'data'
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: 'Revert Translation Replacement',
|
|
494
|
+
value: 'api.projects.translations.replacements.reverts.post',
|
|
495
|
+
action: 'Revert Translation Replacement',
|
|
496
|
+
description: '**Required scopes:** `project.translation` (Read and Write).\n\nRestores the translations a finished replacement changed to their text before the replacement, as an [asynchronous operation](#section/Introduction/Asynchronous-Operations). Exactly the translations the replacement changed are restored. Translations changed or deleted after the replacement, for example by an undo, are left as they are and counted as skipped in [Get Translation Replacement Revert Summary](#operation/api.projects.translations.replacements.reverts.summary.get). The request body can be omitted or empty.\n\n__Note:__ A replacement can be reverted within 7 days after it finished. A revert that failed or was canceled can be started again',
|
|
497
|
+
routing: {
|
|
498
|
+
request: {
|
|
499
|
+
method: 'POST',
|
|
500
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts'
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
name: 'Get Translation Replacement Revert Status',
|
|
506
|
+
value: 'api.projects.translations.replacements.reverts.get',
|
|
507
|
+
action: 'Get Translation Replacement Revert Status',
|
|
508
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the status and progress of a translation replacement revert started via [Revert Translation Replacement](#operation/api.projects.translations.replacements.reverts.post). The counters of the revert are returned by [Get Translation Replacement Revert Summary](#operation/api.projects.translations.replacements.reverts.summary.get).',
|
|
509
|
+
routing: {
|
|
510
|
+
request: {
|
|
511
|
+
method: 'GET',
|
|
512
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts/{{$parameter["revertId"]}}'
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
name: 'Get Translation Replacement Revert Summary',
|
|
518
|
+
value: 'api.projects.translations.replacements.reverts.summary.get',
|
|
519
|
+
action: 'Get Translation Replacement Revert Summary',
|
|
520
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the counters of a translation replacement revert: how many translations were restored and how many were left as they are. Every translation the replacement changed is either restored or skipped.\n\n__Note:__ The counters are final once the revert status is `finished`',
|
|
521
|
+
routing: {
|
|
522
|
+
request: {
|
|
523
|
+
method: 'GET',
|
|
524
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts/{{$parameter["revertId"]}}/summary'
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
name: 'Get Translation Replacement Summary',
|
|
530
|
+
value: 'api.projects.translations.replacements.summary.get',
|
|
531
|
+
action: 'Get Translation Replacement Summary',
|
|
532
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the counters of a translation replacement: how many translations matched, how many were changed and how many were skipped, and why. Every matched translation is either changed or skipped.\n\n__Note:__ The counters are final once the replacement status is `finished`',
|
|
533
|
+
routing: {
|
|
534
|
+
request: {
|
|
535
|
+
method: 'GET',
|
|
536
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/summary'
|
|
537
|
+
}
|
|
538
|
+
}
|
|
415
539
|
}
|
|
416
540
|
],
|
|
417
541
|
default: 'api.projects.bundles.getMany'
|
|
@@ -910,6 +1034,158 @@ exports.translationsProperties = [
|
|
|
910
1034
|
}
|
|
911
1035
|
}
|
|
912
1036
|
},
|
|
1037
|
+
{
|
|
1038
|
+
displayName: 'POST /projects/{projectId}/translations/replacements',
|
|
1039
|
+
name: 'operation',
|
|
1040
|
+
type: 'notice',
|
|
1041
|
+
typeOptions: {
|
|
1042
|
+
theme: 'info'
|
|
1043
|
+
},
|
|
1044
|
+
default: '',
|
|
1045
|
+
displayOptions: {
|
|
1046
|
+
show: {
|
|
1047
|
+
resource: [
|
|
1048
|
+
'translations'
|
|
1049
|
+
],
|
|
1050
|
+
operation: [
|
|
1051
|
+
'api.projects.translations.replacements.post'
|
|
1052
|
+
]
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}',
|
|
1058
|
+
name: 'operation',
|
|
1059
|
+
type: 'notice',
|
|
1060
|
+
typeOptions: {
|
|
1061
|
+
theme: 'info'
|
|
1062
|
+
},
|
|
1063
|
+
default: '',
|
|
1064
|
+
displayOptions: {
|
|
1065
|
+
show: {
|
|
1066
|
+
resource: [
|
|
1067
|
+
'translations'
|
|
1068
|
+
],
|
|
1069
|
+
operation: [
|
|
1070
|
+
'api.projects.translations.replacements.get'
|
|
1071
|
+
]
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/matches',
|
|
1077
|
+
name: 'operation',
|
|
1078
|
+
type: 'notice',
|
|
1079
|
+
typeOptions: {
|
|
1080
|
+
theme: 'info'
|
|
1081
|
+
},
|
|
1082
|
+
default: '',
|
|
1083
|
+
displayOptions: {
|
|
1084
|
+
show: {
|
|
1085
|
+
resource: [
|
|
1086
|
+
'translations'
|
|
1087
|
+
],
|
|
1088
|
+
operation: [
|
|
1089
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
1090
|
+
]
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/reverts',
|
|
1096
|
+
name: 'operation',
|
|
1097
|
+
type: 'notice',
|
|
1098
|
+
typeOptions: {
|
|
1099
|
+
theme: 'info'
|
|
1100
|
+
},
|
|
1101
|
+
default: '',
|
|
1102
|
+
displayOptions: {
|
|
1103
|
+
show: {
|
|
1104
|
+
resource: [
|
|
1105
|
+
'translations'
|
|
1106
|
+
],
|
|
1107
|
+
operation: [
|
|
1108
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
1109
|
+
]
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
displayName: 'POST /projects/{projectId}/translations/replacements/{replacementId}/reverts',
|
|
1115
|
+
name: 'operation',
|
|
1116
|
+
type: 'notice',
|
|
1117
|
+
typeOptions: {
|
|
1118
|
+
theme: 'info'
|
|
1119
|
+
},
|
|
1120
|
+
default: '',
|
|
1121
|
+
displayOptions: {
|
|
1122
|
+
show: {
|
|
1123
|
+
resource: [
|
|
1124
|
+
'translations'
|
|
1125
|
+
],
|
|
1126
|
+
operation: [
|
|
1127
|
+
'api.projects.translations.replacements.reverts.post'
|
|
1128
|
+
]
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/reverts/{revertId}',
|
|
1134
|
+
name: 'operation',
|
|
1135
|
+
type: 'notice',
|
|
1136
|
+
typeOptions: {
|
|
1137
|
+
theme: 'info'
|
|
1138
|
+
},
|
|
1139
|
+
default: '',
|
|
1140
|
+
displayOptions: {
|
|
1141
|
+
show: {
|
|
1142
|
+
resource: [
|
|
1143
|
+
'translations'
|
|
1144
|
+
],
|
|
1145
|
+
operation: [
|
|
1146
|
+
'api.projects.translations.replacements.reverts.get'
|
|
1147
|
+
]
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/reverts/{revertId}/summary',
|
|
1153
|
+
name: 'operation',
|
|
1154
|
+
type: 'notice',
|
|
1155
|
+
typeOptions: {
|
|
1156
|
+
theme: 'info'
|
|
1157
|
+
},
|
|
1158
|
+
default: '',
|
|
1159
|
+
displayOptions: {
|
|
1160
|
+
show: {
|
|
1161
|
+
resource: [
|
|
1162
|
+
'translations'
|
|
1163
|
+
],
|
|
1164
|
+
operation: [
|
|
1165
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
1166
|
+
]
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/summary',
|
|
1172
|
+
name: 'operation',
|
|
1173
|
+
type: 'notice',
|
|
1174
|
+
typeOptions: {
|
|
1175
|
+
theme: 'info'
|
|
1176
|
+
},
|
|
1177
|
+
default: '',
|
|
1178
|
+
displayOptions: {
|
|
1179
|
+
show: {
|
|
1180
|
+
resource: [
|
|
1181
|
+
'translations'
|
|
1182
|
+
],
|
|
1183
|
+
operation: [
|
|
1184
|
+
'api.projects.translations.replacements.summary.get'
|
|
1185
|
+
]
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
913
1189
|
{
|
|
914
1190
|
displayName: 'Project Id',
|
|
915
1191
|
name: 'projectId',
|
|
@@ -4308,44 +4584,859 @@ exports.translationsProperties = [
|
|
|
4308
4584
|
}
|
|
4309
4585
|
},
|
|
4310
4586
|
{
|
|
4311
|
-
displayName: '
|
|
4312
|
-
name: '
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
default:
|
|
4587
|
+
displayName: 'Project Id',
|
|
4588
|
+
name: 'projectId',
|
|
4589
|
+
required: true,
|
|
4590
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
4591
|
+
default: '',
|
|
4592
|
+
type: 'options',
|
|
4316
4593
|
displayOptions: {
|
|
4317
4594
|
show: {
|
|
4318
4595
|
resource: [
|
|
4319
4596
|
'translations'
|
|
4320
4597
|
],
|
|
4321
4598
|
operation: [
|
|
4322
|
-
'api.projects.
|
|
4599
|
+
'api.projects.translations.replacements.post'
|
|
4323
4600
|
]
|
|
4324
4601
|
}
|
|
4325
4602
|
},
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4603
|
+
typeOptions: {
|
|
4604
|
+
loadOptionsMethod: 'getProjects'
|
|
4605
|
+
}
|
|
4606
|
+
},
|
|
4607
|
+
{
|
|
4608
|
+
displayName: 'Text',
|
|
4609
|
+
required: true,
|
|
4610
|
+
name: 'text',
|
|
4611
|
+
type: 'string',
|
|
4612
|
+
default: '',
|
|
4613
|
+
description: 'Text to find in the translations, 1 to 128 characters. Matched literally, without regular expressions',
|
|
4614
|
+
routing: {
|
|
4615
|
+
send: {
|
|
4616
|
+
property: 'text',
|
|
4617
|
+
propertyInDotNotation: false,
|
|
4618
|
+
type: 'body',
|
|
4619
|
+
value: '={{ $value || undefined }}'
|
|
4620
|
+
}
|
|
4621
|
+
},
|
|
4622
|
+
displayOptions: {
|
|
4623
|
+
show: {
|
|
4624
|
+
resource: [
|
|
4625
|
+
'translations'
|
|
4626
|
+
],
|
|
4627
|
+
operation: [
|
|
4628
|
+
'api.projects.translations.replacements.post'
|
|
4629
|
+
]
|
|
4630
|
+
}
|
|
4631
|
+
},
|
|
4632
|
+
placeholder: 'Робочий простір'
|
|
4633
|
+
},
|
|
4634
|
+
{
|
|
4635
|
+
displayName: 'Replace With',
|
|
4636
|
+
required: true,
|
|
4637
|
+
name: 'replaceWith',
|
|
4638
|
+
type: 'string',
|
|
4639
|
+
default: '',
|
|
4640
|
+
description: 'Text that replaces every match, up to 10000 characters. Inserted literally: `$1` or `\\0` stay as typed. A translation that would become empty is skipped',
|
|
4641
|
+
routing: {
|
|
4642
|
+
send: {
|
|
4643
|
+
property: 'replaceWith',
|
|
4644
|
+
propertyInDotNotation: false,
|
|
4645
|
+
type: 'body',
|
|
4646
|
+
value: '={{ $value || undefined }}'
|
|
4647
|
+
}
|
|
4648
|
+
},
|
|
4649
|
+
displayOptions: {
|
|
4650
|
+
show: {
|
|
4651
|
+
resource: [
|
|
4652
|
+
'translations'
|
|
4653
|
+
],
|
|
4654
|
+
operation: [
|
|
4655
|
+
'api.projects.translations.replacements.post'
|
|
4656
|
+
]
|
|
4657
|
+
}
|
|
4658
|
+
},
|
|
4659
|
+
placeholder: 'Простір'
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
displayName: 'Match Mode',
|
|
4663
|
+
name: 'matchMode',
|
|
4664
|
+
type: 'options',
|
|
4665
|
+
default: '',
|
|
4666
|
+
description: 'How `text` is matched. One of: `phrase` finds the whole phrase anywhere in a translation, `allWords` finds translations that contain every word of `text` and replaces each of these words, `entireText` finds translations whose whole text equals `text`. Default is `phrase`',
|
|
4667
|
+
options: [
|
|
4668
|
+
{
|
|
4669
|
+
name: '-',
|
|
4670
|
+
value: ''
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
name: 'phrase',
|
|
4674
|
+
value: 'phrase'
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
name: 'allWords',
|
|
4678
|
+
value: 'allWords'
|
|
4679
|
+
},
|
|
4680
|
+
{
|
|
4681
|
+
name: 'entireText',
|
|
4682
|
+
value: 'entireText'
|
|
4683
|
+
}
|
|
4684
|
+
],
|
|
4685
|
+
routing: {
|
|
4686
|
+
send: {
|
|
4687
|
+
property: 'matchMode',
|
|
4688
|
+
propertyInDotNotation: false,
|
|
4689
|
+
type: 'body',
|
|
4690
|
+
value: '={{ $value || undefined }}'
|
|
4691
|
+
}
|
|
4692
|
+
},
|
|
4693
|
+
displayOptions: {
|
|
4694
|
+
show: {
|
|
4695
|
+
resource: [
|
|
4696
|
+
'translations'
|
|
4697
|
+
],
|
|
4698
|
+
operation: [
|
|
4699
|
+
'api.projects.translations.replacements.post'
|
|
4700
|
+
]
|
|
4701
|
+
}
|
|
4702
|
+
}
|
|
4703
|
+
},
|
|
4704
|
+
{
|
|
4705
|
+
displayName: 'Case Sensitive',
|
|
4706
|
+
name: 'caseSensitive',
|
|
4707
|
+
type: 'boolean',
|
|
4708
|
+
default: false,
|
|
4709
|
+
description: 'If `true`, the letter case of `text` must match. Default is `false`',
|
|
4710
|
+
routing: {
|
|
4711
|
+
send: {
|
|
4712
|
+
property: 'caseSensitive',
|
|
4713
|
+
propertyInDotNotation: false,
|
|
4714
|
+
type: 'body',
|
|
4715
|
+
value: '={{ $value }}'
|
|
4716
|
+
}
|
|
4717
|
+
},
|
|
4718
|
+
displayOptions: {
|
|
4719
|
+
show: {
|
|
4720
|
+
resource: [
|
|
4721
|
+
'translations'
|
|
4722
|
+
],
|
|
4723
|
+
operation: [
|
|
4724
|
+
'api.projects.translations.replacements.post'
|
|
4725
|
+
]
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4728
|
+
},
|
|
4729
|
+
{
|
|
4730
|
+
displayName: 'Language Ids',
|
|
4731
|
+
required: true,
|
|
4732
|
+
name: 'languageIds',
|
|
4733
|
+
type: 'multiOptions',
|
|
4734
|
+
default: [],
|
|
4735
|
+
description: 'Target languages to replace the translations in. Get via [Project Target Languages](#operation/api.projects.get)',
|
|
4736
|
+
routing: {
|
|
4737
|
+
send: {
|
|
4738
|
+
property: 'languageIds',
|
|
4739
|
+
propertyInDotNotation: false,
|
|
4740
|
+
type: 'body',
|
|
4741
|
+
value: '={{ $value }}'
|
|
4742
|
+
}
|
|
4743
|
+
},
|
|
4744
|
+
displayOptions: {
|
|
4745
|
+
show: {
|
|
4746
|
+
resource: [
|
|
4747
|
+
'translations'
|
|
4748
|
+
],
|
|
4749
|
+
operation: [
|
|
4750
|
+
'api.projects.translations.replacements.post'
|
|
4751
|
+
]
|
|
4752
|
+
}
|
|
4753
|
+
},
|
|
4754
|
+
typeOptions: {
|
|
4755
|
+
loadOptionsMethod: 'getLanguagesMulti'
|
|
4756
|
+
}
|
|
4757
|
+
},
|
|
4758
|
+
{
|
|
4759
|
+
displayName: 'File Ids',
|
|
4760
|
+
name: 'fileIds',
|
|
4761
|
+
type: 'multiOptions',
|
|
4762
|
+
default: [],
|
|
4763
|
+
description: 'Limit the replacement to the translations of the given files. Get via [List Files](#operation/api.projects.files.getMany). All project files by default\n\n__Note:__ Can\'t be used with `directoryIds` or `branchIds` in the same request',
|
|
4764
|
+
routing: {
|
|
4765
|
+
send: {
|
|
4766
|
+
property: 'fileIds',
|
|
4767
|
+
propertyInDotNotation: false,
|
|
4768
|
+
type: 'body',
|
|
4769
|
+
value: '={{ $value }}'
|
|
4770
|
+
}
|
|
4771
|
+
},
|
|
4772
|
+
displayOptions: {
|
|
4773
|
+
show: {
|
|
4774
|
+
resource: [
|
|
4775
|
+
'translations'
|
|
4776
|
+
],
|
|
4777
|
+
operation: [
|
|
4778
|
+
'api.projects.translations.replacements.post'
|
|
4779
|
+
]
|
|
4780
|
+
}
|
|
4781
|
+
},
|
|
4782
|
+
typeOptions: {
|
|
4783
|
+
loadOptionsMethod: 'getProjectFilesMulti',
|
|
4784
|
+
loadOptionsDependsOn: [
|
|
4785
|
+
'projectId'
|
|
4786
|
+
]
|
|
4787
|
+
}
|
|
4788
|
+
},
|
|
4789
|
+
{
|
|
4790
|
+
displayName: 'Directory Ids',
|
|
4791
|
+
name: 'directoryIds',
|
|
4792
|
+
type: 'multiOptions',
|
|
4793
|
+
default: [],
|
|
4794
|
+
description: 'Limit the replacement to the translations of the files in the given directories, nested directories included. Get via [List Directories](#operation/api.projects.directories.getMany)\n\n__Note:__ Can\'t be used with `fileIds` or `branchIds` in the same request',
|
|
4795
|
+
routing: {
|
|
4796
|
+
send: {
|
|
4797
|
+
property: 'directoryIds',
|
|
4798
|
+
propertyInDotNotation: false,
|
|
4799
|
+
type: 'body',
|
|
4800
|
+
value: '={{ $value }}'
|
|
4801
|
+
}
|
|
4802
|
+
},
|
|
4803
|
+
displayOptions: {
|
|
4804
|
+
show: {
|
|
4805
|
+
resource: [
|
|
4806
|
+
'translations'
|
|
4807
|
+
],
|
|
4808
|
+
operation: [
|
|
4809
|
+
'api.projects.translations.replacements.post'
|
|
4810
|
+
]
|
|
4811
|
+
}
|
|
4812
|
+
},
|
|
4813
|
+
typeOptions: {
|
|
4814
|
+
loadOptionsMethod: 'getProjectDirectoriesMulti',
|
|
4815
|
+
loadOptionsDependsOn: [
|
|
4816
|
+
'projectId'
|
|
4817
|
+
]
|
|
4818
|
+
}
|
|
4819
|
+
},
|
|
4820
|
+
{
|
|
4821
|
+
displayName: 'Branch Ids',
|
|
4822
|
+
name: 'branchIds',
|
|
4823
|
+
type: 'multiOptions',
|
|
4824
|
+
default: [],
|
|
4825
|
+
description: 'Limit the replacement to the translations of the files in the given branches. Get via [List Branches](#operation/api.projects.branches.getMany)\n\n__Note:__ Can\'t be used with `fileIds` or `directoryIds` in the same request',
|
|
4826
|
+
routing: {
|
|
4827
|
+
send: {
|
|
4828
|
+
property: 'branchIds',
|
|
4829
|
+
propertyInDotNotation: false,
|
|
4830
|
+
type: 'body',
|
|
4831
|
+
value: '={{ $value }}'
|
|
4832
|
+
}
|
|
4833
|
+
},
|
|
4834
|
+
displayOptions: {
|
|
4835
|
+
show: {
|
|
4836
|
+
resource: [
|
|
4837
|
+
'translations'
|
|
4838
|
+
],
|
|
4839
|
+
operation: [
|
|
4840
|
+
'api.projects.translations.replacements.post'
|
|
4841
|
+
]
|
|
4842
|
+
}
|
|
4843
|
+
},
|
|
4844
|
+
typeOptions: {
|
|
4845
|
+
loadOptionsMethod: 'getBranchesMulti',
|
|
4846
|
+
loadOptionsDependsOn: [
|
|
4847
|
+
'projectId'
|
|
4848
|
+
]
|
|
4849
|
+
}
|
|
4850
|
+
},
|
|
4851
|
+
{
|
|
4852
|
+
displayName: 'Task Id',
|
|
4853
|
+
name: 'taskId',
|
|
4854
|
+
type: 'options',
|
|
4855
|
+
default: '',
|
|
4856
|
+
description: 'Limit the replacement to the strings of the given task. Get via [List Tasks](#operation/api.projects.tasks.getMany)',
|
|
4857
|
+
routing: {
|
|
4858
|
+
send: {
|
|
4859
|
+
property: 'taskId',
|
|
4860
|
+
propertyInDotNotation: false,
|
|
4861
|
+
type: 'body',
|
|
4862
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
4863
|
+
}
|
|
4864
|
+
},
|
|
4865
|
+
displayOptions: {
|
|
4866
|
+
show: {
|
|
4867
|
+
resource: [
|
|
4868
|
+
'translations'
|
|
4869
|
+
],
|
|
4870
|
+
operation: [
|
|
4871
|
+
'api.projects.translations.replacements.post'
|
|
4872
|
+
]
|
|
4873
|
+
}
|
|
4874
|
+
},
|
|
4875
|
+
typeOptions: {
|
|
4876
|
+
loadOptionsMethod: 'getProjectTasks',
|
|
4877
|
+
loadOptionsDependsOn: [
|
|
4878
|
+
'projectId'
|
|
4879
|
+
]
|
|
4880
|
+
}
|
|
4881
|
+
},
|
|
4882
|
+
{
|
|
4883
|
+
displayName: 'Label Ids',
|
|
4884
|
+
name: 'labelIds',
|
|
4885
|
+
type: 'multiOptions',
|
|
4886
|
+
default: [],
|
|
4887
|
+
description: 'Limit the replacement to the translations of the strings with the given labels, matched as `labelMatchRule` sets. Get via [List Labels](#operation/api.projects.labels.getMany)',
|
|
4888
|
+
routing: {
|
|
4889
|
+
send: {
|
|
4890
|
+
property: 'labelIds',
|
|
4891
|
+
propertyInDotNotation: false,
|
|
4892
|
+
type: 'body',
|
|
4893
|
+
value: '={{ $value }}'
|
|
4894
|
+
}
|
|
4895
|
+
},
|
|
4896
|
+
displayOptions: {
|
|
4897
|
+
show: {
|
|
4898
|
+
resource: [
|
|
4899
|
+
'translations'
|
|
4900
|
+
],
|
|
4901
|
+
operation: [
|
|
4902
|
+
'api.projects.translations.replacements.post'
|
|
4903
|
+
]
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4906
|
+
typeOptions: {
|
|
4907
|
+
loadOptionsMethod: 'getProjectLabelsMulti',
|
|
4908
|
+
loadOptionsDependsOn: [
|
|
4909
|
+
'projectId'
|
|
4910
|
+
]
|
|
4911
|
+
}
|
|
4912
|
+
},
|
|
4913
|
+
{
|
|
4914
|
+
displayName: 'Label Match Rule',
|
|
4915
|
+
name: 'labelMatchRule',
|
|
4916
|
+
type: 'options',
|
|
4917
|
+
default: '',
|
|
4918
|
+
description: 'How a string is matched against `labelIds`. One of: `all` — the string carries every one of the labels, `any` — at least one of them. Default is `all`\n\n__Note:__ Must be used together with `labelIds`',
|
|
4919
|
+
options: [
|
|
4920
|
+
{
|
|
4921
|
+
name: '-',
|
|
4922
|
+
value: ''
|
|
4923
|
+
},
|
|
4924
|
+
{
|
|
4925
|
+
name: 'all',
|
|
4926
|
+
value: 'all'
|
|
4927
|
+
},
|
|
4928
|
+
{
|
|
4929
|
+
name: 'any',
|
|
4930
|
+
value: 'any'
|
|
4931
|
+
}
|
|
4932
|
+
],
|
|
4933
|
+
routing: {
|
|
4934
|
+
send: {
|
|
4935
|
+
property: 'labelMatchRule',
|
|
4936
|
+
propertyInDotNotation: false,
|
|
4937
|
+
type: 'body',
|
|
4938
|
+
value: '={{ $value || undefined }}'
|
|
4939
|
+
}
|
|
4940
|
+
},
|
|
4941
|
+
displayOptions: {
|
|
4942
|
+
show: {
|
|
4943
|
+
resource: [
|
|
4944
|
+
'translations'
|
|
4945
|
+
],
|
|
4946
|
+
operation: [
|
|
4947
|
+
'api.projects.translations.replacements.post'
|
|
4948
|
+
]
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
},
|
|
4952
|
+
{
|
|
4953
|
+
displayName: 'Translation Ids',
|
|
4954
|
+
name: 'translationIds',
|
|
4955
|
+
type: 'fixedCollection',
|
|
4956
|
+
default: {},
|
|
4957
|
+
description: 'Limit the replacement to the given translations, for example to the matches of a dry run that should really be replaced. Get via [List Translation Replacement Matches](#operation/api.projects.translations.replacements.matches.getMany) or [List Language Translations](#operation/api.projects.languages.translations.getMany). Up to 10000 IDs',
|
|
4958
|
+
routing: {
|
|
4959
|
+
send: {
|
|
4960
|
+
property: 'translationIds',
|
|
4961
|
+
propertyInDotNotation: false,
|
|
4962
|
+
type: 'body',
|
|
4963
|
+
value: '={{ $value.items?.map(i => i._value) || undefined }}'
|
|
4964
|
+
}
|
|
4965
|
+
},
|
|
4966
|
+
displayOptions: {
|
|
4967
|
+
show: {
|
|
4968
|
+
resource: [
|
|
4969
|
+
'translations'
|
|
4970
|
+
],
|
|
4971
|
+
operation: [
|
|
4972
|
+
'api.projects.translations.replacements.post'
|
|
4973
|
+
]
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4976
|
+
typeOptions: {
|
|
4977
|
+
multipleValues: true
|
|
4978
|
+
},
|
|
4979
|
+
placeholder: 'Add Item',
|
|
4980
|
+
options: [
|
|
4981
|
+
{
|
|
4982
|
+
displayName: 'Items',
|
|
4983
|
+
name: 'items',
|
|
4984
|
+
values: [
|
|
4985
|
+
{
|
|
4986
|
+
displayName: 'Value',
|
|
4987
|
+
name: '_value',
|
|
4988
|
+
type: 'number',
|
|
4989
|
+
default: 0,
|
|
4990
|
+
placeholder: '0'
|
|
4991
|
+
}
|
|
4992
|
+
]
|
|
4993
|
+
}
|
|
4994
|
+
]
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
displayName: 'Dry Run',
|
|
4998
|
+
name: 'dryRun',
|
|
4999
|
+
type: 'boolean',
|
|
5000
|
+
default: false,
|
|
5001
|
+
description: 'If `true`, the matches are found and listed, but no translation is changed. Default is `false`',
|
|
5002
|
+
routing: {
|
|
5003
|
+
send: {
|
|
5004
|
+
property: 'dryRun',
|
|
5005
|
+
propertyInDotNotation: false,
|
|
5006
|
+
type: 'body',
|
|
5007
|
+
value: '={{ $value }}'
|
|
5008
|
+
}
|
|
5009
|
+
},
|
|
5010
|
+
displayOptions: {
|
|
5011
|
+
show: {
|
|
5012
|
+
resource: [
|
|
5013
|
+
'translations'
|
|
5014
|
+
],
|
|
5015
|
+
operation: [
|
|
5016
|
+
'api.projects.translations.replacements.post'
|
|
5017
|
+
]
|
|
5018
|
+
}
|
|
5019
|
+
}
|
|
5020
|
+
},
|
|
5021
|
+
{
|
|
5022
|
+
displayName: 'Project Id',
|
|
5023
|
+
name: 'projectId',
|
|
5024
|
+
required: true,
|
|
5025
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5026
|
+
default: '',
|
|
5027
|
+
type: 'options',
|
|
5028
|
+
displayOptions: {
|
|
5029
|
+
show: {
|
|
5030
|
+
resource: [
|
|
5031
|
+
'translations'
|
|
5032
|
+
],
|
|
5033
|
+
operation: [
|
|
5034
|
+
'api.projects.translations.replacements.get'
|
|
5035
|
+
]
|
|
5036
|
+
}
|
|
5037
|
+
},
|
|
5038
|
+
typeOptions: {
|
|
5039
|
+
loadOptionsMethod: 'getProjects'
|
|
5040
|
+
}
|
|
5041
|
+
},
|
|
5042
|
+
{
|
|
5043
|
+
displayName: 'Replacement Id',
|
|
5044
|
+
name: 'replacementId',
|
|
5045
|
+
required: true,
|
|
5046
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5047
|
+
default: '',
|
|
5048
|
+
type: 'string',
|
|
5049
|
+
displayOptions: {
|
|
5050
|
+
show: {
|
|
5051
|
+
resource: [
|
|
5052
|
+
'translations'
|
|
5053
|
+
],
|
|
5054
|
+
operation: [
|
|
5055
|
+
'api.projects.translations.replacements.get'
|
|
5056
|
+
]
|
|
5057
|
+
}
|
|
5058
|
+
},
|
|
5059
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
displayName: 'Project Id',
|
|
5063
|
+
name: 'projectId',
|
|
5064
|
+
required: true,
|
|
5065
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5066
|
+
default: '',
|
|
5067
|
+
type: 'options',
|
|
5068
|
+
displayOptions: {
|
|
5069
|
+
show: {
|
|
5070
|
+
resource: [
|
|
5071
|
+
'translations'
|
|
5072
|
+
],
|
|
5073
|
+
operation: [
|
|
5074
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
5075
|
+
]
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
typeOptions: {
|
|
5079
|
+
loadOptionsMethod: 'getProjects'
|
|
5080
|
+
}
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
displayName: 'Replacement Id',
|
|
5084
|
+
name: 'replacementId',
|
|
5085
|
+
required: true,
|
|
5086
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5087
|
+
default: '',
|
|
5088
|
+
type: 'string',
|
|
5089
|
+
displayOptions: {
|
|
5090
|
+
show: {
|
|
5091
|
+
resource: [
|
|
5092
|
+
'translations'
|
|
5093
|
+
],
|
|
5094
|
+
operation: [
|
|
5095
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
5096
|
+
]
|
|
5097
|
+
}
|
|
5098
|
+
},
|
|
5099
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5100
|
+
},
|
|
5101
|
+
{
|
|
5102
|
+
displayName: 'Limit',
|
|
5103
|
+
name: 'limit',
|
|
5104
|
+
description: 'Max number of results to return',
|
|
5105
|
+
default: 50,
|
|
5106
|
+
type: 'number',
|
|
5107
|
+
routing: {
|
|
5108
|
+
send: {
|
|
5109
|
+
type: 'query',
|
|
5110
|
+
property: 'limit',
|
|
5111
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
5112
|
+
propertyInDotNotation: false
|
|
5113
|
+
}
|
|
5114
|
+
},
|
|
5115
|
+
displayOptions: {
|
|
5116
|
+
show: {
|
|
5117
|
+
resource: [
|
|
5118
|
+
'translations'
|
|
5119
|
+
],
|
|
5120
|
+
operation: [
|
|
5121
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
5122
|
+
],
|
|
5123
|
+
returnAll: [
|
|
5124
|
+
false
|
|
5125
|
+
]
|
|
5126
|
+
}
|
|
5127
|
+
},
|
|
5128
|
+
typeOptions: {
|
|
5129
|
+
minValue: 1
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5132
|
+
{
|
|
5133
|
+
displayName: 'Project Id',
|
|
5134
|
+
name: 'projectId',
|
|
5135
|
+
required: true,
|
|
5136
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5137
|
+
default: '',
|
|
5138
|
+
type: 'options',
|
|
5139
|
+
displayOptions: {
|
|
5140
|
+
show: {
|
|
5141
|
+
resource: [
|
|
5142
|
+
'translations'
|
|
5143
|
+
],
|
|
5144
|
+
operation: [
|
|
5145
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
5146
|
+
]
|
|
5147
|
+
}
|
|
5148
|
+
},
|
|
5149
|
+
typeOptions: {
|
|
5150
|
+
loadOptionsMethod: 'getProjects'
|
|
5151
|
+
}
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
displayName: 'Replacement Id',
|
|
5155
|
+
name: 'replacementId',
|
|
5156
|
+
required: true,
|
|
5157
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5158
|
+
default: '',
|
|
5159
|
+
type: 'string',
|
|
5160
|
+
displayOptions: {
|
|
5161
|
+
show: {
|
|
5162
|
+
resource: [
|
|
5163
|
+
'translations'
|
|
5164
|
+
],
|
|
5165
|
+
operation: [
|
|
5166
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
5167
|
+
]
|
|
5168
|
+
}
|
|
5169
|
+
},
|
|
5170
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5171
|
+
},
|
|
5172
|
+
{
|
|
5173
|
+
displayName: 'Limit',
|
|
5174
|
+
name: 'limit',
|
|
5175
|
+
description: 'Max number of results to return',
|
|
5176
|
+
default: 50,
|
|
5177
|
+
type: 'number',
|
|
5178
|
+
routing: {
|
|
5179
|
+
send: {
|
|
5180
|
+
type: 'query',
|
|
5181
|
+
property: 'limit',
|
|
5182
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
5183
|
+
propertyInDotNotation: false
|
|
5184
|
+
}
|
|
5185
|
+
},
|
|
5186
|
+
displayOptions: {
|
|
5187
|
+
show: {
|
|
5188
|
+
resource: [
|
|
5189
|
+
'translations'
|
|
5190
|
+
],
|
|
5191
|
+
operation: [
|
|
5192
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
5193
|
+
],
|
|
5194
|
+
returnAll: [
|
|
5195
|
+
false
|
|
5196
|
+
]
|
|
5197
|
+
}
|
|
5198
|
+
},
|
|
5199
|
+
typeOptions: {
|
|
5200
|
+
minValue: 1
|
|
5201
|
+
}
|
|
5202
|
+
},
|
|
5203
|
+
{
|
|
5204
|
+
displayName: 'Project Id',
|
|
5205
|
+
name: 'projectId',
|
|
5206
|
+
required: true,
|
|
5207
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5208
|
+
default: '',
|
|
5209
|
+
type: 'options',
|
|
5210
|
+
displayOptions: {
|
|
5211
|
+
show: {
|
|
5212
|
+
resource: [
|
|
5213
|
+
'translations'
|
|
5214
|
+
],
|
|
5215
|
+
operation: [
|
|
5216
|
+
'api.projects.translations.replacements.reverts.post'
|
|
5217
|
+
]
|
|
5218
|
+
}
|
|
5219
|
+
},
|
|
5220
|
+
typeOptions: {
|
|
5221
|
+
loadOptionsMethod: 'getProjects'
|
|
5222
|
+
}
|
|
5223
|
+
},
|
|
5224
|
+
{
|
|
5225
|
+
displayName: 'Replacement Id',
|
|
5226
|
+
name: 'replacementId',
|
|
5227
|
+
required: true,
|
|
5228
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5229
|
+
default: '',
|
|
5230
|
+
type: 'string',
|
|
5231
|
+
displayOptions: {
|
|
5232
|
+
show: {
|
|
5233
|
+
resource: [
|
|
5234
|
+
'translations'
|
|
5235
|
+
],
|
|
5236
|
+
operation: [
|
|
5237
|
+
'api.projects.translations.replacements.reverts.post'
|
|
5238
|
+
]
|
|
5239
|
+
}
|
|
5240
|
+
},
|
|
5241
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
displayName: 'Project Id',
|
|
5245
|
+
name: 'projectId',
|
|
5246
|
+
required: true,
|
|
5247
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5248
|
+
default: '',
|
|
5249
|
+
type: 'options',
|
|
5250
|
+
displayOptions: {
|
|
5251
|
+
show: {
|
|
5252
|
+
resource: [
|
|
5253
|
+
'translations'
|
|
5254
|
+
],
|
|
5255
|
+
operation: [
|
|
5256
|
+
'api.projects.translations.replacements.reverts.get'
|
|
5257
|
+
]
|
|
5258
|
+
}
|
|
5259
|
+
},
|
|
5260
|
+
typeOptions: {
|
|
5261
|
+
loadOptionsMethod: 'getProjects'
|
|
5262
|
+
}
|
|
5263
|
+
},
|
|
5264
|
+
{
|
|
5265
|
+
displayName: 'Replacement Id',
|
|
5266
|
+
name: 'replacementId',
|
|
5267
|
+
required: true,
|
|
5268
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5269
|
+
default: '',
|
|
5270
|
+
type: 'string',
|
|
5271
|
+
displayOptions: {
|
|
5272
|
+
show: {
|
|
5273
|
+
resource: [
|
|
5274
|
+
'translations'
|
|
5275
|
+
],
|
|
5276
|
+
operation: [
|
|
5277
|
+
'api.projects.translations.replacements.reverts.get'
|
|
5278
|
+
]
|
|
5279
|
+
}
|
|
5280
|
+
},
|
|
5281
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5282
|
+
},
|
|
5283
|
+
{
|
|
5284
|
+
displayName: 'Revert Id',
|
|
5285
|
+
name: 'revertId',
|
|
5286
|
+
required: true,
|
|
5287
|
+
description: 'ID of the translation replacement revert. Get via [List Translation Replacement Reverts](#operation/api.projects.translations.replacements.reverts.getMany)',
|
|
5288
|
+
default: '',
|
|
5289
|
+
type: 'string',
|
|
5290
|
+
displayOptions: {
|
|
5291
|
+
show: {
|
|
5292
|
+
resource: [
|
|
5293
|
+
'translations'
|
|
5294
|
+
],
|
|
5295
|
+
operation: [
|
|
5296
|
+
'api.projects.translations.replacements.reverts.get'
|
|
5297
|
+
]
|
|
5298
|
+
}
|
|
5299
|
+
},
|
|
5300
|
+
placeholder: '0f3b8f14-9c1a-4b1e-8e3a-5d2f7c9a6b40'
|
|
5301
|
+
},
|
|
5302
|
+
{
|
|
5303
|
+
displayName: 'Project Id',
|
|
5304
|
+
name: 'projectId',
|
|
5305
|
+
required: true,
|
|
5306
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5307
|
+
default: '',
|
|
5308
|
+
type: 'options',
|
|
5309
|
+
displayOptions: {
|
|
5310
|
+
show: {
|
|
5311
|
+
resource: [
|
|
5312
|
+
'translations'
|
|
5313
|
+
],
|
|
5314
|
+
operation: [
|
|
5315
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
5316
|
+
]
|
|
5317
|
+
}
|
|
5318
|
+
},
|
|
5319
|
+
typeOptions: {
|
|
5320
|
+
loadOptionsMethod: 'getProjects'
|
|
5321
|
+
}
|
|
5322
|
+
},
|
|
5323
|
+
{
|
|
5324
|
+
displayName: 'Replacement Id',
|
|
5325
|
+
name: 'replacementId',
|
|
5326
|
+
required: true,
|
|
5327
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5328
|
+
default: '',
|
|
5329
|
+
type: 'string',
|
|
5330
|
+
displayOptions: {
|
|
5331
|
+
show: {
|
|
5332
|
+
resource: [
|
|
5333
|
+
'translations'
|
|
5334
|
+
],
|
|
5335
|
+
operation: [
|
|
5336
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
5337
|
+
]
|
|
5338
|
+
}
|
|
5339
|
+
},
|
|
5340
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5341
|
+
},
|
|
5342
|
+
{
|
|
5343
|
+
displayName: 'Revert Id',
|
|
5344
|
+
name: 'revertId',
|
|
5345
|
+
required: true,
|
|
5346
|
+
description: 'ID of the translation replacement revert. Get via [List Translation Replacement Reverts](#operation/api.projects.translations.replacements.reverts.getMany)',
|
|
5347
|
+
default: '',
|
|
5348
|
+
type: 'string',
|
|
5349
|
+
displayOptions: {
|
|
5350
|
+
show: {
|
|
5351
|
+
resource: [
|
|
5352
|
+
'translations'
|
|
5353
|
+
],
|
|
5354
|
+
operation: [
|
|
5355
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
5356
|
+
]
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5359
|
+
placeholder: '0f3b8f14-9c1a-4b1e-8e3a-5d2f7c9a6b40'
|
|
5360
|
+
},
|
|
5361
|
+
{
|
|
5362
|
+
displayName: 'Project Id',
|
|
5363
|
+
name: 'projectId',
|
|
5364
|
+
required: true,
|
|
5365
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
5366
|
+
default: '',
|
|
5367
|
+
type: 'options',
|
|
5368
|
+
displayOptions: {
|
|
5369
|
+
show: {
|
|
5370
|
+
resource: [
|
|
5371
|
+
'translations'
|
|
5372
|
+
],
|
|
5373
|
+
operation: [
|
|
5374
|
+
'api.projects.translations.replacements.summary.get'
|
|
5375
|
+
]
|
|
5376
|
+
}
|
|
5377
|
+
},
|
|
5378
|
+
typeOptions: {
|
|
5379
|
+
loadOptionsMethod: 'getProjects'
|
|
5380
|
+
}
|
|
5381
|
+
},
|
|
5382
|
+
{
|
|
5383
|
+
displayName: 'Replacement Id',
|
|
5384
|
+
name: 'replacementId',
|
|
5385
|
+
required: true,
|
|
5386
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
5387
|
+
default: '',
|
|
5388
|
+
type: 'string',
|
|
5389
|
+
displayOptions: {
|
|
5390
|
+
show: {
|
|
5391
|
+
resource: [
|
|
5392
|
+
'translations'
|
|
5393
|
+
],
|
|
5394
|
+
operation: [
|
|
5395
|
+
'api.projects.translations.replacements.summary.get'
|
|
5396
|
+
]
|
|
5397
|
+
}
|
|
5398
|
+
},
|
|
5399
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
5400
|
+
},
|
|
5401
|
+
{
|
|
5402
|
+
displayName: 'Update Fields',
|
|
5403
|
+
name: 'updateFields',
|
|
5404
|
+
type: 'collection',
|
|
5405
|
+
placeholder: 'Add Field',
|
|
5406
|
+
default: {},
|
|
5407
|
+
displayOptions: {
|
|
5408
|
+
show: {
|
|
5409
|
+
resource: [
|
|
5410
|
+
'translations'
|
|
5411
|
+
],
|
|
5412
|
+
operation: [
|
|
5413
|
+
'api.projects.bundles.patch'
|
|
5414
|
+
]
|
|
5415
|
+
}
|
|
5416
|
+
},
|
|
5417
|
+
options: [
|
|
5418
|
+
{
|
|
5419
|
+
displayName: 'Name',
|
|
5420
|
+
name: 'name',
|
|
5421
|
+
type: 'string',
|
|
5422
|
+
default: '',
|
|
5423
|
+
description: 'Defines name',
|
|
5424
|
+
placeholder: 'Resx bundle'
|
|
5425
|
+
},
|
|
5426
|
+
{
|
|
5427
|
+
displayName: 'Format',
|
|
5428
|
+
name: 'format',
|
|
5429
|
+
type: 'string',
|
|
5430
|
+
default: '',
|
|
5431
|
+
description: 'Defines export file format. If not provided, files will be exported in their original format.\n\n__Note:__ Required for strings-based projects',
|
|
5432
|
+
placeholder: 'crowdin-resx'
|
|
5433
|
+
},
|
|
5434
|
+
{
|
|
5435
|
+
displayName: 'Source Patterns',
|
|
5436
|
+
name: 'sourcePatterns',
|
|
5437
|
+
type: 'fixedCollection',
|
|
5438
|
+
default: {},
|
|
5439
|
+
typeOptions: {
|
|
4349
5440
|
multipleValues: true
|
|
4350
5441
|
},
|
|
4351
5442
|
placeholder: 'Add Item',
|
|
@@ -4410,6 +5501,14 @@ exports.translationsProperties = [
|
|
|
4410
5501
|
default: false,
|
|
4411
5502
|
description: 'Add project source language to bundle'
|
|
4412
5503
|
},
|
|
5504
|
+
{
|
|
5505
|
+
displayName: 'Source Language Export Pattern',
|
|
5506
|
+
name: 'sourceLanguageExportPattern',
|
|
5507
|
+
type: 'string',
|
|
5508
|
+
default: '',
|
|
5509
|
+
description: 'Source language export pattern. Works only when `includeProjectSourceLanguage` is enabled.\n\n__Note:__ Can\'t contain `: * ? " < > |` symbols',
|
|
5510
|
+
placeholder: 'strings-%two_letter_code%.resx'
|
|
5511
|
+
},
|
|
4413
5512
|
{
|
|
4414
5513
|
displayName: 'Include In Context Pseudo Language',
|
|
4415
5514
|
name: 'includeInContextPseudoLanguage',
|
|
@@ -4618,6 +5717,40 @@ exports.translationsProperties = [
|
|
|
4618
5717
|
]
|
|
4619
5718
|
}
|
|
4620
5719
|
}
|
|
5720
|
+
},
|
|
5721
|
+
{
|
|
5722
|
+
displayName: 'Return All',
|
|
5723
|
+
name: 'returnAll',
|
|
5724
|
+
type: 'boolean',
|
|
5725
|
+
default: true,
|
|
5726
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
5727
|
+
displayOptions: {
|
|
5728
|
+
show: {
|
|
5729
|
+
resource: [
|
|
5730
|
+
'translations'
|
|
5731
|
+
],
|
|
5732
|
+
operation: [
|
|
5733
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
5734
|
+
]
|
|
5735
|
+
}
|
|
5736
|
+
}
|
|
5737
|
+
},
|
|
5738
|
+
{
|
|
5739
|
+
displayName: 'Return All',
|
|
5740
|
+
name: 'returnAll',
|
|
5741
|
+
type: 'boolean',
|
|
5742
|
+
default: true,
|
|
5743
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
5744
|
+
displayOptions: {
|
|
5745
|
+
show: {
|
|
5746
|
+
resource: [
|
|
5747
|
+
'translations'
|
|
5748
|
+
],
|
|
5749
|
+
operation: [
|
|
5750
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
5751
|
+
]
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
4621
5754
|
}
|
|
4622
5755
|
];
|
|
4623
5756
|
//# sourceMappingURL=translations.js.map
|