You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
your-rank = { NUMBER($pos, type: "ordinal") ->
[1] You finished first!
[one] You finished {$pos}st
[two] You finished {$pos}nd
[few] You finished {$pos}rd
*[other] You finished {$pos}th
}
Checking via the online editor I see we get the following strings:
1: You finished first!
2: You finished 2nd
3: You finished 3rd
4: You finished 4th
5: You finished 5th
…
20: You finished 20th
21: You finished 21st
22: You finished 22nd
23: You finished 23rd
24: You finished 24rd
25: You finished 25rd
But the python implementation seems to not recognise the type: "ordinal" on the selector and we always get the “other” case:
The docs give the following example:
Checking via the online editor I see we get the following strings:
But the python implementation seems to not recognise the
type: "ordinal"
on the selector and we always get the “other” case:The text was updated successfully, but these errors were encountered: