[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Translations' (#lazutils)

TPOFile.Report

Generates output with the values in the Header and the translation entries in the .po file.

Declaration

Source position: translations.pas line 143

public procedure TPOFile.Report;

procedure TPOFile.Report(

  StartIndex: Integer;

  StopIndex: Integer;

  const DisplayHeader: Boolean

);

procedure TPOFile.Report(

  Log: TStrings;

  StartIndex: Integer;

  StopIndex: Integer;

  const DisplayHeader: Boolean

);

Arguments

StartIndex

  

Ordinal position for the first translation entry included in the output.

StopIndex

  

Ordinal position for the last translation entry included in the output.

DisplayHeader

  

True to display values found the Header for the .po file.

Arguments

Log

  

TStrings instance where the output for the report is stored.

StartIndex

  

Ordinal position for the first translation entry included in the output.

StopIndex

  

Ordinal position for the last translation entry included in the output.

DisplayHeader

  

True to display values found the Header for the .po file.

Description

Report is an overloaded method in TPOFile used to generate output with the values from the Header and the POItems translation entries for the .po file. The overloaded variants allow the output to be sent to the DebugLn routine or stored in a TStrings instance.

Use DisplayHeader to control whether values in the Header section of the .po file are included the output for the report.

Use StartIndex and StopIndex to specify a range of translation entries found in POItems in the output for the report.

The variant with the Log parameter allows the output to be stored in the TString instance passed in the argument.


Version 4.0 Generated 2025-05-03 Home