C# Class MtEnhancedTradosPlugin.MtTranslationProviderLanguageDirection

Inheritance: ITranslationProviderLanguageDirection
Exibir arquivo Open project: patrickporter/MT-Enhanced-Trados-Plugin

Public Methods

Method Description
AddOrUpdateTranslationUnits ( TranslationUnit translationUnits, int previousTranslationHashes, ImportSettings settings ) : ImportResult[]

Not required for this implementation.

AddOrUpdateTranslationUnitsMasked ( TranslationUnit translationUnits, int previousTranslationHashes, ImportSettings settings, bool mask ) : ImportResult[]

Not required for this implementation.

AddTranslationUnit ( TranslationUnit translationUnit, ImportSettings settings ) : ImportResult

Not required for this implementation.

AddTranslationUnits ( TranslationUnit translationUnits, ImportSettings settings ) : ImportResult[]

Not required for this implementation.

AddTranslationUnitsMasked ( TranslationUnit translationUnits, ImportSettings settings, bool mask ) : ImportResult[]

Not required for this implementation.

MtTranslationProviderLanguageDirection ( MtTranslationProvider provider, LanguagePair languages ) : System
SearchSegment ( SearchSettings settings, Segment segment ) : SearchResults
SearchSegments ( SearchSettings settings, Segment segments ) : SearchResults[]
SearchSegmentsMasked ( SearchSettings settings, Segment segments, bool mask ) : SearchResults[]
SearchText ( SearchSettings settings, string segment ) : SearchResults
SearchTranslationUnit ( SearchSettings settings, TranslationUnit translationUnit ) : SearchResults
SearchTranslationUnits ( SearchSettings settings, TranslationUnit translationUnits ) : SearchResults[]
SearchTranslationUnitsMasked ( SearchSettings settings, TranslationUnit translationUnits, bool mask ) : SearchResults[]
UpdateTranslationUnit ( TranslationUnit translationUnit ) : ImportResult

Not required for this implementation.

UpdateTranslationUnits ( TranslationUnit translationUnits ) : ImportResult[]

Not required for this implementation.

Private Methods

Method Description
CreateSearchResult ( Segment searchSegment, Segment translation, string sourceSegment ) : System.IO.SearchResult
LookupGT ( string sourcetext, MtTranslationOptions options, string format ) : string
LookupMST ( string sourcetext, MtTranslationOptions options, string format ) : string
getEditedSegment ( SegmentEditor editor, Segment inSegment ) : Segment

Used to do batch find-replace on a segment with tags.

getEditedString ( SegmentEditor editor, string sourcetext ) : string

Used to do batch find-replace on a string of plain text.

Method Details

AddOrUpdateTranslationUnits() public method

Not required for this implementation.
public AddOrUpdateTranslationUnits ( TranslationUnit translationUnits, int previousTranslationHashes, ImportSettings settings ) : ImportResult[]
translationUnits TranslationUnit
previousTranslationHashes int
settings ImportSettings
return ImportResult[]

AddOrUpdateTranslationUnitsMasked() public method

Not required for this implementation.
public AddOrUpdateTranslationUnitsMasked ( TranslationUnit translationUnits, int previousTranslationHashes, ImportSettings settings, bool mask ) : ImportResult[]
translationUnits TranslationUnit
previousTranslationHashes int
settings ImportSettings
mask bool
return ImportResult[]

AddTranslationUnit() public method

Not required for this implementation.
public AddTranslationUnit ( TranslationUnit translationUnit, ImportSettings settings ) : ImportResult
translationUnit TranslationUnit
settings ImportSettings
return ImportResult

AddTranslationUnits() public method

Not required for this implementation.
public AddTranslationUnits ( TranslationUnit translationUnits, ImportSettings settings ) : ImportResult[]
translationUnits TranslationUnit
settings ImportSettings
return ImportResult[]

AddTranslationUnitsMasked() public method

Not required for this implementation.
public AddTranslationUnitsMasked ( TranslationUnit translationUnits, ImportSettings settings, bool mask ) : ImportResult[]
translationUnits TranslationUnit
settings ImportSettings
mask bool
return ImportResult[]

MtTranslationProviderLanguageDirection() public method

public MtTranslationProviderLanguageDirection ( MtTranslationProvider provider, LanguagePair languages ) : System
provider MtTranslationProvider
languages LanguagePair
return System

SearchSegment() public method

public SearchSegment ( SearchSettings settings, Segment segment ) : SearchResults
settings SearchSettings
segment Segment
return SearchResults

SearchSegments() public method

public SearchSegments ( SearchSettings settings, Segment segments ) : SearchResults[]
settings SearchSettings
segments Segment
return SearchResults[]

SearchSegmentsMasked() public method

public SearchSegmentsMasked ( SearchSettings settings, Segment segments, bool mask ) : SearchResults[]
settings SearchSettings
segments Segment
mask bool
return SearchResults[]

SearchText() public method

public SearchText ( SearchSettings settings, string segment ) : SearchResults
settings SearchSettings
segment string
return SearchResults

SearchTranslationUnit() public method

public SearchTranslationUnit ( SearchSettings settings, TranslationUnit translationUnit ) : SearchResults
settings SearchSettings
translationUnit TranslationUnit
return SearchResults

SearchTranslationUnits() public method

public SearchTranslationUnits ( SearchSettings settings, TranslationUnit translationUnits ) : SearchResults[]
settings SearchSettings
translationUnits TranslationUnit
return SearchResults[]

SearchTranslationUnitsMasked() public method

public SearchTranslationUnitsMasked ( SearchSettings settings, TranslationUnit translationUnits, bool mask ) : SearchResults[]
settings SearchSettings
translationUnits TranslationUnit
mask bool
return SearchResults[]

UpdateTranslationUnit() public method

Not required for this implementation.
public UpdateTranslationUnit ( TranslationUnit translationUnit ) : ImportResult
translationUnit TranslationUnit
return ImportResult

UpdateTranslationUnits() public method

Not required for this implementation.
public UpdateTranslationUnits ( TranslationUnit translationUnits ) : ImportResult[]
translationUnits TranslationUnit
return ImportResult[]