Changeset 208 for trunk/UCore.pas
- Timestamp:
- Sep 20, 2021, 11:36:06 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r207 r208 8 8 Classes, SysUtils, FileUtil, UAcronym, UTranslator, UPersistentForm, 9 9 UJobProgressView, UScaleDPI, Forms, Controls, ExtCtrls, Menus, LazFileUtils, 10 URegistry, UApplicationInfo, Registry, UTheme , UAboutDialog;10 URegistry, UApplicationInfo, Registry, UTheme; 11 11 12 12 type … … 82 82 83 83 procedure TCore.DataModuleCreate(Sender: TObject); 84 begin 84 const 85 LinuxLanguagesDir = '/usr/share/AcronymDecoder/Languages'; 86 begin 87 {$IFDEF Linux} 88 // If installed in Linux system then use installation directory for po files 89 if not DirectoryExists(Translator.POFilesFolder) and DirectoryExists(LinuxLanguagesDir) then 90 Translator.POFilesFolder := LinuxLanguagesDir; 91 {$ENDIF} 92 85 93 AcronymDb := nil; 86 94 InitializeStarted := False;
Note:
See TracChangeset
for help on using the changeset viewer.