@crowdin/n8n-nodes-crowdin 0.24.0 → 0.25.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.
Files changed (27) hide show
  1. package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +20 -20
  2. package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
  3. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +588 -0
  4. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
  5. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +614 -0
  6. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
  7. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +566 -682
  8. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
  9. package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +20 -20
  10. package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
  11. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +539 -619
  12. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
  13. package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +14 -14
  14. package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
  15. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +588 -0
  16. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
  17. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +614 -0
  18. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
  19. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +562 -680
  20. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
  21. package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +14 -14
  22. package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
  23. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +536 -618
  24. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
  25. package/dist/package.json +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +1 -1
@@ -3554,6 +3554,286 @@ exports.sourceFilesProperties = [
3554
3554
  typeOptions: {
3555
3555
  loadOptionsMethod: 'getStorages'
3556
3556
  }
3557
+ },
3558
+ {
3559
+ displayName: 'Translate Doc Properties',
3560
+ name: 'translateDocProperties',
3561
+ type: 'boolean',
3562
+ default: false,
3563
+ description: 'When checked, exposes document properties such as title, subject, and creator for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.xlsx, *.xltx, *.xlsm, *.xltm'
3564
+ },
3565
+ {
3566
+ displayName: 'Translate Comments',
3567
+ name: 'translateComments',
3568
+ type: 'boolean',
3569
+ default: true,
3570
+ description: 'When checked, exposes comments for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.xlsx, *.xltx, *.xlsm, *.xltm'
3571
+ },
3572
+ {
3573
+ displayName: 'Ignore Whitespace Styles',
3574
+ name: 'ignoreWhitespaceStyles',
3575
+ type: 'boolean',
3576
+ default: false,
3577
+ description: 'When checked, formatting that differs only in whitespace no longer produces separate tags.\n\n__Note:__ Can be set only when `cleanTagsAggressively` is enabled'
3578
+ },
3579
+ {
3580
+ displayName: 'Add Tab As Character',
3581
+ name: 'addTabAsCharacter',
3582
+ type: 'boolean',
3583
+ default: false,
3584
+ description: 'When checked, a tab inside a text run is exposed as a character instead of a tag.'
3585
+ },
3586
+ {
3587
+ displayName: 'Add Line Separator As Character',
3588
+ name: 'addLineSeparatorAsCharacter',
3589
+ type: 'boolean',
3590
+ default: false,
3591
+ description: 'When checked, a line break inside a text run is exposed as `lineSeparatorReplacement` instead of a tag.'
3592
+ },
3593
+ {
3594
+ displayName: 'Line Separator Replacement',
3595
+ name: 'lineSeparatorReplacement',
3596
+ type: 'string',
3597
+ default: '',
3598
+ description: 'Character that replaces a line break when `addLineSeparatorAsCharacter` is enabled.\n\n__Note:__ Must be exactly one character',
3599
+ placeholder: '\n'
3600
+ },
3601
+ {
3602
+ displayName: 'Replace No Break Hyphen Tag',
3603
+ name: 'replaceNoBreakHyphenTag',
3604
+ type: 'boolean',
3605
+ default: false,
3606
+ description: 'When checked, a non-breaking hyphen is exposed as a character instead of a tag.'
3607
+ },
3608
+ {
3609
+ displayName: 'Ignore Soft Hyphen Tag',
3610
+ name: 'ignoreSoftHyphenTag',
3611
+ type: 'boolean',
3612
+ default: false,
3613
+ description: 'When checked, soft hyphens are removed instead of being exposed as tags.'
3614
+ },
3615
+ {
3616
+ displayName: 'Complex Field Definitions To Extract',
3617
+ name: 'complexFieldDefinitionsToExtract',
3618
+ type: 'fixedCollection',
3619
+ typeOptions: {
3620
+ multipleValues: true
3621
+ },
3622
+ default: {},
3623
+ description: 'Word complex field types whose text is exposed for translation.\n\n__Note:__ `HYPERLINK` is always extracted and can\'t be removed',
3624
+ placeholder: 'Add Item',
3625
+ options: [
3626
+ {
3627
+ displayName: 'Items',
3628
+ name: 'items',
3629
+ values: [
3630
+ {
3631
+ displayName: 'Value',
3632
+ name: '_value',
3633
+ type: 'string',
3634
+ default: '',
3635
+ description: undefined
3636
+ }
3637
+ ]
3638
+ }
3639
+ ]
3640
+ },
3641
+ {
3642
+ displayName: 'Translate Word Headers Footers',
3643
+ name: 'translateWordHeadersFooters',
3644
+ type: 'boolean',
3645
+ default: true,
3646
+ description: 'When checked, exposes headers and footers for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
3647
+ },
3648
+ {
3649
+ displayName: 'Translate Word Graphic Name',
3650
+ name: 'translateWordGraphicName',
3651
+ type: 'boolean',
3652
+ default: true,
3653
+ description: 'When checked, exposes the name of a shape or image for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.pptx, *.potx, *.ppsx, *.pptm, *.potm, *.ppsm'
3654
+ },
3655
+ {
3656
+ displayName: 'Translate Word Graphic Description',
3657
+ name: 'translateWordGraphicDescription',
3658
+ type: 'boolean',
3659
+ default: false,
3660
+ description: 'When checked, exposes the alternative text of a shape or image for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.pptx, *.potx, *.ppsx, *.pptm, *.potm, *.ppsm'
3661
+ },
3662
+ {
3663
+ displayName: 'Ignore Word Font Colors',
3664
+ name: 'ignoreWordFontColors',
3665
+ type: 'boolean',
3666
+ default: false,
3667
+ description: 'When checked, excludes text whose font color falls between `wordFontColorsMinIgnoranceThreshold` and `wordFontColorsMaxIgnoranceThreshold` from translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
3668
+ },
3669
+ {
3670
+ displayName: 'Word Font Colors Min Ignorance Threshold',
3671
+ name: 'wordFontColorsMinIgnoranceThreshold',
3672
+ type: 'string',
3673
+ default: '',
3674
+ description: 'Darkest font color ignored when `ignoreWordFontColors` is enabled, as six hexadecimal digits with an optional leading hash. Empty means black. Must not be lighter than `wordFontColorsMaxIgnoranceThreshold` in any color channel.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
3675
+ placeholder: 'A6A6A6'
3676
+ },
3677
+ {
3678
+ displayName: 'Word Font Colors Max Ignorance Threshold',
3679
+ name: 'wordFontColorsMaxIgnoranceThreshold',
3680
+ type: 'string',
3681
+ default: '',
3682
+ description: 'Lightest font color ignored when `ignoreWordFontColors` is enabled, as six hexadecimal digits with an optional leading hash. Empty means white.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
3683
+ placeholder: 'FFFFFF'
3684
+ },
3685
+ {
3686
+ displayName: 'Exclude Word Styles',
3687
+ name: 'excludeWordStyles',
3688
+ type: 'fixedCollection',
3689
+ typeOptions: {
3690
+ multipleValues: true
3691
+ },
3692
+ default: {},
3693
+ description: 'Paragraph style names singled out by `translateWordInExcludeStyleMode`, for example `Heading1`.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
3694
+ placeholder: 'Add Item',
3695
+ options: [
3696
+ {
3697
+ displayName: 'Items',
3698
+ name: 'items',
3699
+ values: [
3700
+ {
3701
+ displayName: 'Value',
3702
+ name: '_value',
3703
+ type: 'string',
3704
+ default: '',
3705
+ description: undefined
3706
+ }
3707
+ ]
3708
+ }
3709
+ ]
3710
+ },
3711
+ {
3712
+ displayName: 'Translate Word In Exclude Style Mode',
3713
+ name: 'translateWordInExcludeStyleMode',
3714
+ type: 'boolean',
3715
+ default: true,
3716
+ description: 'How `excludeWordStyles` is read. If `true`, the listed styles are excluded from translation; if `false`, only they are translated.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
3717
+ },
3718
+ {
3719
+ displayName: 'Word Highlight Colors',
3720
+ name: 'wordHighlightColors',
3721
+ type: 'fixedCollection',
3722
+ typeOptions: {
3723
+ multipleValues: true
3724
+ },
3725
+ default: {},
3726
+ description: 'Word highlight colors singled out by `translateWordInExcludeHighlightMode`. One of: `black`, `blue`, `cyan`, `green`, `magenta`, `red`, `yellow`, `white`, `darkBlue`, `darkCyan`, `darkGreen`, `darkMagenta`, `darkRed`, `darkYellow`, `darkGray`, `lightGray`, `none`.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
3727
+ placeholder: 'Add Item',
3728
+ options: [
3729
+ {
3730
+ displayName: 'Items',
3731
+ name: 'items',
3732
+ values: [
3733
+ {
3734
+ displayName: 'Value',
3735
+ name: '_value',
3736
+ type: 'string',
3737
+ default: '',
3738
+ description: undefined
3739
+ }
3740
+ ]
3741
+ }
3742
+ ]
3743
+ },
3744
+ {
3745
+ displayName: 'Translate Word In Exclude Highlight Mode',
3746
+ name: 'translateWordInExcludeHighlightMode',
3747
+ type: 'boolean',
3748
+ default: true,
3749
+ description: 'How `wordHighlightColors` is read. If `true`, text with the listed highlights is excluded from translation; if `false`, only it is translated.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
3750
+ },
3751
+ {
3752
+ displayName: 'Translate Word Exclude Colors',
3753
+ name: 'translateWordExcludeColors',
3754
+ type: 'boolean',
3755
+ default: false,
3756
+ description: 'When checked, excludes text whose color is listed in `wordExcludedColors` from translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
3757
+ },
3758
+ {
3759
+ displayName: 'Word Excluded Colors',
3760
+ name: 'wordExcludedColors',
3761
+ type: 'fixedCollection',
3762
+ typeOptions: {
3763
+ multipleValues: true
3764
+ },
3765
+ default: {},
3766
+ description: 'Text colors excluded from translation when `translateWordExcludeColors` is enabled, each six hexadecimal digits with an optional leading hash.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
3767
+ placeholder: 'Add Item',
3768
+ options: [
3769
+ {
3770
+ displayName: 'Items',
3771
+ name: 'items',
3772
+ values: [
3773
+ {
3774
+ displayName: 'Value',
3775
+ name: '_value',
3776
+ type: 'string',
3777
+ default: '',
3778
+ description: undefined
3779
+ }
3780
+ ]
3781
+ }
3782
+ ]
3783
+ },
3784
+ {
3785
+ displayName: 'Translate Excel Cells Copied',
3786
+ name: 'translateExcelCellsCopied',
3787
+ type: 'boolean',
3788
+ default: true,
3789
+ description: 'When checked, a cell whose text is shared with another cell is exposed once for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
3790
+ },
3791
+ {
3792
+ displayName: 'Translate Excel Sheet Names',
3793
+ name: 'translateExcelSheetNames',
3794
+ type: 'boolean',
3795
+ default: false,
3796
+ description: 'When checked, exposes worksheet names for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
3797
+ },
3798
+ {
3799
+ displayName: 'Excel Excluded Colors',
3800
+ name: 'excelExcludedColors',
3801
+ type: 'fixedCollection',
3802
+ typeOptions: {
3803
+ multipleValues: true
3804
+ },
3805
+ default: {},
3806
+ description: 'Cell fill colors whose cells are excluded from translation, each the six-digit RGB with an optional leading hash, not the eight-digit ARGB stored in the file.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm',
3807
+ placeholder: 'Add Item',
3808
+ options: [
3809
+ {
3810
+ displayName: 'Items',
3811
+ name: 'items',
3812
+ values: [
3813
+ {
3814
+ displayName: 'Value',
3815
+ name: '_value',
3816
+ type: 'string',
3817
+ default: '',
3818
+ description: undefined
3819
+ }
3820
+ ]
3821
+ }
3822
+ ]
3823
+ },
3824
+ {
3825
+ displayName: 'Translate Excel Diagram Data',
3826
+ name: 'translateExcelDiagramData',
3827
+ type: 'boolean',
3828
+ default: false,
3829
+ description: 'When checked, exposes text inside SmartArt and diagram data for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
3830
+ },
3831
+ {
3832
+ displayName: 'Translate Excel Drawings',
3833
+ name: 'translateExcelDrawings',
3834
+ type: 'boolean',
3835
+ default: false,
3836
+ description: 'When checked, exposes text inside drawings and shapes on a worksheet for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
3557
3837
  }
