TPOFileItem class
Represents a single key/value pair in a .po file which maps a string to its translated value.
Declaration
TPOFileItem = classDescription
TPOFileItem is a class used to represent a key/value pair defined
in a .po (Portable Object) file. It provides members, properties, and methods
used to process, store, and maintain a single translation defined in a .po
file.
TPOFileItem is the type used for the POItems property in TPOFile. It is also passed as an argument or used as the return value for methods in TPOFile.
See also
Properties
InitialFuzzyState | public | Indicates whether the translation entry is marked with the "fuzzy" state comment. |
VirtualTranslation | public | Indicates whether the translation is included in statistics generated when a .po file is processed and applied. |
Methods
Create | public | Constructor for the class instance. |
ModifyFlag | public | Examines and updates the Flags property for the specified values. |
Fields
Tag | public | Arbitrary value which can be used to identify the translation entry. |
LineNr | public | Line number in a .po file where the first line for the translation entry was found. |
Comments | public | Contains the comments with the notes for translators, flag values, et. al. for the translation entry. |
IdentifierLow | public | Lowercase variant of the message identifier or untranslated value. |
Original | public | Original untranslated value prior to localization using the value in Translation. |
Translation | public | Translated or localized value for the message identifier. |
Flags | public | Comma-delimited list of Flag names found in the comments for the translation entry. |
PreviousID | public | Prior message ID used for the value in Original. |
Context | public | Contains the msgctxt (message context) for the key/value pair. |
Duplicate | public | Indicates if the key/value pair is a duplicate of a previous entry. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
