[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Adds or updates translation entries in POItems using the values specified in InputLines.
Source position: translations.pas line 147
public procedure TPOFile.UpdateStrings( |
InputLines: TStrings; |
SType: TStringsType |
); |
InputLines |
|
TStrings instance with the translation entries stored in the .po file class instance. |
SType |
|
Identifies the format for the identifiers and values in the InputLines argument. |
UpdateStrings is a method used to refresh the translation entries in the .po file from the values specified in the InputLines argument. Values in InputLines are stored using the format specified in the SType argument, and includes:
UpdateStrings provides nested routines used to read the various formats and to apply the translation entries to POItems. Each identifier and value are read from InputLines and UpdateItem is called to store the data.
UpdateStrings is used in the implementation of the UpdatePOFile routine.
|
Provides indexed access to the translation entries in the class instance. |
|
|
Provides access to the TFPList instance where translation entries are stored. |
|
|
Adds or updates a translation entry which has the specified Identifier. |
|
|
Represents a single key/value pair in a .po file which maps a string to its translated value. |
|
|
Format used in the string table passed to the TPOFile.UpdateStrings method. |
Version 4.0 | Generated 2025-05-03 | Home |