IDE/Options: Make the restart hint when changing the language more noticeable

This commit is contained in:
n7800 2024-09-18 23:31:55 +05:00 committed by Martin
parent 62e3936fab
commit 35f64bfd57
3 changed files with 18 additions and 3 deletions

View File

@ -418,7 +418,7 @@ object DesktopOptionsFrame: TDesktopOptionsFrame
ParentFont = False
end
object lblMouseAction: TDividerBevel
AnchorSideTop.Control = LanguageComboBox
AnchorSideTop.Control = lblLangChangeHint
AnchorSideTop.Side = asrBottom
Left = 0
Height = 15
@ -475,4 +475,18 @@ object DesktopOptionsFrame: TDesktopOptionsFrame
TabOrder = 13
Value = 8
end
object lblLangChangeHint: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = LanguageComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 15
Top = 44
Width = 103
BorderSpacing.Left = 6
BorderSpacing.Top = 3
Caption = 'lblLangChangeHint'
Font.Style = [fsItalic]
ParentFont = False
end
end

View File

@ -50,6 +50,7 @@ type
AutoSaveIntervalInSecsComboBox: TComboBox;
AutoSaveIntervalInSecsLabel: TLabel;
AutoSaveProjectCheckBox: TCheckBox;
lblLangChangeHint: TLabel;
lblDropDownCount: TLabel;
lblComboBoxes: TDividerBevel;
lblCheckAndAutoSave: TDividerBevel;
@ -111,7 +112,7 @@ var
begin
// language
lblLanguage.Caption := dlgEnvLanguage;
LanguageComboBox.Hint := dlgEnvLanguageHint;
lblLangChangeHint.Caption := dlgEnvLanguageHint;
// languages: first the automatic, then sorted the rest
sl:=TStringListUTF8Fast.Create;

View File

@ -1242,7 +1242,7 @@ resourcestring
// IDE General options
dlgEnvLanguage = 'Language';
dlgEnvLanguageHint = 'Language of all IDE strings. Restart IDE after changing it for best result.';
dlgEnvLanguageHint = 'Restart the IDE to complete the language change';
dlgCheckAndAutoSaveFiles = 'Check and Auto Save Files';
lisAskBeforeSavingProjectSSession = 'Ask before saving project''s session';
lisIfOnlySessionInfoChangedThenAsk = 'If only the session info changed, ask about saving it.';