Ignore:
Timestamp:
Sep 10, 2022, 6:54:43 PM (2 years ago)
Author:
chronos
Message:
  • Modified: CoolTranslator replaced by Common package.
  • Modified: Update common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormPreferences.pas

    r19 r25  
    5353begin
    5454  CheckBoxRememberDatabase.Checked := Preferences.RememberDatabase;
    55   Core.CoolTranslator1.LanguageListToStrings(ComboBoxLanguage.Items);
    56   ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.CoolTranslator1.Language);
     55  Core.Translator1.LanguageListToStrings(ComboBoxLanguage.Items);
     56  ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.Translator1.Language);
    5757  if ComboBoxLanguage.ItemIndex = -1 then ComboBoxLanguage.ItemIndex := 0;
    5858end;
     
    6262  Preferences.RememberDatabase := CheckBoxRememberDatabase.Checked;
    6363  if ComboBoxLanguage.ItemIndex <> -1 then
    64     Core.CoolTranslator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]);
     64    Core.Translator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]);
    6565end;
    6666
Note: See TracChangeset for help on using the changeset viewer.