-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add custom pluralisation for the new Product Safety Alerts, Reports and Recalls #2335
Conversation
config/locales/en.yml
Outdated
@@ -224,6 +224,9 @@ en: | |||
publication: | |||
one: Publication | |||
other: Publications | |||
product-safety-alert-report-recalls: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it correct for this key to be plural when the others (e.g. L224, publication
) are not?
(I know nothing about pluralisation rules so just making a guess based on consistency.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing that out Ben, getting a bit lost in singular vs plural at the moment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorted 👍
7843195
to
becc935
Compare
I think it would be good to comment (either here or ideally in the code) to say why this is necessary. Otherwise it could look like an unintentional error. |
There is actually some prior art for this with the |
I'm inclined to think it's safe, yeah, @callumknights — looking at it, I can see it would be awkward if used singularly ("product safety alert, report, or recall"?) and also that the automatic pluralisation would get it wrong (because it wouldn't pluralise "alert" or "report", only "recall"). |
Ok, thanks both. Happy to go with your recommendations - in any case, this conversation adds some detail! |
Add custom pluralisation for the new Product Safety Alerts, Reports and Recalls
specialist finder.
Trello: https://trello.com/c/ojsFViiX/2746-create-new-specialist-document-and-finder-product-safety-alerts-unsafe-products-and-recalls-3-5