silverstripe/silverstripe-framework — pull request #3402 by halkyon (2014-08-20 02:53:18+00:00)
Title: BUG Fixing plural_name messing up singular words ending in "e" (#3251)

This would ideally be fixed with the ability to use an external library
like gettext, but that's an API change. This for now fixes the issue
where a singular like "Page" returns "Pags" for the plural name.

I've also added a test, as there wasn't one before.