Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PowerShell/PowerShell.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lee <slee@microsoft.com>2022-10-25 07:59:43 +0300
committerGitHub <noreply@github.com>2022-10-25 07:59:43 +0300
commitd0b2304b28d2a9a40c6ecdd1ec6d2e1025934564 (patch)
tree6a6e4721ce840d02de870ddb929e1c7c60605871
parenteef7c4526e2ac8fcab7e92d824fc0675e7acd7d9 (diff)
Remove unused console strings (#18369)
-rw-r--r--src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleControlStrings.resx12
-rw-r--r--src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleHostStrings.resx9
2 files changed, 0 insertions, 21 deletions
diff --git a/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleControlStrings.resx b/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleControlStrings.resx
index f5fc6e4427..bf1a8f84bf 100644
--- a/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleControlStrings.resx
+++ b/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleControlStrings.resx
@@ -123,12 +123,6 @@
<data name="RemoveBreakHandlerExceptionTemplate" xml:space="preserve">
<value>The Win32 internal error "{0}" 0x{1:X} occurred while trying to remove a break handler. Contact Microsoft Customer Support Services.</value>
</data>
- <data name="AttachToParentConsoleExceptionTemplate" xml:space="preserve">
- <value>The Win32 internal error "{0}" 0x{1:X} occurred while attaching to parent console. Contact Microsoft Customer Support Services.</value>
- </data>
- <data name="DetachFromConsoleExceptionTemplate" xml:space="preserve">
- <value>The Win32 internal error "{0}" 0x{1:X} occurred while detaching from the console. Contact Microsoft Customer Support Services.</value>
- </data>
<data name="GetInputModeExceptionTemplate" xml:space="preserve">
<value>The Win32 internal error "{0}" 0x{1:X} occurred while getting input about the console handle. Contact Microsoft Customer Support Services.</value>
</data>
@@ -192,9 +186,6 @@
<data name="SetConsoleTextAttributeExceptionTemplate" xml:space="preserve">
<value>The Win32 internal error "{0}" 0x{1:X} occurred while setting character attributes for the console output buffer. Contact Microsoft Customer Support Services.</value>
</data>
- <data name="SetConsoleCursorPositionExceptionTemplate" xml:space="preserve">
- <value>The Win32 internal error "{0}" 0x{1:X} occurred while trying to set the cursor position. Contact Microsoft Customer Support Services.</value>
- </data>
<data name="GetConsoleCursorInfoExceptionTemplate" xml:space="preserve">
<value>The Win32 internal error "{0}" 0x{1:X} occurred while getting cursor information. Contact Microsoft Customer Support Services.</value>
</data>
@@ -207,7 +198,4 @@
<data name="SendKeyPressInputExceptionTemplate" xml:space="preserve">
<value>The Win32 internal error "{0}" 0x{1:X} occurred while sending keyboard input. Contact Microsoft Customer Support Services.</value>
</data>
- <data name="SetConsoleFontInfoExceptionTemplate" xml:space="preserve">
- <value>The Win32 internal error "{0}" 0x{1:X} occurred while setting console font information. Contact Microsoft Customer Support Services.</value>
- </data>
</root>
diff --git a/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleHostStrings.resx b/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleHostStrings.resx
index 49c22783c1..e8dcccb3de 100644
--- a/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleHostStrings.resx
+++ b/src/Microsoft.PowerShell.ConsoleHost/resources/ConsoleHostStrings.resx
@@ -123,15 +123,9 @@
<data name="InputExitCurrentLoopOutOfSyncError" xml:space="preserve">
<value>Cannot process input loop. ExitCurrentLoop was called when no InputLoops were running.</value>
</data>
- <data name="NestedPromptEntryError" xml:space="preserve">
- <value>A nested prompt cannot be entered until the host is running at least one prompt loop.</value>
- </data>
<data name="DefaultPrompt" xml:space="preserve">
<value>PS&gt;</value>
</data>
- <data name="InitScriptFailed" xml:space="preserve">
- <value>Execution of initialization script has failed. The shell cannot be started.</value>
- </data>
<data name="ShellCannotBeStarted" xml:space="preserve">
<value>The shell cannot be started. A failure occurred during initialization:</value>
</data>
@@ -155,9 +149,6 @@ PowerShell transcript end
End time: {0:yyyyMMddHHmmss}
**********************</value>
</data>
- <data name="ConsoleHostIsSingleton" xml:space="preserve">
- <value>An instance of the ConsoleHost class has already been created for this process.</value>
- </data>
<data name="InitialCommandNotExecuted" xml:space="preserve">
<value>Command '{0}' could not be run because some PowerShell Snap-Ins did not load.</value>
</data>