- Issue created by @jabonillac@gmail.com
- π¨π΄Colombia jabonillac@gmail.com
Created MR, and added a patch in the meantime.
- Status changed to Needs review
10 days ago 2:17am 27 May 2025 - π¦πΊAustralia 2pha
Are you sure this is the correct way to add translation support?
I have not done much in the way of translation in the past so am not sure.It does seem though that you are translating the value as well as what is displayed to the user, which I don't think is desirable.
Also PHPCS outputs a warning "Only string literals should be passed to t() where possible"