Changeset 154 for trunk


Ignore:
Timestamp:
Jan 14, 2025, 12:35:35 PM (7 days ago)
Author:
chronos
Message:

Merged revision(s) 152-153 from trunk:

  • Modified: Improved flatpak packaging.
  • Fixed: Detection of languages directory on Linux.
  • Fixed: Top left menu alignment.
  • Modified: Improved debian control script.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormMain.lfm

    r143 r154  
    1515  OnKeyUp = FormKeyUp
    1616  OnShow = FormShow
    17   LCLVersion = '2.2.6.0'
     17  LCLVersion = '3.6.0.0'
    1818  object PaintBox1: TPaintBox
    1919    Left = 0
  • trunk/Forms/FormMain.pas

    r153 r154  
    6363const
    6464  UnixLanguagesDir = '../share/TransLines';
     65var
     66  NewDir: string;
     67{$ENDIF}
     68const
    6569  LanguagesDirName = 'Languages';
    6670var
    67   NewDir: string;
    6871  BaseDir: string;
    69 {$ENDIF}
    7072begin
    7173  BaseDir := ExcludeTrailingPathDelimiter(ExtractFilePath(ParamStr(0)));
  • trunk/Install/flatpak/net.zdechov.app.TransLines.yml

    r152 r154  
    2828      - type: svn
    2929        url: https://svn.zdechov.net/translines/trunk
    30         revision: r152
     30        revision: r154
    3131    buildsystem: simple
    3232    build-commands:
  • trunk/Packages/Common/Translator.pas

    r145 r154  
    322322    Result[I] := StringReplace(Result[I], '/', DirectorySeparator, [rfReplaceAll]);
    323323    Result[I] := StringReplace(Result[I], '\', DirectorySeparator, [rfReplaceAll]);
    324     if Copy(Result[I], 1, 1) <> DirectorySeparator then
     324    if (Copy(Result[I], 1, 1) <> DirectorySeparator) and (Copy(Result[I], 2, 2) <> ':\') then
    325325      Result[I] := ExtractFileDir(Application.ExeName) +
    326326        DirectorySeparator + Result[I];
Note: See TracChangeset for help on using the changeset viewer.