File tree Expand file tree Collapse file tree 4 files changed +47
-11
lines changed Expand file tree Collapse file tree 4 files changed +47
-11
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ public static CommandCompatibilityDiagnostic Create(
231
231
{
232
232
string message = string . Format (
233
233
CultureInfo . CurrentCulture ,
234
- Strings . UseCompatibleCommandsError ,
234
+ Strings . UseCompatibleCommandsCommandError ,
235
235
commandName ,
236
236
platform . PowerShell . Version ,
237
237
platform . OperatingSystem . FriendlyName ) ;
@@ -269,7 +269,7 @@ public static CommandCompatibilityDiagnostic CreateForParameter(
269
269
{
270
270
string message = string . Format (
271
271
CultureInfo . CurrentCulture ,
272
- "The parameter '{0}' is not available for command '{1}' in PowerShell '{2}' on '{3}'" ,
272
+ Strings . UseCompatibleCommandsParameterError ,
273
273
parameterName ,
274
274
commandName ,
275
275
platform . PowerShell . Version ,
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ public static TypeCompatibilityDiagnostic CreateForStaticMethod(
603
603
{
604
604
string message = String . Format (
605
605
CultureInfo . CurrentCulture ,
606
- "The method '{0}' on type '{1}' is not available in PowerShell {2} on platform '{3}'" ,
606
+ Strings . UseCompatibleTypesMethodError ,
607
607
methodName ,
608
608
typeName ,
609
609
platform . PowerShell . Version ,
@@ -645,7 +645,7 @@ public static TypeCompatibilityDiagnostic CreateForStaticProperty(
645
645
{
646
646
string message = String . Format (
647
647
CultureInfo . CurrentCulture ,
648
- "The member '{0}' on type '{1}' is not available in PowerShell {2} on platform '{3}'" ,
648
+ Strings . UseCompatibleTypesMemberError ,
649
649
propertyName ,
650
650
typeName ,
651
651
platform . PowerShell . Version ,
Original file line number Diff line number Diff line change 819
819
<data name =" UseCompatibleCommandsDescription" xml : space =" preserve" >
820
820
<value >Use commands compatible with the given PowerShell version and operating system</value >
821
821
</data >
822
- <data name =" UseCompatibleCommandsError " xml : space =" preserve" >
822
+ <data name =" UseCompatibleCommandsCommandError " xml : space =" preserve" >
823
823
<value >The command '{0}' is not available by default in PowerShell version '{1}' on platform '{2}'</value >
824
824
</data >
825
+ <data name =" UseCompatibleCommandsParameterError" xml : space =" preserve" >
826
+ <value >The parameter '{0}' is not available for command '{1}' by default in PowerShell version '{2}' on platform '{3}'</value >
827
+ </data >
825
828
<data name =" UseCompatibleTypesName" xml : space =" preserve" >
826
829
<value >UseCompatibleTypes</value >
827
830
</data >
834
837
<data name =" UseCompatibleTypesTypeError" xml : space =" preserve" >
835
838
<value >The type '{0}' is not available by default in PowerShell version '{1}' on platform '{2}'</value >
836
839
</data >
840
+ <data name =" UseCompatibleTypesMethodError" xml : space =" preserve" >
841
+ <value >The method '{0}' is not available on type '{1}' by default in PowerShell version '{2}' on platform '{3}'</value >
842
+ </data >
843
+ <data name =" UseCompatibleTypesMemberError" xml : space =" preserve" >
844
+ <value >The member '{0}' is not available on type '{1}' by default in PowerShell version '{2}' on platform '{3}'</value >
845
+ </data >
837
846
<data name =" UseCompatibleSyntaxName" xml : space =" preserve" >
838
847
<value >UseCompatibleSyntax</value >
839
848
</data >
You can’t perform that action at this time.
0 commit comments