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

Exceptions for 'data' and 'agenda'. #145

Open
intercaetera opened this issue Jan 21, 2020 · 0 comments
Open

Exceptions for 'data' and 'agenda'. #145

intercaetera opened this issue Jan 21, 2020 · 0 comments

Comments

@intercaetera
Copy link

intercaetera commented Jan 21, 2020

It's quite common in our environment to be using these words and overwhelmingly the English grammar rules place them in the same category of uncountable nouns as advice, information and furniture (rather than the now very dated plurals of the words datum and agendum).

pluralize only chooses the latter usage:

console.log(pluralize.isPlural('data'));
// => true

console.log(pluralize.isPlural('agenda'));
// => true

Should we consider changing the rules for these words?

Commandtechno added a commit to Commandtechno/pluralize that referenced this issue Mar 3, 2022
`pluralize.singular('data')` returns `datum` because of the rule here: https://github.com/plurals/pluralize/blob/master/pluralize.js#L385

This PR Just adds data to the list of singular words with no plurals because I don't believe data has a plural form

Closes plurals#145
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

Successfully merging a pull request may close this issue.

1 participant