Skip to content

Commit 08e2ce5

Browse files
authored
Merge pull request #2418 from retailcoder/next
fixed "Variable not used" wording
2 parents 83245a7 + 66fa003 commit 08e2ce5

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

RetailCoder.VBE/Inspections/InspectionsUI.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.

RetailCoder.VBE/Inspections/InspectionsUI.de.resx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -59,7 +59,7 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6363
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6464
<xsd:element name="root" msdata:IsDataSet="true">
6565
<xsd:complexType>
@@ -333,7 +333,7 @@ Falls der Parameter 'null' sein kann, bitte dieses Auftreten ignorieren. 'null'
333333
<value>Variable wurde deklariert aber nie genutzt.</value>
334334
</data>
335335
<data name="VariableNotUsedInspectionMeta" xml:space="preserve">
336-
<value>Eine Variable wurde deklariert und hat eine Wert-/Referenzzuweisung erhalten, allerdings wird diese Variable nicht weitergenutzt.</value>
336+
<value>Eine Variable wurde deklariert, allerdings wird diese Variable nicht weitergenutzt.</value>
337337
</data>
338338
<data name="VariableNotUsedInspectionName" xml:space="preserve">
339339
<value>Die Variable wird nicht referenziert.</value>
@@ -564,31 +564,31 @@ Falls der Parameter 'null' sein kann, bitte dieses Auftreten ignorieren. 'null'
564564
<data name="MalformedAnnotationInspectionMeta" xml:space="preserve">
565565
<value>Eine Annotation in einem Kommentar konnte nicht gelesen werden.</value>
566566
</data>
567-
<data name="IntroduceLocalVariableQuickFix">
567+
<data name="IntroduceLocalVariableQuickFix" xml:space="preserve">
568568
<value>Introduce local variable</value>
569569
</data>
570-
<data name="UndeclaredVariableInspectionMeta">
570+
<data name="UndeclaredVariableInspectionMeta" xml:space="preserve">
571571
<value>Code that uses undeclared variables does not compile when Option Explicit is specified. Undeclared variables are always Variant, a data type that incurs unnecessary overhead and storage.</value>
572572
</data>
573-
<data name="WriteOnlyPropertyQuickFix">
573+
<data name="WriteOnlyPropertyQuickFix" xml:space="preserve">
574574
<value>Add property get</value>
575575
</data>
576-
<data name="ModuleScopeDimKeywordInspectionMeta">
576+
<data name="ModuleScopeDimKeywordInspectionMeta" xml:space="preserve">
577577
<value>The 'Public' keyword can only be used at module level; its counterpart 'Private' can also only be used at module level. 'Dim' however, can be used to declare both procedure and module scope variables. For consistency, it would be preferable to reserve 'Dim' for locals, and thus to use 'Private' instead of 'Dim' at module level.</value>
578578
</data>
579-
<data name="ChangeDimToPrivateQuickFix">
579+
<data name="ChangeDimToPrivateQuickFix" xml:space="preserve">
580580
<value>Replace 'Dim' with 'Private'</value>
581581
</data>
582-
<data name="UndeclaredVariableInspectionName">
582+
<data name="UndeclaredVariableInspectionName" xml:space="preserve">
583583
<value>Undeclared variable</value>
584584
</data>
585-
<data name="ModuleScopeDimKeywordInspectionName">
585+
<data name="ModuleScopeDimKeywordInspectionName" xml:space="preserve">
586586
<value>Use of 'Dim' keyword at module level</value>
587587
</data>
588-
<data name="UndeclaredVariableInspectionResultFormat">
588+
<data name="UndeclaredVariableInspectionResultFormat" xml:space="preserve">
589589
<value>Local variable '{0}' is not declared</value>
590590
</data>
591-
<data name="ModuleScopeDimKeywordInspectionResultFormat">
591+
<data name="ModuleScopeDimKeywordInspectionResultFormat" xml:space="preserve">
592592
<value>Module-level variable '{0}' is declared with the 'Dim' keyword.</value>
593593
</data>
594-
</root>
594+
</root>

RetailCoder.VBE/Inspections/InspectionsUI.fr.resx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -59,7 +59,7 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6363
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6464
<xsd:element name="root" msdata:IsDataSet="true">
6565
<xsd:complexType>
@@ -329,7 +329,7 @@
329329
<value>Une variable est déclarée, mais pas assignée</value>
330330
</data>
331331
<data name="VariableNotUsedInspectionMeta" xml:space="preserve">
332-
<value>Une variable est déclarée, une valeur ou référence y est assignée, mais rien n'y réfère.</value>
332+
<value>Une variable est déclarée, mais rien n'y réfère.</value>
333333
</data>
334334
<data name="VariableNotUsedInspectionName" xml:space="preserve">
335335
<value>La variable n'est pas utilisée</value>
@@ -580,16 +580,16 @@ Si le paramètre peut être nul, ignorer ce résultat; passer une valeur nulle
580580
<value>La variable locale '{0}' n'est pas déclarée</value>
581581
<comment>{0} variable name</comment>
582582
</data>
583-
<data name="WriteOnlyPropertyQuickFix">
583+
<data name="WriteOnlyPropertyQuickFix" xml:space="preserve">
584584
<value>Ajouter un accesseur 'Property Get'</value>
585585
</data>
586-
<data name="MalformedAnnotationInspectionName">
586+
<data name="MalformedAnnotationInspectionName" xml:space="preserve">
587587
<value>Annotation incorrecte</value>
588588
</data>
589-
<data name="MalformedAnnotationInspectionResultFormat">
589+
<data name="MalformedAnnotationInspectionResultFormat" xml:space="preserve">
590590
<value>Annotation '{0}' incorrecte.</value>
591591
</data>
592-
<data name="MalformedAnnotationInspectionMeta">
592+
<data name="MalformedAnnotationInspectionMeta" xml:space="preserve">
593593
<value>Un commentaire contient une annotation spécifiée incorrectement.</value>
594594
</data>
595-
</root>
595+
</root>

RetailCoder.VBE/Inspections/InspectionsUI.resx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -59,7 +59,7 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
62+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6363
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6464
<xsd:element name="root" msdata:IsDataSet="true">
6565
<xsd:complexType>
@@ -333,7 +333,7 @@ If the parameter can be null, ignore this inspection result; passing a null valu
333333
<value>Variable is declared but never assigned</value>
334334
</data>
335335
<data name="VariableNotUsedInspectionMeta" xml:space="preserve">
336-
<value>A variable is declared and assigned a value/reference, but it's never referred to.</value>
336+
<value>A variable is declared, but never referred to.</value>
337337
</data>
338338
<data name="VariableNotUsedInspectionName" xml:space="preserve">
339339
<value>Variable is not referred to</value>
@@ -593,4 +593,4 @@ If the parameter can be null, ignore this inspection result; passing a null valu
593593
<data name="IntroduceLocalVariableQuickFix" xml:space="preserve">
594594
<value>Introduce local variable</value>
595595
</data>
596-
</root>
596+
</root>

0 commit comments

Comments
 (0)