Ignore:
Timestamp:
Sep 20, 2021, 10:16:37 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
  • Modified: CoolTranslator package merged into Common package.
  • Fixed: Build with Lazarus 2.0.12
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r204 r207  
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
    99  ComCtrls, StdCtrls, ExtCtrls, ActnList, Grids, UAcronym, UPersistentForm,
    10   URegistry, ULastOpenedList, UListViewSort, UJobProgressView,
     10  URegistry, ULastOpenedList, UListViewSort, UJobProgressView, UAboutDialog,
    1111  Registry, fgl, LazUTF8, LazFileUtils;
    1212
     
    1616
    1717  TFormMain = class(TForm)
     18    AboutDialog1: TAboutDialog;
    1819    ADocumentCheck: TAction;
    1920    AFilterEnabledCategories: TAction;
     
    439440procedure TFormMain.AShowAboutExecute(Sender: TObject);
    440441begin
    441   FormAbout := TFormAbout.Create(Self);
    442   try
    443     FormAbout.ApplicationInfo := Core.ApplicationInfo1;
    444     FormAbout.ShowModal;
    445   finally
    446     FreeAndNil(FormAbout);
    447   end;
     442  AboutDialog1.Show;
    448443end;
    449444
     
    760755  // If installed in Linux system then use installation directory for po files
    761756  if Application.ExeName = '/usr/bin/' + ExtractFileNameOnly(Application.ExeName) then
    762     Core.CoolTranslator1.POFilesFolder := '/usr/share/' + ExtractFileNameOnly(Application.ExeName) + '/languages';
     757    Core.Translator.POFilesFolder := '/usr/share/' + ExtractFileNameOnly(Application.ExeName) + '/languages';
    763758  {$ENDIF}
    764759
Note: See TracChangeset for help on using the changeset viewer.