@@ -164,7 +164,7 @@ void FormatElement::GeneralIndentDiagnosis(DiagnosisContext& ctx, ChildIterator
164164 if (ctx.GetOptions ().indent_style != indentState.Style )
165165 {
166166 ctx.PushDiagnosis (
167- Util::format (LText (" incorrect indentation style, expect {}, but here is {}" ),
167+ Util::format (LText (" incorrect indentation style expected {} but found {}" ),
168168 GetIndentStyleName (state.Style ),
169169 GetIndentStyleName (indentState.Style )
170170 ),
@@ -180,7 +180,7 @@ void FormatElement::GeneralIndentDiagnosis(DiagnosisContext& ctx, ChildIterator
180180 if (state.SpaceIndent != indentState.SpaceIndent )
181181 {
182182 ctx.PushDiagnosis (
183- Util::format (LText (" incorrect indentation {}, here need {} space indentation" ),
183+ Util::format (LText (" incorrect indentation {} expected {} space indentation" ),
184184 indentState.SpaceIndent , state.SpaceIndent ),
185185 LuaDiagnosisPosition (line, 0 ),
186186 LuaDiagnosisPosition (line, character),
@@ -194,7 +194,7 @@ void FormatElement::GeneralIndentDiagnosis(DiagnosisContext& ctx, ChildIterator
194194 if (state.SpaceIndent != indentState.SpaceIndent || state.TabIndent != indentState.TabIndent )
195195 {
196196 ctx.PushDiagnosis (
197- Util::format (LText (" incorrect indentation, here need {} tab and {} space indentation" ),
197+ Util::format (LText (" incorrect indentation expected {} tab and {} space indentation" ),
198198 state.TabIndent , state.SpaceIndent ),
199199 LuaDiagnosisPosition (line, 0 ),
200200 LuaDiagnosisPosition (line, character),
0 commit comments