| Localiser Class |
Namespace: VirtualRadar.Localisation
The Localiser type exposes the following members.
| Name | Description | |
|---|---|---|
| Localiser(Type) |
Creates a new object.
| |
| Localiser(LocalisedStringsMap) |
Creates a new object.
|
| Name | Description | |
|---|---|---|
| AddResourceStrings |
Adds strings from a resource file to the localiser.
| |
| ColumnHeader |
Localises a column header.
| |
| Control |
Localises an arbitrary control.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Form |
Localises a form's title and then recursively localises all of the controls on the form.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLocalisedText |
Returns the localised version of the text passed across.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ListViewColumns |
Localises the columns in a list view.
| |
| Lookup |
Returns the localised version of the string identifier passed across.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToolStrip |
Localises a toolstrip.
| |
| ToolStripItem |
Localises a toolstrip item.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class can be used by the plugins to translate strings for their UI.
All methods look for elements whose text contains tags delimited by double-colons. Those tags are replaced with strings whose name matches the text within the double-colon. So for example, a Label whose Text property is "::UserName::" would be subsituted with the content of the UserName string. Only chunks within double-colons are substituted.