Changeset 78 for trunk/Forms


Ignore:
Timestamp:
Jun 2, 2021, 6:27:13 PM (3 years ago)
Author:
chronos
Message:
  • Added: Snap package definition file.
  • Added: Detect language files in different system location.
  • Added: Two screenshots.
  • Fixed: Missing parallel track line ending shift.
  • Modified: Various small typos.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r77 r78  
    6767
    6868procedure TFormMain.FormCreate(Sender: TObject);
    69 begin
     69const
     70  LinuxLanguagesDir = '/usr/share/BigMetro/languages';
     71begin
     72  {$IFDEF Linux}
     73  // If installed in Linux system then use installation directory for po files
     74  if not DirectoryExists(Translator1.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then
     75    Translator1.POFilesFolder := LinuxLanguagesDir;
     76  {$ENDIF}
     77
    7078  Engine := TEngine.Create;
    7179  LoadConfig;
Note: See TracChangeset for help on using the changeset viewer.