Fix an error where wrong plurals were generated

e.g. category -> categorys