Changeset 17 for trunk/UCore.pas


Ignore:
Timestamp:
Mar 22, 2018, 9:32:50 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Build deb package with project in Release mode.
  • Fixed: Search locales in different location if installed as linux application.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r16 r17  
    224224begin
    225225  if not Initialized then begin
     226    {$IFDEF Linux}
     227    // If installed in Linux system then use installation directory for po files
     228    if Application.ExeName = '/usr/bin/MyData' then
     229      CoolTranslator1.POFilesFolder := '/usr/share/MyData/languages';
     230    {$ENDIF}
    226231    InitDataTypes;
    227232    InitEngines;
Note: See TracChangeset for help on using the changeset viewer.