Skip to content

Commit

Permalink
Update IT_ITNaturalTimeStrategy.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
EsseFNC committed Nov 10, 2024
1 parent 274ffef commit 3bba251
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#region License

//
// Copyright (c) 2011-2012, João Matos Silva <[email protected]>
// Copyright (c) 2011-2012, Jo�o Matos Silva <[email protected]>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -60,11 +60,11 @@ protected override string Pluralize(string text, int value)
// referring to hours
if (text.EndsWith("a"))
{
return text + "e";
return text.Remove(text.Length -1, 1) + "e";
}

// referring to years, months, days, minutes and seconds
return text + "i";
return text.Remove(text.Length -1, 1) + "i";
}
}
}

0 comments on commit 3bba251

Please sign in to comment.