Skip to content

Commit

Permalink
Fixed training pluralization
Browse files Browse the repository at this point in the history
  • Loading branch information
Gillardo committed Dec 5, 2018
1 parent 3d87aa8 commit b4843da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Humanizer.Tests.Shared/InflectorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ public IEnumerator<object[]> GetEnumerator()
yield return new object[] { "human", "humans" };
yield return new object[] { "personnel", "personnel" };
yield return new object[] { "staff", "staff" };
yield return new object[] { "training", "training" };

yield return new object[] { "basis", "bases" };
yield return new object[] { "diagnosis", "diagnoses" };
Expand Down
1 change: 1 addition & 0 deletions src/Humanizer/Inflections/Vocabularies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private static Vocabulary BuildDefault()
_default.AddIrregular("this", "these", matchEnding: false);
_default.AddIrregular("bus", "buses", matchEnding: false);
_default.AddIrregular("staff", "staff", matchEnding: false);
_default.AddIrregular("training", "training", matchEnding: false);

_default.AddUncountable("equipment");
_default.AddUncountable("information");
Expand Down

0 comments on commit b4843da

Please sign in to comment.