Changeset 21 for trunk/UCore.pas


Ignore:
Timestamp:
Oct 5, 2019, 2:23:25 PM (5 years ago)
Author:
chronos
Message:
  • Added: Debian packaging information.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r20 r21  
    5454procedure TCore.DataModuleCreate(Sender: TObject);
    5555begin
     56  {$IFDEF Linux}
     57  // If installed in Linux system then use installation directory for po files
     58  if Application.ExeName = '/usr/bin/Game2048' then
     59    Translator1.POFilesFolder := '/usr/share/Game2048/languages';
     60  {$ENDIF}
     61
    5662  Randomize;
    5763  Game := TGame.Create;
Note: See TracChangeset for help on using the changeset viewer.