C# Class CM3D2.MaidFiddler.Plugin.Utils.Translation

Datei anzeigen Open project: denikson/CM3D2.MaidFiddler

Public Properties

Property Type Description
TagPattern System.Text.RegularExpressions.Regex

Public Methods

Method Description
AddTranslatableControl ( Control c ) : void
AddTranslationAction ( string key, Action translationAction ) : void
ApplyTranslation ( ) : void
Exists ( string name ) : bool
GetTranslation ( string id ) : string
GetTranslation ( Control c ) : void
IsTranslated ( string label ) : bool
LoadTranslation ( string filename ) : void

Private Methods

Method Description
Translation ( ) : System

Method Details

AddTranslatableControl() public static method

public static AddTranslatableControl ( Control c ) : void
c System.Windows.Forms.Control
return void

AddTranslationAction() public static method

public static AddTranslationAction ( string key, Action translationAction ) : void
key string
translationAction Action
return void

ApplyTranslation() public static method

public static ApplyTranslation ( ) : void
return void

Exists() public static method

public static Exists ( string name ) : bool
name string
return bool

GetTranslation() public static method

public static GetTranslation ( string id ) : string
id string
return string

GetTranslation() public static method

public static GetTranslation ( Control c ) : void
c System.Windows.Forms.Control
return void

IsTranslated() public static method

public static IsTranslated ( string label ) : bool
label string
return bool

LoadTranslation() public static method

public static LoadTranslation ( string filename ) : void
filename string
return void

Property Details

TagPattern public_oe static_oe property

public static Regex,System.Text.RegularExpressions TagPattern
return System.Text.RegularExpressions.Regex