3558
3838
  ]
3559
3839
  },
@@ -4551,6 +4831,33 @@ exports.sourceFilesProperties = [
4551
4831
  ]
4552
4832
  }
4553
4833
  ]
4834
+ },
4835
+ {
4836
+ displayName: 'Docx File Export Options',
4837
+ name: '_docxFileExportOptions',
4838
+ values: [
4839
+ {
4840
+ displayName: 'Export Pattern',
4841
+ name: 'exportPattern',
4842
+ type: 'string',
4843
+ default: '',
4844
+ description: 'File export pattern. Defines file name and path in resulting translations bundle\n\n__Note:__ Can\'t contain `: * ? " < > |` symbols'
4845
+ },
4846
+ {
4847
+ displayName: 'Allow Word Style Optimization',
4848
+ name: 'allowWordStyleOptimization',
4849
+ type: 'boolean',
4850
+ default: true,
4851
+ description: 'When checked, run properties in the exported document are minified against the style definitions instead of being kept verbatim.'
4852
+ },
4853
+ {
4854
+ displayName: 'Translate Excel Exclude Colors',
4855
+ name: 'translateExcelExcludeColors',
4856
+ type: 'boolean',
4857
+ default: false,
4858
+ description: 'When checked, excludes colored text runs inside a spreadsheet cell from translation.\n\n__Note:__ Applied when the file is parsed, even though it is set through `exportOptions`'
4859
+ }
4860
+ ]
4554
4861
  }
