Fix typo in string resource identifier
This commit is contained in:
Родитель
7cb8452743
Коммит
5a2ee30a63
|
@ -60,7 +60,7 @@ namespace Microsoft.Data.Analysis
|
|||
|
||||
private static Type GuessKind(int col, List<(long LineNumber, string[] Line)> read, Func<IEnumerable<string>, Type> guessTypeFunction)
|
||||
{
|
||||
IEnumerable<string> lines = read.Select(line => col < line.Line.Length ? line.Line[col] : throw new FormatException(string.Format(Strings.LessColumnsThatExpected, line.LineNumber)));
|
||||
IEnumerable<string> lines = read.Select(line => col < line.Line.Length ? line.Line[col] : throw new FormatException(string.Format(Strings.LessColumnsThanExpected, line.LineNumber)));
|
||||
|
||||
return guessTypeFunction != null
|
||||
? guessTypeFunction.Invoke(lines)
|
||||
|
|
|
@ -297,9 +297,9 @@ namespace Microsoft.Data {
|
|||
/// <summary>
|
||||
/// Looks up a localized string similar to Line {0} has less columns than expected.
|
||||
/// </summary>
|
||||
internal static string LessColumnsThatExpected {
|
||||
internal static string LessColumnsThanExpected {
|
||||
get {
|
||||
return ResourceManager.GetString("LessColumnsThatExpected", resourceCulture);
|
||||
return ResourceManager.GetString("LessColumnsThanExpected", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -195,7 +195,7 @@
|
|||
<data name="InvalidFieldWidths" xml:space="preserve">
|
||||
<value>All field widths, except the last element, must be greater than zero. A field width less than or equal to zero in the last element indicates the last field is of variable length.</value>
|
||||
</data>
|
||||
<data name="LessColumnsThatExpected" xml:space="preserve">
|
||||
<data name="LessColumnsThanExpected" xml:space="preserve">
|
||||
<value>Line {0} has less columns than expected</value>
|
||||
</data>
|
||||
<data name="LineExceedsMaxLineSize" xml:space="preserve">
|
||||
|
|
Загрузка…
Ссылка в новой задаче