Sign in Join
FPDoc Onlineexperiment

TPOFile.RemoveOriginal procedure

Member of TPOFilepublicIn unit Translations

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

Declaration

pascal
procedure 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 ('').

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.