Sign in Join
FPDoc Onlineexperiment

TranslateUnitResourceStrings procedure

In unit GetText

Translate the resource strings of a unit.

Declaration

pascal
procedure TranslateUnitResourceStrings(const AUnitName: AnsiString; 
 AFile: TMOFile)

Arguments

AUnitName

Name of the unit whose strings should be translated.

AFileTMOFile instance with translated strings.

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.