Skip to content

Commit e300f48

Browse files
committed
Update resource file
1 parent a063a07 commit e300f48

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

Rubberduck.Parsing/Inspections/Resources/InspectionsUI.resx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ If the parameter can be null, ignore this inspection result; passing a null valu
888888
<value>Module/class {0} is empty.</value>
889889
</data>
890890
<data name="ObsoleteErrorSyntaxInspectionName" xml:space="preserve">
891-
<value>Use of 'Error' statement</value>
891+
<value>Use of obsolete 'Error' statement</value>
892892
</data>
893893
<data name="UnhandledOnErrorResumeNextInspectionMeta" xml:space="preserve">
894894
<value>Error handling should be restored after using 'On Error Resume Next'.</value>
@@ -902,4 +902,13 @@ If the parameter can be null, ignore this inspection result; passing a null valu
902902
<data name="UnhandledOnErrorResumeNextInspectionResultFormat" xml:space="preserve">
903903
<value>Errors are ignored but never handled again</value>
904904
</data>
905+
<data name="DefTypeStatementInspectionMeta" xml:space="preserve">
906+
<value>The 'Def[Type]' statement is implicitly typing variables and members based on a naming/prefix convention. This stye of typing is heavily discouraged and should be avoided.</value>
907+
</data>
908+
<data name="DefTypeStatementInspectionName" xml:space="preserve">
909+
<value>Usage of 'Def[Type]' statement</value>
910+
</data>
911+
<data name="DefTypeStatementInspectionResultFormat" xml:space="preserve">
912+
<value>Consider the explicit use of 'as {0}' instead of '{1}'</value>
913+
</data>
905914
</root>

Rubberduck.Parsing/Inspections/Resources/InspectionsUI1.Designer.cs

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)