emberjs / emberjs/ember-inflector

Plural of specimen

Open
#334 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
107
Forks
78
Avg merge
20h 58m
Merged PRs (30d)
4

Description

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

Using:
```javascript
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

```javascript
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.