Changeset 78 for trunk/Forms
- Timestamp:
- Jun 2, 2021, 6:27:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r77 r78 67 67 68 68 procedure TFormMain.FormCreate(Sender: TObject); 69 begin 69 const 70 LinuxLanguagesDir = '/usr/share/BigMetro/languages'; 71 begin 72 {$IFDEF Linux} 73 // If installed in Linux system then use installation directory for po files 74 if not DirectoryExists(Translator1.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then 75 Translator1.POFilesFolder := LinuxLanguagesDir; 76 {$ENDIF} 77 70 78 Engine := TEngine.Create; 71 79 LoadConfig;
Note:
See TracChangeset
for help on using the changeset viewer.