Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Fix plural in messages #27

Closed
mvorisek opened this issue Jan 21, 2020 · 0 comments · Fixed by #28
Closed

Fix plural in messages #27

mvorisek opened this issue Jan 21, 2020 · 0 comments · Fixed by #28

Comments

@mvorisek
Copy link
Member

return 'added '.$added.' field'.($added % 10 == 1 ? '' : 's').', '.

what is the meaning of the ( x % 10) for plural version above? 11, 21, should be in plural (with s) too...

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

Successfully merging a pull request may close this issue.

1 participant