Skip to content

Commit ad5b8d8

Browse files
committed
Swaps projectid with projectname, adds project.displayname to inspection results string
fixes #1761, fixes french syntax
1 parent 0f54623 commit ad5b8d8

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

RetailCoder.VBE/Inspections/InspectionResultBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public override string ToString()
102102
InspectionsUI.QualifiedSelectionInspection,
103103
Inspection.Severity,
104104
Description,
105-
module.ProjectId,
105+
"(" + module.ProjectDisplayName + ")",
106+
module.ProjectName,
106107
module.ComponentName,
107108
QualifiedSelection.Selection.StartLine);
108109
}

RetailCoder.VBE/Inspections/InspectionsUI.Designer.cs

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

RetailCoder.VBE/Inspections/InspectionsUI.de.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
<value>Kontexttyp '{0}' ist nicht gültig für {1}.</value>
502502
</data>
503503
<data name="QualifiedSelectionInspection" xml:space="preserve">
504-
<value>{0}: {1} - {2}.{3}, Zeile {4}</value>
504+
<value>{0}: {1} - {2} {3}.{4}, Zeile {5}</value>
505505
</data>
506506
<data name="SetObjectVariableQuickFix" xml:space="preserve">
507507
<value>Benutze das Schlüsselwort 'Set'</value>

RetailCoder.VBE/Inspections/InspectionsUI.fr.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
<value>Utiliser le mot-clé 'Set'</value>
502502
</data>
503503
<data name="QualifiedSelectionInspection">
504-
<value>{0}: {1} - {2},{3}, ligne {4}</value>
504+
<value>{0}: {1} - {2} {3}.{4}, ligne {5}</value>
505505
</data>
506506
<data name="ObjectVariableNotSetInspectionName">
507507
<value>L'assignation d'une référence d'objet requiert le mot-clé 'Set'</value>

RetailCoder.VBE/Inspections/InspectionsUI.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
<value>Context type '{0}' is not valid for {1}.</value>
508508
</data>
509509
<data name="QualifiedSelectionInspection" xml:space="preserve">
510-
<value>{0}: {1} - {2}.{3}, line {4}</value>
510+
<value>{0}: {1} - {2} {3}.{4}, line {5}</value>
511511
</data>
512512
<data name="ObjectVariableNotSetInspectionMeta" xml:space="preserve">
513513
<value>As far as Rubberduck can tell, this variable is an object variable, assigned without the 'Set' keyword. This causes run-time error 91 'Object or With block variable not set'.</value>

0 commit comments

Comments
 (0)