Class TCastleMOFile
Unit
Declaration
type TCastleMOFile = class(TMOFile)
Description
TMOFile descendant that allows iterating through all strings.
Source: files/castlelocalizationgettext.pas (line 93).
Hierarchy
- TObject
- TMOFile
- TCastleMOFile
Overview
Methods
| Public | constructor Create(const Stream: TStream); |
| Public | constructor Create(const Url: String); |
| Public | function ContainsKey(const TranslationId: String): Boolean; |
| Public | function ContainsKeyWithContext(const Context, Id: String): Boolean; |
| Public | function TranslateWithContext(const Context, Id: String): String; |
Properties
| Public | property Count: Cardinal read StringCount; |
| Public | property Keys[const AIndex: Cardinal]: String read GetKey; |
| Public | property Values[const AIndex: Cardinal]: String read GetValue; |
Description
Methods
| Public | constructor Create(const Stream: TStream); |
|
This item has no description. | |
| Public | constructor Create(const Url: String); |
|
This item has no description. | |
| Public | function ContainsKey(const TranslationId: String): Boolean; |
|
Does the given id exist in MO file. Using it is much slower than just attempting to translate using | |
| Public | function ContainsKeyWithContext(const Context, Id: String): Boolean; |
|
This item has no description. | |
| Public | function TranslateWithContext(const Context, Id: String): String; |
|
This item has no description. | |
Properties
| Public | property Count: Cardinal read StringCount; |
|
This item has no description. | |
| Public | property Keys[const AIndex: Cardinal]: String read GetKey; |
|
This item has no description. | |
| Public | property Values[const AIndex: Cardinal]: String read GetValue; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.