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

TPOFile.RemoveIdentifiers

Removes translation entries from Items which have the identifiers (msgids) in the specified string list.

Declaration

Source position: translations.pas line 161

public procedure TPOFile.RemoveIdentifiers(

  AIdentifiers: TStrings

);

Arguments

AIdentifiers

  

TStrings instance with the identifiers located and removed in the method.

Description

RemoveIdentifiers is a method used to remove translation entries in Items which have an identifier found in the AIdentifiers argument.

AIdentifiers is a TStrings instance which contains one or more identifiers to be removed in the method. Each identifier should be a separate line of text in the TStrings instance.

RemoveIdentifiers iterates over the lines of text in AIdentifiers and calls the RemoveIdentifier method for the identifier value.

No actions are performed in the method if the Count property in AIdentifiers is 0 (zero).


Version 4.0 Generated 2025-05-03 Home