diff --git a/release_notes.md b/release_notes.md index 3ef9a26ad..1781a4573 100644 --- a/release_notes.md +++ b/release_notes.md @@ -4,6 +4,7 @@ - [#155](https://github.com/MehdiK/Humanizer/pull/155): French and Belgian French localisation - [#151](https://github.com/MehdiK/Humanizer/pull/151): Added Spanish ToWords Translations - [#172](https://github.com/MehdiK/Humanizer/pull/172): Added Polish translation for ToWords + - [#184](https://github.com/Mehdik/Humanizer/pull/184): Fixed spelling error with forth/fourth in EnglishNumberToWordsConverter [Commits](https://github.com/MehdiK/Humanizer/compare/v1.19.1...master) diff --git a/src/Humanizer.Tests/NumberToOrdinalWordsTests.cs b/src/Humanizer.Tests/NumberToOrdinalWordsTests.cs index 60e0b72e9..079af043e 100644 --- a/src/Humanizer.Tests/NumberToOrdinalWordsTests.cs +++ b/src/Humanizer.Tests/NumberToOrdinalWordsTests.cs @@ -10,7 +10,7 @@ public class NumberToOrdinalWordsTests [InlineData(1, "first")] [InlineData(2, "second")] [InlineData(3, "third")] - [InlineData(4, "forth")] + [InlineData(4, "fourth")] [InlineData(5, "fifth")] [InlineData(6, "sixth")] [InlineData(7, "seventh")] diff --git a/src/Humanizer/Localisation/NumberToWords/EnglishNumberToWordsConverter.cs b/src/Humanizer/Localisation/NumberToWords/EnglishNumberToWordsConverter.cs index c6a88f444..bae21a84a 100644 --- a/src/Humanizer/Localisation/NumberToWords/EnglishNumberToWordsConverter.cs +++ b/src/Humanizer/Localisation/NumberToWords/EnglishNumberToWordsConverter.cs @@ -13,7 +13,7 @@ internal class EnglishNumberToWordsConverter : INumberToWordsConverter {1, "first"}, {2, "second"}, {3, "third"}, - {4, "forth"}, + {4, "fourth"}, {5, "fifth"}, {8, "eighth"}, {9, "ninth"},