Plural: Support ordinals#416
Plural: Support ordinals#416tniessen wants to merge 1 commit intoglobalizejs:masterfrom tniessen:fix-403
Conversation
doc/api/plural/plural-generator.md
Outdated
There was a problem hiding this comment.
Please, could you move options above value? Also, replace >> with > only.
|
Hi @tniessen, I left a couple of comments above. Great job so far. |
| ``` | ||
|
|
||
| For comparison: | ||
| For comparison (cardinals): |
There was a problem hiding this comment.
Let's create a similar table for ordinals?
|
I'd like to see a brief definition for both cardinals and ordinals somewhere in the documentation. More examples would also help. |
|
@rxaviers @jzaefferer I pushed a commit a few days ago, awaiting reviews. |
doc/api/plural/plural-generator.md
Outdated
There was a problem hiding this comment.
All table needs the below change.
- plural( 0 )
+ plural( 0, { type: "ordinal" } )|
Hi @tniessen, I added a couple of comments. Github doesn't send notifications when new commits are pushed. So, feel free to add a new comment if you have further updates. Thanks so far. |
|
Thank you @tniessen, one last comment. |
src/plural.js
Outdated
There was a problem hiding this comment.
spaces MakePlural.rules[ type ] =
|
@tniessen, no problem. Thanks landed 🎉 |
Fixes #403