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
What:
When using the functions Plural/PluralWord with a quantity of 0, those functions return the plural word.
Why: Plural function is based on PluralWord function. This last one is strictly checking that the quantity is equal to 1 in order to return the singular word.
However, it should also return the singular word in case the value is 0.
Yes. Singular is only valid for "single" results. For all others, there's plural.
It's a confusing bit of English. "Plural" refers to more than one. "Singular" refers to exactly one. Zero matches neither of those, but we use the plural form in these cases.
What:
When using the functions
Plural
/PluralWord
with a quantity of 0, those functions return the plural word.Why:
Plural
function is based onPluralWord
function. This last one is strictly checking that the quantity is equal to 1 in order to return the singular word.However, it should also return the singular word in case the value is 0.
Ex:
2 pending requests
,1 pending request
,0 pending request
The text was updated successfully, but these errors were encountered: