Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plural of specimen #334

Open
yatsura opened this issue Feb 2, 2021 · 0 comments
Open

Plural of specimen #334

yatsura opened this issue Feb 2, 2021 · 0 comments

Comments

@yatsura
Copy link

yatsura commented Feb 2, 2021

I'm having an issue with getting the inflector to accept that the plural of specimen as specimens.

Using:

const inflector = Inflector.inflector;  
inflector.irregular('specimen', 'specimens');

Is not working for me, it still reports back specimen.

{{pluralize "specimen"}} -> specimen

However, if I change specimens to mens

inflector.irregular('men', 'mens');
{{pluralize "specimen"}} -> specimens

I believe this is to do with specimens being treated as a compound noun.

In addition using, it as an irregular inflection works in Rails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant