From 83d656c210dfc0f4e6d9da913e9830a38f9417e9 Mon Sep 17 00:00:00 2001 From: Thomas Hunsaker Date: Fri, 11 Apr 2014 09:17:53 -0700 Subject: [PATCH 1/2] Fixed spelling error with forth/fourth in EnglishNumberToWordsConverter --- src/Humanizer.Tests/NumberToOrdinalWordsTests.cs | 2 +- .../Localisation/NumberToWords/EnglishNumberToWordsConverter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"}, From 515899774e24be47a97a0386a18822b0b981f01b Mon Sep 17 00:00:00 2001 From: Thomas Hunsaker Date: Fri, 11 Apr 2014 09:52:33 -0700 Subject: [PATCH 2/2] Updated release notes --- release_notes.md | 1 + 1 file changed, 1 insertion(+) 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)