Skip to content

Commit 02bc804

Browse files
committed
Add resource strings
Alerted to their omission because unit tests flagged them as missing.
1 parent 46bd633 commit 02bc804

File tree

6 files changed

+37
-1
lines changed

6 files changed

+37
-1
lines changed

Rubberduck.Resources/Inspections/InspectionInfo.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Resources/Inspections/InspectionInfo.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,4 +433,7 @@ If the parameter can be null, ignore this inspection result; passing a null valu
433433
<data name="SuspiciousLetAssignmentInspection" xml:space="preserve">
434434
<value>Whenever both sides of an assignment without Set are objects, there is an assignment from the default member of the RHS to the one on the LHS. Although this might be intentional, in many situations it will just mask an erroneously forgotten Set.</value>
435435
</data>
436+
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
437+
<value>If the type clause for a Const isn't included it is implicitly typed. Include an explicit ' As &lt;Type&gt;' replacing '&lt;Type&gt;' with the correct data type to explicitly type your const value.</value>
438+
</data>
436439
</root>

Rubberduck.Resources/Inspections/InspectionNames.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Resources/Inspections/InspectionNames.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,4 +437,7 @@
437437
<data name="SuspiciousLetAssignmentInspection" xml:space="preserve">
438438
<value>Suspicious Let assignment</value>
439439
</data>
440+
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
441+
<value>Implicitly typed Const</value>
442+
</data>
440443
</root>

Rubberduck.Resources/Inspections/InspectionResults.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Resources/Inspections/InspectionResults.resx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,4 +498,7 @@ In memoriam, 1972-2018</value>
498498
<value>There is an assignment from the default member of the result of expression '{1}' to that of the expression '{0}'.</value>
499499
<comment>{0} lhsExpression; {1} rhsExpression</comment>
500500
</data>
501-
</root>
501+
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
502+
<value>Constant '{0}' is implicitly typed.</value>
503+
</data>
504+
</root>

0 commit comments

Comments
 (0)