[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ensures that a TPOFileItem instance is allocated for the Header property (when not already assigned).
Source position: translations.pas line 146
public procedure TPOFile.CreateHeader; |
CreateHeader sets the value for the Translation property in Header to the default content type for the .po file:
'Content-Type: text/plain; charset=UTF-8'.
CreateHeader is called from the file-based variant of the Create constructor, and from the SaveToStrings method when Header has not been assigned.
|
Contains values for the header section in a .po file. |
|
|
Character set used for the contents of the .po file. |
|
|
Constructor for the class instance. |
|
|
Stores values from Header and the sorted POItems to the specified string list. |
|
|
Translated or localized value for the message identifier. |
|
|
Contains the comments with the notes for translators, flag values, et. al. for the translation entry. |
Version 4.0 | Generated 2025-05-03 | Home |