It would be great to prevent this error and have the number param default to 1 if nothing is defined.
Or be able to use t('foo') which would then pick the first one. (my preference)
Nice to haves
Support for negative and zero.
It now picks the last unless specifically defined with brackets. For example:
The problem
When I use
It throws an error:
And causes my app to not render the view.
The solution
It would be great to prevent this error and have the
number
param default to 1 if nothing is defined. Or be able to uset('foo')
which would then pick the first one. (my preference)Nice to haves
Support for negative and zero. It now picks the last unless specifically defined with brackets. For example: