Skip to content

Commit

Permalink
Added irregular plural for 'criterion' (it is 'criteria')
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielweyer authored and Borzoo committed Dec 23, 2014
1 parent 4801070 commit 945ac22
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/InflectorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ public IEnumerator<object[]> GetEnumerator()
yield return new object[] {"virus", "viri"};
yield return new object[] {"alias", "aliases"};
yield return new object[] {"portfolio", "portfolios"};
yield return new object[] {"criterion", "criteria"};

yield return new object[] {"vertex", "vertices"};
yield return new object[] {"matrix", "matrices"};
Expand Down
1 change: 1 addition & 0 deletions src/Humanizer/InflectorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ static InflectorExtensions()
AddIrregular("move", "moves");
AddIrregular("goose", "geese");
AddIrregular("alumna", "alumnae");
AddIrregular("criterion", "criteria");

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

0 comments on commit 945ac22

Please sign in to comment.