Closed MrOnosa closed 10 months ago
That's what I get for trying to program on my cell phone.
For what it's worth, if we want to be fancy about plural handling, what we'd really want is a little helper method like pluralize(number, "thing", "things")
. It may be a trivial method, but over all the "(s)"s in a codebase like this (or in the one at my day job which does have such a helper) having a standard name for it and slightly less logic at the string interpolation site adds up to a significant benefit.
And that's what I get for not just forking the project because it was working locally but I forgot to update all the files using the GitHub editor.
Noted on using pluralize. Were you thinking of a full library, like Pluralize.NET, or just a simple helper method?
Oh I just meant a simple helper method for us. I don't think Izzy's usage of plural words is nearly advanced or dynamic enough to benefit from what Pluralize.NET is doing.
@MrOnosa you're a peach and a warrior of light
It's a pet-peeve of mine.