Skip to content

Commit 5ac6d38

Browse files
committed
Give ThunderCode inspections useful names
Since the AnnotateDeclataion UI shows a dropdown of all inspections for the argument of the Ignore and IgnoreModule annotations, having non-descriptive names looks really strange. We also cannot skip them because that means that they cannot be ignored this way.
1 parent dc7b052 commit 5ac6d38

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

Rubberduck.Resources/Inspections/InspectionNames.Designer.cs

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

Rubberduck.Resources/Inspections/InspectionNames.de.resx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,4 +426,19 @@
426426
<data name="SuperfluousAnnotationArgumentInspection" xml:space="preserve">
427427
<value>Überflüssige Annotationsargumente</value>
428428
</data>
429+
<data name="OnErrorGoToMinusOneInspection" xml:space="preserve">
430+
<value>OnErrorGoto -1</value>
431+
</data>
432+
<data name="KeywordsUsedAsMemberInspection" xml:space="preserve">
433+
<value>Schlüsselwort wird als Methoden- oder Variablenname verwendet</value>
434+
</data>
435+
<data name="LineContinuationBetweenKeywordsInspection" xml:space="preserve">
436+
<value>Zeilenfortsetzung zwischen Schüsselworten</value>
437+
</data>
438+
<data name="NegativeLineNumberInspection" xml:space="preserve">
439+
<value>Negative Zeilennummer</value>
440+
</data>
441+
<data name="NonBreakingSpaceIdentifierInspection" xml:space="preserve">
442+
<value>Name, der ein geschütztes Leerzeichen enthält</value>
443+
</data>
429444
</root>

Rubberduck.Resources/Inspections/InspectionNames.resx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -361,23 +361,23 @@
361361
<value>Missing module annotation</value>
362362
</data>
363363
<data name="KeywordsUsedAsMemberInspection" xml:space="preserve">
364-
<value>ThunderCode 1</value>
365-
<comment>meta easter egg; do not translate</comment>
364+
<value>Keyword used as member name</value>
365+
366366
</data>
367367
<data name="LineContinuationBetweenKeywordsInspection" xml:space="preserve">
368-
<value>ThunderCode 10</value>
369-
<comment>meta easter egg; do not translate</comment>
368+
<value>Line continuation between keywords</value>
369+
370370
</data>
371371
<data name="NonBreakingSpaceIdentifierInspection" xml:space="preserve">
372-
<value>ThunderCode 11</value>
373-
<comment>meta easter egg; do not translate</comment>
372+
<value>Identifier containing a non-breaking space</value>
373+
374374
</data>
375375
<data name="NegativeLineNumberInspection" xml:space="preserve">
376-
<value>ThunderCode 100</value>
377-
<comment>meta easter egg; do not translate</comment>
376+
<value>Negative line number</value>
377+
378378
</data>
379379
<data name="OnErrorGoToMinusOneInspection" xml:space="preserve">
380-
<value>ThunderCode 101</value>
380+
<value>OnErrorGoto -1</value>
381381
<comment>meta easter egg; do not translate</comment>
382382
</data>
383383
<data name="ObsoleteWhileWendStatementInspection" xml:space="preserve">

0 commit comments

Comments
 (0)