-
-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Description
Following up on this one.
We're running into some limitations with the current pluralization handling in this gem. In short, it's hard to do strings with multiple plural words.
Would you be open to me exploring/suggestion what a hook that could integrate with an external message format library (e.g. https://github.com/format-message/message-format-rb) could look like?
I'd try to come up with something minimal. Hook would be in library, the rest would be 'user space' (not inside this gem).
You
{reportCount, plural,
=0 {have no projects}
one {have # project}
other {have # projects}
}
pending approval and
{unreadCount, plural,
=0 {have no unread notifications}
one {have # unread notifications}
other {have # unread notifications}
}
today.
Related: #522
Metadata
Metadata
Assignees
Labels
No labels