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

TPOFile.RemoveOriginal

Removes a translation entry in POItems with has the specified value as its Original untranslated value.

Declaration

Source position: translations.pas line 160

public procedure TPOFile.RemoveOriginal(

  const AOriginal: string

);

Arguments

AOriginal

  

Untranslated value to locate and remove in the method.

Description

RemoveOriginal visits each of the TPOFileItem instances in Items in reverse order. It removes the translation entry if the value in AOriginal is found in the multi-line value for the Original member in the TPOFileItem instance.

No actions are performed in the method if AOriginal is an empty string ('').


Version 4.0 Generated 2025-05-03 Home