[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Contains the comments with the notes for translators, flag values, et. al. for the translation entry.
Source position: translations.pas line 94
public TPOFileItem.Comments : string; |
Comments is a public String member which contains the comment lines which occur at the start of the translation entry. It is an empty string ('') if no comments were found prior to the key/value pair in Original and Translation. If multiple comment lines (starting with the '#' character) are found, and line ending sequence is added at the end of each comment.
The value in Comments is detected when the ReadPOText method in TPOFile is called to process the contents of a .po file, and stored when the FillItem method in TPOFile is called.
A comment line starts with the # character and relates to the first entry after the comment. Comment types and uses are defined as follows:
Flag values from the translator or the Gettext tool. Unlike other comments, these lines may be handled or applied in the application. The comma-delimited list of flags may be used to apply the translation based on the comment type.
"fuzzy" is inserted by a translator when the translated value might not be a correct translation. When verified, the "fuzzy" attribute can be removed in the .po file. A translation with the "fuzzy" flag is not applied in the application.
"badformat" indicates the message ID or translated value has an invalid format. A translation with the "badformat" flag is not applied in the application.
"object-pascal-format" and "no-object-pascal-format"indicate that the message ID or translated value does or does not use the format for the Object Pascal language. These are generated by automated PO processing tools.
Version 4.0 | Generated 2025-05-03 | Home |