C# Class PurplePen.DescriptionLocalize

Mostrar archivo Open project: petergolde/PurplePen

Public Methods

Method Description
AddLanguage ( SymbolLanguage symbolLanguage, string langIdCopyTextsFrom ) : void
CustomizeDescriptionNames ( Dictionary symbolNames ) : void
CustomizeDescriptionTexts ( Dictionary descriptionText ) : void
DescriptionLocalize ( SymbolDB symbolDB ) : System
MergeSymbolsFile ( string fileToMerge, string langId ) : void

Private Methods

Method Description
AddOneDescriptionText ( string symbolId, SymbolText symbolText ) : void
AddOneSymbolName ( string symbolId, SymbolText symbolText ) : void
CopyAllNames ( string langIdFrom, string langIdTo ) : void
CopyAllTexts ( string langIdFrom, string langIdTo ) : void
ImportAndInsertNode ( XmlElement oldNode ) : void
LoadXmlDocument ( ) : void
RemoveDescriptionText ( string symbolId, string langId ) : void
RemoveSymbolName ( string symbolId, string langId ) : void
SaveXmlDocument ( ) : void

Method Details

AddLanguage() public method

public AddLanguage ( SymbolLanguage symbolLanguage, string langIdCopyTextsFrom ) : void
symbolLanguage SymbolLanguage
langIdCopyTextsFrom string
return void

CustomizeDescriptionNames() public method

public CustomizeDescriptionNames ( Dictionary symbolNames ) : void
symbolNames Dictionary
return void

CustomizeDescriptionTexts() public method

public CustomizeDescriptionTexts ( Dictionary descriptionText ) : void
descriptionText Dictionary
return void

DescriptionLocalize() public method

public DescriptionLocalize ( SymbolDB symbolDB ) : System
symbolDB SymbolDB
return System

MergeSymbolsFile() public method

public MergeSymbolsFile ( string fileToMerge, string langId ) : void
fileToMerge string
langId string
return void