4555
4862
  ],
4556
4863
  routing: {
@@ -5166,6 +5473,286 @@ exports.sourceFilesProperties = [
5166
5473
  typeOptions: {
5167
5474
  loadOptionsMethod: 'getStorages'
5168
5475
  }
5476
+ },
5477
+ {
5478
+ displayName: 'Translate Doc Properties',
5479
+ name: 'translateDocProperties',
5480
+ type: 'boolean',
5481
+ default: false,
5482
+ description: 'When checked, exposes document properties such as title, subject, and creator for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.xlsx, *.xltx, *.xlsm, *.xltm'
5483
+ },
5484
+ {
5485
+ displayName: 'Translate Comments',
5486
+ name: 'translateComments',
5487
+ type: 'boolean',
5488
+ default: true,
5489
+ description: 'When checked, exposes comments for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.xlsx, *.xltx, *.xlsm, *.xltm'
5490
+ },
5491
+ {
5492
+ displayName: 'Ignore Whitespace Styles',
5493
+ name: 'ignoreWhitespaceStyles',
5494
+ type: 'boolean',
5495
+ default: false,
5496
+ description: 'When checked, formatting that differs only in whitespace no longer produces separate tags.\n\n__Note:__ Can be set only when `cleanTagsAggressively` is enabled'
5497
+ },
5498
+ {
5499
+ displayName: 'Add Tab As Character',
5500
+ name: 'addTabAsCharacter',
5501
+ type: 'boolean',
5502
+ default: false,
5503
+ description: 'When checked, a tab inside a text run is exposed as a character instead of a tag.'
5504
+ },
5505
+ {
5506
+ displayName: 'Add Line Separator As Character',
5507
+ name: 'addLineSeparatorAsCharacter',
5508
+ type: 'boolean',
5509
+ default: false,
5510
+ description: 'When checked, a line break inside a text run is exposed as `lineSeparatorReplacement` instead of a tag.'
5511
+ },
5512
+ {
5513
+ displayName: 'Line Separator Replacement',
5514
+ name: 'lineSeparatorReplacement',
5515
+ type: 'string',
5516
+ default: '',
5517
+ description: 'Character that replaces a line break when `addLineSeparatorAsCharacter` is enabled.\n\n__Note:__ Must be exactly one character',
5518
+ placeholder: '\n'
5519
+ },
5520
+ {
5521
+ displayName: 'Replace No Break Hyphen Tag',
5522
+ name: 'replaceNoBreakHyphenTag',
5523
+ type: 'boolean',
5524
+ default: false,
5525
+ description: 'When checked, a non-breaking hyphen is exposed as a character instead of a tag.'
5526
+ },
5527
+ {
5528
+ displayName: 'Ignore Soft Hyphen Tag',
5529
+ name: 'ignoreSoftHyphenTag',
5530
+ type: 'boolean',
5531
+ default: false,
5532
+ description: 'When checked, soft hyphens are removed instead of being exposed as tags.'
5533
+ },
5534
+ {
5535
+ displayName: 'Complex Field Definitions To Extract',
5536
+ name: 'complexFieldDefinitionsToExtract',
5537
+ type: 'fixedCollection',
5538
+ typeOptions: {
5539
+ multipleValues: true
5540
+ },
5541
+ default: {},
5542
+ description: 'Word complex field types whose text is exposed for translation.\n\n__Note:__ `HYPERLINK` is always extracted and can\'t be removed',
5543
+ placeholder: 'Add Item',
5544
+ options: [
5545
+ {
5546
+ displayName: 'Items',
5547
+ name: 'items',
5548
+ values: [
5549
+ {
5550
+ displayName: 'Value',
5551
+ name: '_value',
5552
+ type: 'string',
5553
+ default: '',
5554
+ description: undefined
5555
+ }
5556
+ ]
5557
+ }
5558
+ ]
5559
+ },
5560
+ {
5561
+ displayName: 'Translate Word Headers Footers',
5562
+ name: 'translateWordHeadersFooters',
5563
+ type: 'boolean',
5564
+ default: true,
5565
+ description: 'When checked, exposes headers and footers for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
5566
+ },
5567
+ {
5568
+ displayName: 'Translate Word Graphic Name',
5569
+ name: 'translateWordGraphicName',
5570
+ type: 'boolean',
5571
+ default: true,
5572
+ description: 'When checked, exposes the name of a shape or image for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.pptx, *.potx, *.ppsx, *.pptm, *.potm, *.ppsm'
5573
+ },
5574
+ {
5575
+ displayName: 'Translate Word Graphic Description',
5576
+ name: 'translateWordGraphicDescription',
5577
+ type: 'boolean',
5578
+ default: false,
5579
+ description: 'When checked, exposes the alternative text of a shape or image for translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm, *.pptx, *.potx, *.ppsx, *.pptm, *.potm, *.ppsm'
5580
+ },
5581
+ {
5582
+ displayName: 'Ignore Word Font Colors',
5583
+ name: 'ignoreWordFontColors',
5584
+ type: 'boolean',
5585
+ default: false,
5586
+ description: 'When checked, excludes text whose font color falls between `wordFontColorsMinIgnoranceThreshold` and `wordFontColorsMaxIgnoranceThreshold` from translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
5587
+ },
5588
+ {
5589
+ displayName: 'Word Font Colors Min Ignorance Threshold',
5590
+ name: 'wordFontColorsMinIgnoranceThreshold',
5591
+ type: 'string',
5592
+ default: '',
5593
+ description: 'Darkest font color ignored when `ignoreWordFontColors` is enabled, as six hexadecimal digits with an optional leading hash. Empty means black. Must not be lighter than `wordFontColorsMaxIgnoranceThreshold` in any color channel.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
5594
+ placeholder: 'A6A6A6'
5595
+ },
5596
+ {
5597
+ displayName: 'Word Font Colors Max Ignorance Threshold',
5598
+ name: 'wordFontColorsMaxIgnoranceThreshold',
5599
+ type: 'string',
5600
+ default: '',
5601
+ description: 'Lightest font color ignored when `ignoreWordFontColors` is enabled, as six hexadecimal digits with an optional leading hash. Empty means white.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
5602
+ placeholder: 'FFFFFF'
5603
+ },
5604
+ {
5605
+ displayName: 'Exclude Word Styles',
5606
+ name: 'excludeWordStyles',
5607
+ type: 'fixedCollection',
5608
+ typeOptions: {
5609
+ multipleValues: true
5610
+ },
5611
+ default: {},
5612
+ description: 'Paragraph style names singled out by `translateWordInExcludeStyleMode`, for example `Heading1`.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
5613
+ placeholder: 'Add Item',
5614
+ options: [
5615
+ {
5616
+ displayName: 'Items',
5617
+ name: 'items',
5618
+ values: [
5619
+ {
5620
+ displayName: 'Value',
5621
+ name: '_value',
5622
+ type: 'string',
5623
+ default: '',
5624
+ description: undefined
5625
+ }
5626
+ ]
5627
+ }
5628
+ ]
5629
+ },
5630
+ {
5631
+ displayName: 'Translate Word In Exclude Style Mode',
5632
+ name: 'translateWordInExcludeStyleMode',
5633
+ type: 'boolean',
5634
+ default: true,
5635
+ description: 'How `excludeWordStyles` is read. If `true`, the listed styles are excluded from translation; if `false`, only they are translated.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
5636
+ },
5637
+ {
5638
+ displayName: 'Word Highlight Colors',
5639
+ name: 'wordHighlightColors',
5640
+ type: 'fixedCollection',
5641
+ typeOptions: {
5642
+ multipleValues: true
5643
+ },
5644
+ default: {},
5645
+ description: 'Word highlight colors singled out by `translateWordInExcludeHighlightMode`. One of: `black`, `blue`, `cyan`, `green`, `magenta`, `red`, `yellow`, `white`, `darkBlue`, `darkCyan`, `darkGreen`, `darkMagenta`, `darkRed`, `darkYellow`, `darkGray`, `lightGray`, `none`.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
5646
+ placeholder: 'Add Item',
5647
+ options: [
5648
+ {
5649
+ displayName: 'Items',
5650
+ name: 'items',
5651
+ values: [
5652
+ {
5653
+ displayName: 'Value',
5654
+ name: '_value',
5655
+ type: 'string',
5656
+ default: '',
5657
+ description: undefined
5658
+ }
5659
+ ]
5660
+ }
5661
+ ]
5662
+ },
5663
+ {
5664
+ displayName: 'Translate Word In Exclude Highlight Mode',
5665
+ name: 'translateWordInExcludeHighlightMode',
5666
+ type: 'boolean',
5667
+ default: true,
5668
+ description: 'How `wordHighlightColors` is read. If `true`, text with the listed highlights is excluded from translation; if `false`, only it is translated.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
5669
+ },
5670
+ {
5671
+ displayName: 'Translate Word Exclude Colors',
5672
+ name: 'translateWordExcludeColors',
5673
+ type: 'boolean',
5674
+ default: false,
5675
+ description: 'When checked, excludes text whose color is listed in `wordExcludedColors` from translation.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm'
5676
+ },
5677
+ {
5678
+ displayName: 'Word Excluded Colors',
5679
+ name: 'wordExcludedColors',
5680
+ type: 'fixedCollection',
5681
+ typeOptions: {
5682
+ multipleValues: true
5683
+ },
5684
+ default: {},
5685
+ description: 'Text colors excluded from translation when `translateWordExcludeColors` is enabled, each six hexadecimal digits with an optional leading hash.\n\n__Note:__ Works only for files with the following extensions: *.docx, *.dotx, *.docm, *.dotm',
5686
+ placeholder: 'Add Item',
5687
+ options: [
5688
+ {
5689
+ displayName: 'Items',
5690
+ name: 'items',
5691
+ values: [
5692
+ {
5693
+ displayName: 'Value',
5694
+ name: '_value',
5695
+ type: 'string',
5696
+ default: '',
5697
+ description: undefined
5698
+ }
5699
+ ]
5700
+ }
5701
+ ]
5702
+ },
5703
+ {
5704
+ displayName: 'Translate Excel Cells Copied',
5705
+ name: 'translateExcelCellsCopied',
5706
+ type: 'boolean',
5707
+ default: true,
5708
+ description: 'When checked, a cell whose text is shared with another cell is exposed once for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
5709
+ },
5710
+ {
5711
+ displayName: 'Translate Excel Sheet Names',
5712
+ name: 'translateExcelSheetNames',
5713
+ type: 'boolean',
5714
+ default: false,
5715
+ description: 'When checked, exposes worksheet names for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
5716
+ },
5717
+ {
5718
+ displayName: 'Excel Excluded Colors',
5719
+ name: 'excelExcludedColors',
5720
+ type: 'fixedCollection',
5721
+ typeOptions: {
5722
+ multipleValues: true
5723
+ },
5724
+ default: {},
5725
+ description: 'Cell fill colors whose cells are excluded from translation, each the six-digit RGB with an optional leading hash, not the eight-digit ARGB stored in the file.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm',
5726
+ placeholder: 'Add Item',
5727
+ options: [
5728
+ {
5729
+ displayName: 'Items',
5730
+ name: 'items',
5731
+ values: [
5732
+ {
5733
+ displayName: 'Value',
5734
+ name: '_value',
5735
+ type: 'string',
5736
+ default: '',
5737
+ description: undefined
5738
+ }
5739
+ ]
5740
+ }
5741
+ ]
5742
+ },
5743
+ {
5744
+ displayName: 'Translate Excel Diagram Data',
5745
+ name: 'translateExcelDiagramData',
5746
+ type: 'boolean',
5747
+ default: false,
5748
+ description: 'When checked, exposes text inside SmartArt and diagram data for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
5749
+ },
5750
+ {
5751
+ displayName: 'Translate Excel Drawings',
5752
+ name: 'translateExcelDrawings',
5753
+ type: 'boolean',
5754
+ default: false,
5755
+ description: 'When checked, exposes text inside drawings and shapes on a worksheet for translation.\n\n__Note:__ Works only for files with the following extensions: *.xlsx, *.xltx, *.xlsm, *.xltm'
5169
5756
  }
5170
5757
  ]
