Class TranslateTaskSettings
Settings group class for the Analysis automatic task settings.
Inheritance
Namespace: Sdl.ProjectAutomation.Settings
Assembly: Sdl.ProjectAutomation.Settings.dll
Syntax
public class TranslateTaskSettings : SettingsGroup
Constructors
TranslateTaskSettings()
Default constructor. You should never create this object manually. Use GetSettingsGroup(String) instead.
Declaration
public TranslateTaskSettings()
Properties
ConfirmAfterApplyingExactMatch
Gets the setting that specifies whether exact matches should be auto-confirmed. Default: true
.
Declaration
public Setting<bool> ConfirmAfterApplyingExactMatch { get; }
Property Value
Type | Description |
---|---|
Setting<System.Boolean> |
ConfirmAfterApplyingInContextExactMatch
Gets the setting that specifies whether in context exact matches should be auto-confirmed. Default: true
.
Declaration
public Setting<bool> ConfirmAfterApplyingInContextExactMatch { get; }
Property Value
Type | Description |
---|---|
Setting<System.Boolean> |
CreateReport
Gets the setting that flags whether a report should be generated. Default: true
.
Declaration
public Setting<bool> CreateReport { get; }
Property Value
Type | Description |
---|---|
Setting<System.Boolean> |
LockContextMatchSegments
Gets the setting that specifies whether context matches should be locked. Default: true
.
Declaration
public Setting<bool> LockContextMatchSegments { get; }
Property Value
Type | Description |
---|---|
Setting<System.Boolean> |
LockExactMatchSegments
Gets the setting that specifies whether 100% matches should be locked. Default: true
.
Declaration
public Setting<bool> LockExactMatchSegments { get; }
Property Value
Type | Description |
---|---|
Setting<System.Boolean> |
MinimumMatchScore
Gets the setting that specifies the minimum match value when applying the translation memories, or matches from other providers. Default: 100.
Declaration
public Setting<int> MinimumMatchScore { get; }
Property Value
Type | Description |
---|---|
Setting<System.Int32> |
NoTranslationMemoryMatchFoundAction
Gets the setting that flags whether the source should be copied to the target if no match is found. Default: LeaveEmpty.
Declaration
public Setting<NoTranslationMemoryMatchFoundAction> NoTranslationMemoryMatchFoundAction { get; }
Property Value
Type | Description |
---|---|
Setting<NoTranslationMemoryMatchFoundAction> |
OverwritePerfectMatch
Gets the setting that specifies whether exsting PerfectMatch translations are overwritten when the TranslationOverwriteModeTranslationOverwriteMode setting is set to OverwriteExistingTranslation. Default false
.
Declaration
public Setting<bool> OverwritePerfectMatch { get; }
Property Value
Type | Description |
---|---|
Setting<System.Boolean> |
TranslationOverwriteMode
Gets the setting that specifies whether existing translations should be kept or overwritten in the document. Default: OverwriteExistingTranslationIfBetterMatch.
Declaration
public Setting<TranslationUpdateMode> TranslationOverwriteMode { get; }
Property Value
Type | Description |
---|---|
Setting<TranslationUpdateMode> |
Methods
GetDefaultValue(String)
Gets the default value.
Declaration
protected override object GetDefaultValue(string settingId)
Parameters
Type | Name | Description |
---|---|---|
System.String | settingId | The setting id. |
Returns
Type | Description |
---|---|
System.Object | The default value. |