Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/ReadText.LocalizedDemo/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
<value>A sequence option '{0}' is defined with fewer or more items than required.</value>
</data>
<data name="SentenceSequenceOutOfRangeErrorValue" xml:space="preserve">
<value>A sequence value not bound to option name is defined with few items than required.</value>
<value>A sequence value not bound to option name is defined with fewer items than required.</value>
</data>
<data name="SentenceSetValueExceptionError" xml:space="preserve">
<value>Error setting value to option '{0}': {1}</value>
Expand Down
2 changes: 1 addition & 1 deletion src/CommandLine/Text/SentenceBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public override Func<Error, string> FormatError
case ErrorType.SequenceOutOfRangeError:
var seqOutRange = ((SequenceOutOfRangeError)error);
return seqOutRange.NameInfo.Equals(NameInfo.EmptyName)
? "A sequence value not bound to option name is defined with few items than required."
? "A sequence value not bound to option name is defined with fewer items than required."
: "A sequence option '".JoinTo(seqOutRange.NameInfo.NameText,
"' is defined with fewer or more items than required.");
case ErrorType.BadVerbSelectedError:
Expand Down