diff --git a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/RefactoringRules/DOC900CodeFixProvider.cs b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/RefactoringRules/DOC900CodeFixProvider.cs
index bd01221..96ef1e7 100644
--- a/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/RefactoringRules/DOC900CodeFixProvider.cs
+++ b/DocumentationAnalyzers/DocumentationAnalyzers.CodeFixes/RefactoringRules/DOC900CodeFixProvider.cs
@@ -60,10 +60,9 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
continue;
}
- string description = "Render documentation as Markdown";
context.RegisterCodeFix(
CodeAction.Create(
- description,
+ RefactoringResources.DOC900CodeFix,
cancellationToken => CreateChangedDocumentAsync(context, documentationCommentTriviaSyntax, cancellationToken),
nameof(DOC900CodeFixProvider)),
diagnostic);
diff --git a/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.Designer.cs b/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.Designer.cs
index 072d5e7..d3364c5 100644
--- a/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.Designer.cs
+++ b/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.Designer.cs
@@ -61,6 +61,15 @@ internal RefactoringResources() {
}
}
+ ///
+ /// Looks up a localized string similar to Render documentation as Markdown.
+ ///
+ internal static string DOC900CodeFix {
+ get {
+ return ResourceManager.GetString("DOC900CodeFix", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Render documentation as Markdown (Refactoring).
///
diff --git a/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.resx b/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.resx
index 7ddbb7b..a20468b 100644
--- a/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.resx
+++ b/DocumentationAnalyzers/DocumentationAnalyzers/RefactoringRules/RefactoringResources.resx
@@ -117,6 +117,9 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Render documentation as Markdown
+
Render documentation as Markdown (Refactoring)