Changeset 380


Ignore:
Timestamp:
Jan 4, 2025, 12:07:24 AM (4 days ago)
Author:
chronos
Message:
  • Fixed: Language translation on Windows was not working.
  • Fixed: About dialog wrong layout.
Location:
trunk/Packages/Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Forms/FormAbout.lfm

    r365 r380  
    1313  object LabelDescription: TLabel
    1414    Left = 30
    15     Height = 26
    16     Top = 0
     15    Height = 25
     16    Top = 135
    1717    Width = 654
    1818    Align = alTop
     
    2727  object LabelContent: TLabel
    2828    Left = 30
    29     Height = 26
    30     Top = 221
     29    Height = 25
     30    Top = 190
    3131    Width = 654
    3232    Align = alTop
     
    3939    Left = 0
    4040    Height = 135
    41     Top = 56
     41    Top = 0
    4242    Width = 714
    4343    Align = alTop
  • trunk/Packages/Common/Translator.pas

    r315 r380  
    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.