Skip to content

Commit 50b0bda

Browse files
committed
Cleanup resources
1 parent accc20d commit 50b0bda

File tree

3 files changed

+4
-34
lines changed

3 files changed

+4
-34
lines changed

PSReadLine/ConsoleKeyChordConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static ConsoleKeyInfo[] Convert(string chord)
3535

3636
if (tokens.Length > 2)
3737
{
38-
throw new ArgumentException(PSReadLineResources.ChordWIthTooManyKeys);
38+
throw new ArgumentException(PSReadLineResources.ChordWithTooManyKeys);
3939
}
4040

4141
var result = new ConsoleKeyInfo[tokens.Length];

PSReadLine/PSReadLineResources.Designer.cs

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

PSReadLine/PSReadLineResources.resx

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ If there are other parse errors, unresolved commands, or incorrect parameters, s
417417
<data name="CantTranslateKey" xml:space="preserve">
418418
<value>Unable to translate '{0}' to virtual key code: {1}.</value>
419419
</data>
420-
<data name="ChordWIthTooManyKeys" xml:space="preserve">
420+
<data name="ChordWithTooManyKeys" xml:space="preserve">
421421
<value>Chord can have at most two keys.</value>
422422
</data>
423423
<data name="InvalidModifier" xml:space="preserve">
@@ -426,9 +426,6 @@ If there are other parse errors, unresolved commands, or incorrect parameters, s
426426
<data name="InvalidSequence" xml:space="preserve">
427427
<value>Invalid sequence '{0}'.</value>
428428
</data>
429-
<data name="String1" xml:space="preserve">
430-
<value>Invalid modifier token '{0}'. The supported modifiers are 'alt', 'shift', 'control' or 'ctrl'.</value>
431-
</data>
432429
<data name="UnrecognizedKey" xml:space="preserve">
433430
<value>Unrecognized key '{0}'. Please use a character literal or a well-known key name from the System.ConsoleKey enumeration.</value>
434431
</data>
@@ -690,24 +687,6 @@ If there are other parse errors, unresolved commands, or incorrect parameters, s
690687
<data name="ViEditVisuallyDescription" xml:space="preserve">
691688
<value>Invokes the console compatible editor specified by $env:VISUAL or $env:$EDITOR on the current command line.</value>
692689
</data>
693-
<data name="CantTranslateKey" xml:space="preserve">
694-
<value>Unable to translate '{0}' to virtual key code: {1}.</value>
695-
</data>
696-
<data name="ChordWIthTooManyKeys" xml:space="preserve">
697-
<value>Chord can have at most two keys.</value>
698-
</data>
699-
<data name="InvalidModifier" xml:space="preserve">
700-
<value>Duplicate or invalid modifier token '{0}' for key '{1}'.</value>
701-
</data>
702-
<data name="InvalidSequence" xml:space="preserve">
703-
<value>Invalid sequence '{0}'.</value>
704-
</data>
705-
<data name="String1" xml:space="preserve">
706-
<value>Invalid modifier token '{0}'. The supported modifiers are 'alt', 'shift', 'control' or 'ctrl'.</value>
707-
</data>
708-
<data name="UnrecognizedKey" xml:space="preserve">
709-
<value>Unrecognized key '{0}'. Please use a character literal or a well-known key name from the System.ConsoleKey enumeration.</value>
710-
</data>
711690
<data name="ViAppendLineDescription" xml:space="preserve">
712691
<value>Appends a new multi-line edit mode line to the current line.</value>
713692
</data>

0 commit comments

Comments
 (0)