Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trans_choice doesn't work #3649

Closed
aerni opened this issue May 5, 2021 · 1 comment
Closed

trans_choice doesn't work #3649

aerni opened this issue May 5, 2021 · 1 comment

Comments

@aerni
Copy link
Contributor

aerni commented May 5, 2021

Bug Description

There's an issue with the key parameter of the {{ trans_choice }} tag. It returns an integer instead of a string. It's an easy fix. Will do a quick PR.

How to Reproduce

Try to use {{ trans_choice key="something" }}. It will return 0.

Environment

Statamic 3.1.11 Pro
Laravel 8.40.0
PHP 7.4.16
aerni/livewire-forms dev-main
jonassiewertsen/statamic-livewire 2.5.0

@jasonvarga
Copy link
Member

Fixed by #3650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants