Changeset 10 for trunk/UCore.pas
- Timestamp:
- Jan 25, 2015, 9:54:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r9 r10 6 6 7 7 uses 8 Classes, SysUtils, XMLConf, FileUtil, Controls, ActnList, UDatabase, Forms; 8 Classes, SysUtils, XMLConf, FileUtil, Controls, ActnList, UDatabase, 9 UCoolTranslator, Forms; 9 10 10 11 type … … 17 18 AExit: TAction; 18 19 ActionList1: TActionList; 20 CoolTranslator1: TCoolTranslator; 19 21 ImageList1: TImageList; 20 22 XMLConfig1: TXMLConfig; … … 163 165 Preferences.RememberDatabase := XMLConfig1.GetValue('RememberDatabase', True); 164 166 Preferences.LastDatabaseName := XMLConfig1.GetValue('LastDatabaseName', ''); 167 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(XMLConfig1.GetValue('Language', '')); 165 168 end; 166 169 … … 177 180 XMLConfig1.SetValue('RememberDatabase', Preferences.RememberDatabase); 178 181 XMLConfig1.SetValue('LastDatabaseName', Preferences.LastDatabaseName); 182 XMLConfig1.SetValue('Language', CoolTranslator1.Language.Code); 179 183 end; 180 184
Note:
See TracChangeset
for help on using the changeset viewer.