From 1a131ef104c45b2a7a4245ad18ac9587057020c8 Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Mon, 17 Feb 2025 18:33:39 +0300 Subject: [PATCH] IDE: fixed word wrap options page i18n by correcting some typos --- ide/editoroptions.pp | 2 +- ide/frames/editor_wordwrap_options.pas | 2 +- ide/lazarusidestrconsts.pas | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ide/editoroptions.pp b/ide/editoroptions.pp index 41532041ea..8a81155695 100644 --- a/ide/editoroptions.pp +++ b/ide/editoroptions.pp @@ -3095,7 +3095,7 @@ begin AdditionalHighlightAttributes[ahaWrapIndend] := dlgAddHiAttrWrapIndent; AdditionalHighlightAttributes[ahaWrapEol] := dlgAddHiAttrWrapEol; - AdditionalHighlightAttributes[ahaWrapSubLine] := dlgAddHiAttrWrapSupLine; + AdditionalHighlightAttributes[ahaWrapSubLine] := dlgAddHiAttrWrapSubLine; AdditionalHighlightGroupNames[agnDefault] := dlgAddHiAttrGroupDefault; AdditionalHighlightGroupNames[agnText] := dlgAddHiAttrGroupText; diff --git a/ide/frames/editor_wordwrap_options.pas b/ide/frames/editor_wordwrap_options.pas index ab9fab6f1f..f29b9ea2b9 100644 --- a/ide/frames/editor_wordwrap_options.pas +++ b/ide/frames/editor_wordwrap_options.pas @@ -79,7 +79,7 @@ begin lbMinWordWrapWidth.Caption := dlgOptWordWrapMinimumLineLength; lbWordWrapIndent.Caption := dlgOptWordWrapIndent; - cbEnableWordWrap.Caption := dlgOptWordWrapIndentIsOffest; + cbIndentIsOffset.Caption := dlgOptWordWrapIndentIsOffest; lbWordWrapIndentMin.Caption := dlgOptWordWrapIndentMin; lbWordWrapIndentMax.Caption := dlgOptWordWrapIndentMax; lbWordWrapIndentMaxRel.Caption := dlgOptWordWrapIndentMaxRel; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 060afc6e4b..8cf7f1d05d 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -2152,7 +2152,7 @@ resourcestring dlgAddHiAttrOutlineLevel10Color = 'Level 10'; dlgAddHiAttrWrapIndent = 'Indent'; dlgAddHiAttrWrapEol = 'EOL'; - dlgAddHiAttrWrapSupLine = 'Sub-line'; + dlgAddHiAttrWrapSubLine = 'Sub-line'; dlgAddHiSpecialVisibleChars = 'Visualized Special Chars'; dlgTopInfoHint = 'Current Class/Proc Hint'; dlgCaretColor = 'Caret (Text-Cursor)';