Changeset 75 for trunk/UCore.pas


Ignore:
Timestamp:
Dec 17, 2016, 7:01:19 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Main project file renamed to LazFuck.
  • Added: Packaging files for creation of .deb packages.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11lib
        2 LazFuckIDE.exe
        3 LazFuckIDE.lps
         2LazFuck.exe
         3LazFuck.lps
        44backup
        5 LazFuckIDE
         5LazFuck
        66compiled
  • trunk/UCore.pas

    r73 r75  
    4747uses
    4848  UFormMain, UTargetJava, UTargetDelphi, UTargetPHP, UTargetC,
    49   UTargetInterpretter, UTargetFPC, UBFTarget;
     49  UTargetInterpretter, UTargetFPC, UBFTarget, Forms, LazFileUtils;
    5050
    5151
     
    6363  Targets.Add(TTargetC.Create);
    6464  Targets.Add(TTargetJava.Create);
     65
     66  {$IFDEF Linux}
     67  // If installed in Linux system then use installation directory for po files
     68  if Application.ExeName = '/usr/bin/' + ExtractFileNameOnly(Application.ExeName) then
     69    CoolTranslator1.POFilesFolder := '/usr/share/' + ExtractFileNameOnly(Application.ExeName) + '/languages';
     70  {$ENDIF}
     71
    6572  LoadFromRegistry(HKEY(ApplicationInfo.RegistryRoot), ApplicationInfo.RegistryKey);
    6673end;
Note: See TracChangeset for help on using the changeset viewer.