C# 클래스 Forex_Strategy_Builder.Language

Manages the language translations of the program
파일 보기 프로젝트 열기: nuggett11/Forex-Strategy-Builder

공개 메소드들

메소드 설명
GenerateLangFiles ( ) : void

Generates English.xml and Bulgarian.xml.

GenerateNewLangFile ( string sFileName, string sLang, string sAuthor, string sWebsite, string sEmail ) : bool

Generates a new language file.

ImportLanguageFile ( string sLangFile ) : void

Imports a language file.

InitLanguages ( ) : void

Inits the languages.

RapairAllLangFiles ( ) : string

Repairs all the language files.

SaveLangFile ( string>.Dictionary dict, string sAuthor, string sWebsite, string sEmail ) : void

Generates a new language file.

ShowPhrases ( int iWhatToShow ) : void

Shows the phrases in a web browser.

T ( string phrase ) : string

Language Translation.

비공개 메소드들

메소드 설명
CheckLangFile ( ) : void

Checks the language file.

LoadLanguageFile ( string sLangFile ) : void

Loads a language dictionary.

SaveTextFile ( string sFilePath, string sContent ) : bool

Saves a text file

메소드 상세

GenerateLangFiles() 공개 정적인 메소드

Generates English.xml and Bulgarian.xml.
public static GenerateLangFiles ( ) : void
리턴 void

GenerateNewLangFile() 공개 정적인 메소드

Generates a new language file.
public static GenerateNewLangFile ( string sFileName, string sLang, string sAuthor, string sWebsite, string sEmail ) : bool
sFileName string
sLang string
sAuthor string
sWebsite string
sEmail string
리턴 bool

ImportLanguageFile() 공개 정적인 메소드

Imports a language file.
public static ImportLanguageFile ( string sLangFile ) : void
sLangFile string
리턴 void

InitLanguages() 공개 정적인 메소드

Inits the languages.
public static InitLanguages ( ) : void
리턴 void

RapairAllLangFiles() 공개 정적인 메소드

Repairs all the language files.
public static RapairAllLangFiles ( ) : string
리턴 string

SaveLangFile() 공개 정적인 메소드

Generates a new language file.
public static SaveLangFile ( string>.Dictionary dict, string sAuthor, string sWebsite, string sEmail ) : void
dict string>.Dictionary
sAuthor string
sWebsite string
sEmail string
리턴 void

ShowPhrases() 공개 정적인 메소드

Shows the phrases in a web browser.
public static ShowPhrases ( int iWhatToShow ) : void
iWhatToShow int
리턴 void

T() 공개 정적인 메소드

Language Translation.
public static T ( string phrase ) : string
phrase string
리턴 string