Skip to content

Commit 681fc3d

Browse files
committed
Alignment of punctuation at end of inspection resources
Also includes some German translations.
1 parent 66043bd commit 681fc3d

File tree

9 files changed

+110
-99
lines changed

9 files changed

+110
-99
lines changed

Rubberduck.Resources/Inspections/InspectionInfo.Designer.cs

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

Rubberduck.Resources/Inspections/InspectionInfo.de.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,4 +436,7 @@ Falls der Parameter 'null' sein kann, bitte dieses Auftreten ignorieren. 'null'
436436
<data name="FunctionReturnValueDiscardedInspection" xml:space="preserve">
437437
<value>Der Rückgabewert einer Funktion wird verworfen, d.h. die Funktion wird wie eine Prozedur verwendet. Dies ist entweder ein Versäumnis oder die Funktion wird wegen ihrer Nebenwirkungen verwendet, deren Existenz in der Regel selber problematisch wäre.</value>
438438
</data>
439+
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
440+
<value>Wird keine Typdeklaration verwendet wird der Datentyp einer Konstante implizit bestimmt. Erwägen Sie eine explizite 'As &lt;Datentyp&gt;'-Deklaration zu verwenden um die Lesbarkeit zu verbessern, wobei '&lt;Datentyp&gt;' der erwünschte Datentyp der Konstante ist.</value>
441+
</data>
439442
</root>

Rubberduck.Resources/Inspections/InspectionInfo.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ If the parameter can be null, ignore this inspection result; passing a null valu
329329
<value>An annotation is specified multiple times, but is intended to be specified only once.</value>
330330
</data>
331331
<data name="ModuleWithoutFolderInspection" xml:space="preserve">
332-
<value>Modules without the '@Folder' annotation cannot receive custom groupings in the Code Explorer. </value>
332+
<value>Modules without the '@Folder' annotation cannot receive custom groupings in the Code Explorer.</value>
333333
</data>
334334
<data name="OnLocalErrorInspection" xml:space="preserve">
335335
<value>On Local Error exists only for compatibility with previous versions of Visual Basic, and all Errors are treated as Local regardless of the On Local Error statement. Use of this keyword inaccurately gives the impression that there is a distinction between types of error handling when there is not.</value>
@@ -437,6 +437,6 @@ If the parameter can be null, ignore this inspection result; passing a null valu
437437
<value>The return value of a function gets discarded, i.e. the function is used like a procedure. This is either an oversight or the function is used for its side-effects, whose existence would also be a code smell.</value>
438438
</data>
439439
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
440-
<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>
440+
<value>If the as 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>
441441
</data>
442442
</root>

Rubberduck.Resources/Inspections/InspectionNames.Designer.cs

Lines changed: 17 additions & 17 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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@
229229
<value>Verwendung von 'Dim' auf Modulebene</value>
230230
</data>
231231
<data name="ApplicationWorksheetFunctionInspection" xml:space="preserve">
232-
<value>Laufzeitgebundener Aufruf an WorksheetFunction</value>
232+
<value>Laufzeitgebundener Aufruf an WorksheetFunction.</value>
233233
</data>
234234
<data name="HostSpecificExpressionInspection" xml:space="preserve">
235235
<value>Hostspezifischer geklammerter Ausdruck wird nur zur Laufzeit ausgewertet</value>
236236
</data>
237237
<data name="HungarianNotationInspection" xml:space="preserve">
238-
<value>Variable verwendet 'Ungarische Notation'</value>
238+
<value>Variable verwendet 'Ungarische Notation'.</value>
239239
</data>
240240
<data name="MemberNotOnInterfaceInspection" xml:space="preserve">
241241
<value>Member existiert auf dem Interface nicht</value>
@@ -322,7 +322,7 @@
322322
<value>Verwendung eines als '@Obsolete' markierten Members</value>
323323
</data>
324324
<data name="ObsoleteCallingConventionInspection" xml:space="preserve">
325-
<value>Verwendung der 'CDecl' Aufrufkonvention unter Windows </value>
325+
<value>Verwendung der 'CDecl' Aufrufkonvention unter Windows</value>
326326
</data>
327327
<data name="DuplicatedAnnotationInspection" xml:space="preserve">
328328
<value>Annotation ist dupliziert</value>
@@ -420,4 +420,7 @@
420420
<data name="FunctionReturnValueDiscardedInspection" xml:space="preserve">
421421
<value>Der Rückgabewert einer Funktion wird verworfen.</value>
422422
</data>
423+
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
424+
<value>Konstante mit implizit bestimmtem Datentyp</value>
425+
</data>
423426
</root>

