C# 클래스 TranslateLanguageWindow, SmartLocalization

상속: EditorWindow
파일 보기 프로젝트 열기: NiklasBorglund/SmartLocalization 1 사용 예제들

공개 메소드들

메소드 설명
Initialize ( CultureInfo thisCultureInfo, bool checkTranslation = false ) : void
ShowWindow ( CultureInfo info, SmartLocalizationWindow, smartLocWindow ) : TranslateLanguageWindow,

Shows the translate window window.

TranslatedTextArrayCompleted ( List keys, List translatedValues ) : void

Callback when the translated array of texts is completed

TranslatedTextCompleted ( string key, string translatedValue ) : void

Callback when the translated text is translated

비공개 메소드들

메소드 설명
CheckIfCanBeTranslated ( ) : void

Checks if this language can be translated by Microsoft Translator

InitializeLanguage ( CultureInfo info, LocalizedObject>.Dictionary rootValues, LocalizedObject>.Dictionary thisLanguageValues ) : void

Initializes the Language

OnAudioGUI ( LocalizedObject>.KeyValuePair rootValue, int iterationCount ) : void

Shows the GUI for a key with the type of AUDIO

OnDisable ( ) : void
OnEnable ( ) : void
OnFocus ( ) : void
OnGUI ( ) : void
OnGameObjectGUI ( LocalizedObject>.KeyValuePair rootValue, int iterationCount ) : void

Shows the GUI for a key with the type of GAME_OBJECT

OnProjectChange ( ) : void
OnRootFileChanged ( ) : void
OnTextFieldGUI ( LocalizedObject>.KeyValuePair rootValue, int iterationCount ) : void

Shows the GUI for a key with the type of STRING

OnTextureGUI ( LocalizedObject>.KeyValuePair rootValue, int iterationCount ) : void

Shows the GUI for a key with the type of TEXTURE

메소드 상세

Initialize() 공개 메소드

public Initialize ( CultureInfo thisCultureInfo, bool checkTranslation = false ) : void
thisCultureInfo CultureInfo
checkTranslation bool
리턴 void

ShowWindow() 공개 정적인 메소드

Shows the translate window window.
public static ShowWindow ( CultureInfo info, SmartLocalizationWindow, smartLocWindow ) : TranslateLanguageWindow,
info CultureInfo
smartLocWindow SmartLocalizationWindow,
리턴 TranslateLanguageWindow,

TranslatedTextArrayCompleted() 공개 메소드

Callback when the translated array of texts is completed
public TranslatedTextArrayCompleted ( List keys, List translatedValues ) : void
keys List /// Keys. ///
translatedValues List /// Translated values. ///
리턴 void

TranslatedTextCompleted() 공개 메소드

Callback when the translated text is translated
public TranslatedTextCompleted ( string key, string translatedValue ) : void
key string /// The key of the translated value ///
translatedValue string /// Translated value. ///
리턴 void