Skip to content

Commit 004c8e0

Browse files
authored
Trim unnecessary trailing spaces from string resources in Strings.resx (#1972)
1 parent 20135fb commit 004c8e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Rules/Strings.resx

+5-5
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,13 @@
202202
<value>One Char</value>
203203
</data>
204204
<data name="UsePSCredentialTypeDescription" xml:space="preserve">
205-
<value>For PowerShell 4.0 and earlier, a parameter named Credential with type PSCredential must have a credential transformation attribute defined after the PSCredential type attribute. </value>
205+
<value>For PowerShell 4.0 and earlier, a parameter named Credential with type PSCredential must have a credential transformation attribute defined after the PSCredential type attribute.</value>
206206
</data>
207207
<data name="UsePSCredentialTypeError" xml:space="preserve">
208208
<value>The Credential parameter in '{0}' must be of type PSCredential. For PowerShell 4.0 and earlier, please define a credential transformation attribute, e.g. [System.Management.Automation.Credential()], after the PSCredential type attribute.</value>
209209
</data>
210210
<data name="UsePSCredentialTypeErrorSB" xml:space="preserve">
211-
<value>The Credential parameter found in the script block must be of type PSCredential. For PowerShell 4.0 and earlier please define a credential transformation attribute, e.g. [System.Management.Automation.Credential()], after the PSCredential type attribute. </value>
211+
<value>The Credential parameter found in the script block must be of type PSCredential. For PowerShell 4.0 and earlier please define a credential transformation attribute, e.g. [System.Management.Automation.Credential()], after the PSCredential type attribute.</value>
212212
</data>
213213
<data name="UsePSCredentialTypeCommonName" xml:space="preserve">
214214
<value>Use PSCredential type.</value>
@@ -535,7 +535,7 @@
535535
<value>PSDSC</value>
536536
</data>
537537
<data name="UseStandardDSCFunctionsInResourceCommonName" xml:space="preserve">
538-
<value>Use Standard Get/Set/Test TargetResource functions in DSC Resource </value>
538+
<value>Use Standard Get/Set/Test TargetResource functions in DSC Resource</value>
539539
</data>
540540
<data name="UseStandardDSCFunctionsInResourceDescription" xml:space="preserve">
541541
<value>DSC Resource must implement Get, Set and Test-TargetResource functions. DSC Class must implement Get, Set and Test functions.</value>
@@ -769,7 +769,7 @@
769769
<value>In a module manifest, AliasesToExport, CmdletsToExport, FunctionsToExport and VariablesToExport fields should not use wildcards or $null in their entries. During module auto-discovery, if any of these entries are missing or $null or wildcard, PowerShell does some potentially expensive work to analyze the rest of the module.</value>
770770
</data>
771771
<data name="UseToExportFieldsInManifestError" xml:space="preserve">
772-
<value>Do not use wildcard or $null in this field. Explicitly specify a list for {0}. </value>
772+
<value>Do not use wildcard or $null in this field. Explicitly specify a list for {0}.</value>
773773
</data>
774774
<data name="UseToExportFieldsInManifestName" xml:space="preserve">
775775
<value>UseToExportFieldsInManifest</value>
@@ -1129,7 +1129,7 @@
11291129
<value>Ensure all parameters are used within the same script, scriptblock, or function where they are declared.</value>
11301130
</data>
11311131
<data name="ReviewUnusedParameterError" xml:space="preserve">
1132-
<value>The parameter '{0}' has been declared but not used. </value>
1132+
<value>The parameter '{0}' has been declared but not used.</value>
11331133
</data>
11341134
<data name="ReviewUnusedParameterName" xml:space="preserve">
11351135
<value>ReviewUnusedParameter</value>

0 commit comments

Comments
 (0)