Ignore:
Timestamp:
Aug 22, 2016, 9:31:44 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Dynamically created forms were not translated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImport.pas

    r90 r96  
    77uses
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    9   UAcronym;
     9  UAcronym, Types;
    1010
    1111type
     
    2222    procedure ButtonProcessClick(Sender: TObject);
    2323    procedure ButtonLoadFromFileClick(Sender: TObject);
     24    procedure FormCreate(Sender: TObject);
    2425  private
    2526    procedure ImportMediaWiki;
     
    5758  if OpenDialog1.Execute then
    5859    Memo1.Lines.LoadFromFile(OpenDialog1.FileName);
     60end;
     61
     62procedure TFormImport.FormCreate(Sender: TObject);
     63begin
     64  Core.CoolTranslator1.TranslateComponentRecursive(Self);
    5965end;
    6066
Note: See TracChangeset for help on using the changeset viewer.