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
This is valid latte and works as expected. But Latte plugin 1.1.7 diagnoses the line incorrectly, puts a red wiggle under "translate" and says "Filters are not allowed here".
Environment (please complete the following information):
PhpStorm version [e.g. 2023.1]
Plugin version [e.g. 1.1.7]
To Reproduce
Just use a translation with parameters in the indicated way.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
Filters like translate are able to take parameters. An example:
{var $pingHttpTranslated = ('kraken.http.statuscode'|translate, [code: $httpCode]) }
This is valid latte and works as expected. But Latte plugin 1.1.7 diagnoses the line incorrectly, puts a red wiggle under "translate" and says "Filters are not allowed here".
Environment (please complete the following information):
To Reproduce
Just use a translation with parameters in the indicated way.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: