[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Translate the resource strings of a unit.
Source position: gettext.pp line 74
procedure TranslateUnitResourceStrings( |
const AUnitName: string; |
AFile: TMOFile |
); |
const AUnitName: string; |
const AFilename: string |
); |
AUnitName |
|
Name of the unit whose strings should be translated. |
AFile |
|
TMOFile instance with translated strings. |
AUnitName |
|
Name of the unit whose strings should be translated. |
AFilename |
|
Name of .mo file with translated strings |
TranslateUnitResourceStrings is identical in function to TranslateResourceStrings, but translates the strings of a single unit (AUnitName) which was used to compile the application. This can be more convenient, since the resource string files are created on a unit basis.
|
Translate the resource strings of the application. |
|
|
Class providing access to a .mo file. |