Skip to content

Commit ade5bf5

Browse files
author
Kapil Borle
committed
Localize error messages in UseConsistentIndentation rule
1 parent afc3e34 commit ade5bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rules/UseConsistentIndentation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private void AddViolation(
128128
extent.StartScriptPosition.Line));
129129
diagnosticRecords.Add(
130130
new DiagnosticRecord(
131-
"not correct indenation", // TODO replace with localized string
131+
String.Format(CultureInfo.CurrentCulture, Strings.UseConsistentIndentationError),
132132
violationExtent,
133133
GetName(),
134134
GetDiagnosticSeverity(),

0 commit comments

Comments
 (0)