5171
5758
  },
@@ -6095,6 +6682,33 @@ exports.sourceFilesProperties = [
6095
6682
  ]
6096
6683
  }
6097
6684
  ]
6685
+ },
6686
+ {
6687
+ displayName: 'Docx File Export Options',
6688
+ name: '_docxFileExportOptions',
6689
+ values: [
6690
+ {
6691
+ displayName: 'Export Pattern',
6692
+ name: 'exportPattern',
6693
+ type: 'string',
6694
+ default: '',
6695
+ description: 'File export pattern. Defines file name and path in resulting translations bundle\n\n__Note:__ Can\'t contain `: * ? " < > |` symbols'
6696
+ },
6697
+ {
6698
+ displayName: 'Allow Word Style Optimization',
6699
+ name: 'allowWordStyleOptimization',
6700
+ type: 'boolean',
6701
+ default: true,
6702
+ description: 'When checked, run properties in the exported document are minified against the style definitions instead of being kept verbatim.'
6703
+ },
6704
+ {
6705
+ displayName: 'Translate Excel Exclude Colors',
6706
+ name: 'translateExcelExcludeColors',
6707
+ type: 'boolean',
6708
+ default: false,
6709
+ description: 'When checked, excludes colored text runs inside a spreadsheet cell from translation.\n\n__Note:__ Applied when the file is parsed, even though it is set through `exportOptions`'
6710
+ }
6711
+ ]
6098
6712
  }
6099
6713
  ]
6100
6714
  },