Changeset 207 for trunk/Forms/UFormMain.pas
- Timestamp:
- Sep 20, 2021, 10:16:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r204 r207 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, 9 9 ComCtrls, StdCtrls, ExtCtrls, ActnList, Grids, UAcronym, UPersistentForm, 10 URegistry, ULastOpenedList, UListViewSort, UJobProgressView, 10 URegistry, ULastOpenedList, UListViewSort, UJobProgressView, UAboutDialog, 11 11 Registry, fgl, LazUTF8, LazFileUtils; 12 12 … … 16 16 17 17 TFormMain = class(TForm) 18 AboutDialog1: TAboutDialog; 18 19 ADocumentCheck: TAction; 19 20 AFilterEnabledCategories: TAction; … … 439 440 procedure TFormMain.AShowAboutExecute(Sender: TObject); 440 441 begin 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; 448 443 end; 449 444 … … 760 755 // If installed in Linux system then use installation directory for po files 761 756 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'; 763 758 {$ENDIF} 764 759
Note:
See TracChangeset
for help on using the changeset viewer.