Skip to content

Commit 7cae30d

Browse files
authored
Remove unused strings from ConsoleInfoErrorStrings.resx (PowerShell#18367)
1 parent 215ac2f commit 7cae30d

File tree

1 file changed

+0
-90
lines changed

1 file changed

+0
-90
lines changed

src/System.Management.Automation/resources/ConsoleInfoErrorStrings.resx

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -117,63 +117,9 @@
117117
<resheader name="writer">
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120-
<data name="MonadConsoleNotFound" xml:space="preserve">
121-
<value>Required element "PSConsoleFile" in {0} is missing or incorrect.</value>
122-
</data>
123-
<data name="MonadVersionNotFound" xml:space="preserve">
124-
<value>Required element "PSVersion" in {0} is missing or incorrect.</value>
125-
</data>
126-
<data name="BadConsoleVersion" xml:space="preserve">
127-
<value>Required element "ConsoleSchemaVersion" in {0} is missing or incorrect.</value>
128-
</data>
129-
<data name="BadXMLFormat" xml:space="preserve">
130-
<value>The console file is not valid. Multiple entries were found for the element PSConsoleFile. Only one entry is supported for this version.</value>
131-
</data>
132-
<data name="PSSnapInNotFound" xml:space="preserve">
133-
<value>The console file is not valid because the element {0} is not valid.</value>
134-
</data>
135-
<data name="IDNotFound" xml:space="preserve">
136-
<value>The console file is not valid because the PowerShell snap-in name is missing.</value>
137-
</data>
138-
<data name="SaveDefaultError" xml:space="preserve">
139-
<value>Attempting to save a console file with no name. Use Export-Console with the Path parameter to save the console file.</value>
140-
</data>
141-
<data name="BadXMLElementFound" xml:space="preserve">
142-
<value>Unknown element {0} found. "{1}" should have "{2}" and "{3}" elements only.</value>
143-
</data>
144-
<data name="MultipleMshSnapinsElementNotSupported" xml:space="preserve">
145-
<value>The console file is not valid. Only one occurrence of the element "{0}" is allowed.</value>
146-
</data>
147-
<data name="PathNotAbsolute" xml:space="preserve">
148-
<value>The path {0} is not an absolute path.</value>
149-
</data>
150-
<data name="BadConsoleExtension" xml:space="preserve">
151-
<value>The console file name extension is not valid. A console file name extension must be psc1.</value>
152-
</data>
153120
<data name="BadMonadVersion" xml:space="preserve">
154121
<value>Incorrect PowerShell version {0}. PowerShell version {1} is supported on this computer.</value>
155122
</data>
156-
<data name="PSSnapInDoesNotExist" xml:space="preserve">
157-
<value>Cannot find any PowerShell snap-in information for {0}.</value>
158-
</data>
159-
<data name="CannotLoadDefault" xml:space="preserve">
160-
<value>This is a system PowerShell snap-in that is loaded by PowerShell.</value>
161-
</data>
162-
<data name="PSSnapInAlreadyExists" xml:space="preserve">
163-
<value>Cannot add PowerShell snap-in {0} because it is already added. Verify the name of the snap-in, and then try again.</value>
164-
</data>
165-
<data name="CannotRemovePSSnapIn" xml:space="preserve">
166-
<value>Cannot remove the PowerShell snap-in {0} because it is not loaded. Verify the name of the snap-in that you want to remove, and then try again.</value>
167-
</data>
168-
<data name="CannotRemoveDefault" xml:space="preserve">
169-
<value>Cannot remove the PowerShell snap-in {0} because it is a system snap-in. Verify the name of the snap-in that you want to remove, and then try again.</value>
170-
</data>
171-
<data name="PSSnapInReadError" xml:space="preserve">
172-
<value>Cannot load the PowerShell snap-in because an error occurred while reading the registry information for the snap-in.</value>
173-
</data>
174-
<data name="CannotLoadDefaults" xml:space="preserve">
175-
<value>An error occurred while attempting to load the system PowerShell snap-ins. Please contact Microsoft Customer Support Services.</value>
176-
</data>
177123
<data name="ConsoleLoadFailure" xml:space="preserve">
178124
<value>The following errors occurred when loading console {0}: {1}</value>
179125
</data>
@@ -195,45 +141,9 @@
195141
<data name="AddPSSnapInBadMonadVersion" xml:space="preserve">
196142
<value>PowerShell {0} is not supported in the current console. PowerShell {1} is supported in the current console.</value>
197143
</data>
198-
<data name="CmdletNotAvailable" xml:space="preserve">
199-
<value>The cmdlet is not supported by the custom shell.</value>
200-
</data>
201-
<data name="ConsoleFileReadOnly" xml:space="preserve">
202-
<value>Cannot export to this file because file {0} is read-only. Change the read-only attribute of the file to read-write, or export to a different file.</value>
203-
</data>
204144
<data name="FileExistsNoClobber" xml:space="preserve">
205145
<value>File {0} already exists and {1} was specified.</value>
206146
</data>
207-
<data name="ConsoleFileNameNotResolved" xml:space="preserve">
208-
<value>Cannot export to a console because no console is loaded or no name is specified.</value>
209-
</data>
210-
<data name="FileNameCaptionForExportConsole" xml:space="preserve">
211-
<value>Cmdlet {0}</value>
212-
</data>
213-
<data name="FileNamePromptMessage" xml:space="preserve">
214-
<value>Supply values for the following parameters:</value>
215-
</data>
216-
<data name="PromptForExportConsole" xml:space="preserve">
217-
<value>Cannot export a console file because no console file has been specified. Do you want to continue with the export operation?</value>
218-
</data>
219-
<data name="ConsoleCannotBeConvertedToString" xml:space="preserve">
220-
<value>Cannot save the file because the file name format is not valid. Specify a file name using the command: export-console -path.</value>
221-
</data>
222-
<data name="FileNameNotResolved" xml:space="preserve">
223-
<value>Cannot save the specified file. The Save operation was canceled.</value>
224-
</data>
225-
<data name="ConsoleFileWildCardsNotSupported" xml:space="preserve">
226-
<value>Cannot save the console file because wildcard characters were used. Specify a console file without wildcard characters.</value>
227-
</data>
228-
<data name="ProviderNotSupported" xml:space="preserve">
229-
<value>You can only save a file when you are working in a file provider. The current provider '{0}' is not a file provider.</value>
230-
</data>
231-
<data name="ConsoleVariableCannotBeSet" xml:space="preserve">
232-
<value>Cannot set the ConsoleFileName variable to {0}. File {0} was saved.</value>
233-
</data>
234-
<data name="ExportConsoleCannotDeleteFile" xml:space="preserve">
235-
<value>The Save operation failed. Cannot remove the file {0}.</value>
236-
</data>
237147
<data name="ConfigurationFileDoesNotExist" xml:space="preserve">
238148
<value>The provided configuration file '{0}' does not exist.</value>
239149
</data>

0 commit comments

Comments
 (0)