Changeset 553 for Common


Ignore:
Timestamp:
Dec 21, 2021, 5:43:40 PM (3 years ago)
Author:
chronos
Message:
  • Modified: CoolTranslator occurences replaced by Translator in Common package.
Location:
Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Common/UAboutDialog.pas

    r548 r553  
    1616  private
    1717    FApplicationInfo: TApplicationInfo;
    18     FCoolTranslator: TTranslator;
     18    FTranslator: TTranslator;
    1919    FThemeManager: TThemeManager;
    2020  public
     
    2222    procedure Show;
    2323  published
    24     property CoolTranslator: TTranslator read FCoolTranslator write FCoolTranslator;
     24    property Translator: TTranslator read FTranslator write FTranslator;
    2525    property ThemeManager: TThemeManager read FThemeManager write FThemeManager;
    2626    property ApplicationInfo: TApplicationInfo read FApplicationInfo write
  • Common/UFormAbout.pas

    r545 r553  
    5050  if Assigned(AboutDialog) then
    5151  with TAboutDialog(AboutDialog) do begin
    52     if Assigned(CoolTranslator) then
    53       CoolTranslator.TranslateComponentRecursive(Self);
     52    if Assigned(Translator) then
     53      Translator.TranslateComponentRecursive(Self);
    5454    if Assigned(ThemeManager) then
    5555      ThemeManager.UseTheme(Self);
Note: See TracChangeset for help on using the changeset viewer.