ConvertStrings method
|
TextTemplateConverter component.
|
procedure ConvertStrings(Strings: TStrings);
|
The ConvertStrings method is the same as Convert, but translates the string lists.
|
|
It checks the template string specified in Value parameter, found in that string all the %keywords% specified in Name property of Params collection, replaces the %keywords% with the text specified in Value property of Params.
|
|
After calling the ConvertStrings method, the Strings parameter will contain translated text, where all keywords replaced with their actual values.
|
ConvertStrings(Memo1.Lines);
|
Params property;
|
Convert and ConvertStream methods.
|