Rubberduck.Resources/Inspections/InspectionNames.resx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<value>Constant is not used</value>
125125
</data>
126126
<data name="DefaultProjectNameInspection" xml:space="preserve">
127-
<value>Project name is not specified</value>
127+
<value>Project name is not specified.</value>
128128
</data>
129129
<data name="EmptyStringLiteralInspection" xml:space="preserve">
130130
<value>Empty string literal</value>
@@ -148,10 +148,10 @@
148148
<value>Member return type is implicitly 'Variant'</value>
149149
</data>
150150
<data name="MoveFieldCloserToUsageInspection" xml:space="preserve">
151-
<value>Scope of variable is broader than it needs to be</value>
151+
<value>Scope of variable is broader than it needs to be.</value>
152152
</data>
153153
<data name="MultilineParameterInspection" xml:space="preserve">
154-
<value>Parameter declaration is split on multiple lines</value>
154+
<value>Parameter declaration is split on multiple lines.</value>
155155
</data>
156156
<data name="MultipleDeclarationsInspection" xml:space="preserve">
157157
<value>Multiple declarations in single instruction</value>
@@ -175,22 +175,22 @@
175175
<value>Obsolete Type hint usage</value>
176176
</data>
177177
<data name="OptionBaseInspection" xml:space="preserve">
178-
<value>'Option Base 1' is specified</value>
178+
<value>'Option Base 1' is specified.</value>
179179
</data>
180180
<data name="OptionExplicitInspection" xml:space="preserve">
181-
<value>'Option Explicit' is not specified</value>
181+
<value>'Option Explicit' is not specified.</value>
182182
</data>
183183
<data name="ParameterCanBeByValInspection" xml:space="preserve">
184-
<value>Parameter can be passed by value</value>
184+
<value>Parameter can be passed by value.</value>
185185
</data>
186186
<data name="ParameterNotUsedInspection" xml:space="preserve">
187-
<value>Parameter is not referred to</value>
187+
<value>Parameter is not referred to.</value>
188188
</data>
189189
<data name="ProcedureNotUsedInspection" xml:space="preserve">
190-
<value>Procedure is not referred to</value>
190+
<value>Procedure is not referred to.</value>
191191
</data>
192192
<data name="UnassignedVariableUsageInspection" xml:space="preserve">
193-
<value>Variable is used but not assigned</value>
193+
<value>Variable is used but not assigned.</value>
194194
</data>
195195
<data name="UntypedFunctionUsageInspection" xml:space="preserve">
196196
<value>Use of variant-returning string function</value>
@@ -199,10 +199,10 @@
199199
<value>Use meaningful names</value>
200200
</data>
201201
<data name="VariableNotAssignedInspection" xml:space="preserve">
202-
<value>Variable is not assigned</value>
202+
<value>Variable is not assigned.</value>
203203
</data>
204204
<data name="VariableNotUsedInspection" xml:space="preserve">
205-
<value>Variable is not referred to</value>
205+
<value>Variable is not referred to.</value>
206206
</data>
207207
<data name="VariableTypeNotDeclaredInspection" xml:space="preserve">
208208
<value>Implicitly 'Variant' variable</value>
@@ -211,16 +211,16 @@
211211
<value>Write-only property</value>
212212
</data>
213213
<data name="ProcedureCanBeWrittenAsFunctionInspection" xml:space="preserve">
214-
<value>Procedure can be written as a function</value>
214+
<value>Procedure can be written as a function.</value>
215215
</data>
216216
<data name="SelfAssignedDeclarationInspection" xml:space="preserve">
217-
<value>Object variable reference is auto-instantiated</value>
217+
<value>Object variable reference is auto-instantiated.</value>
218218
</data>
219219
<data name="FunctionReturnValueAlwaysDiscardedInspection" xml:space="preserve">
220-
<value>Function return value is always discarded</value>
220+
<value>Function return value is always discarded.</value>
221221
</data>
222222
<data name="ObjectVariableNotSetInspection" xml:space="preserve">
223-
<value>Object variable assignment requires 'Set' keyword</value>
223+
<value>Object variable assignment requires 'Set' keyword.</value>
224224
</data>
225225
<data name="MissingAnnotationArgumentInspection" xml:space="preserve">
226226
<value>Missing annotation parameter</value>
@@ -301,7 +301,7 @@
301301
<value>Use of obsolete 'Error' statement</value>
302302
</data>
303303
<data name="UnreachableCaseInspection" xml:space="preserve">
304-
<value>Case Clause(s) cannot be reached</value>
304+
<value>Case Clause(s) cannot be reached.</value>
305305
</data>
306306
<data name="UnhandledOnErrorResumeNextInspection" xml:space="preserve">
307307
<value>Unhandled 'On Error Resume Next'</value>
@@ -438,7 +438,7 @@
438438
<value>Suspicious Let assignment</value>
439439
</data>
440440
<data name="FunctionReturnValueDiscardedInspection" xml:space="preserve">
441-
<value>Function return value gets discarded</value>
441+
<value>Function return value gets discarded.</value>
442442
</data>
443443
<data name="ImplicitlyTypedConstInspection" xml:space="preserve">
444444
<value>Implicitly typed Const</value>

0 commit comments

Comments
 (0)