Bug Description
I'm trying to pass {{ site:short_locale }} as a parameter to a custom modifier. Is this even supposed to work?
The modifier $params in this example is null:
{{ title :translate="site:short_locale" }}
The modifier $params in this example is {site:short_locale}:
{{ title translate="{site:short_locale}" }}
How to Reproduce
Create a modifier and try to pass the parameter like in the example above.
Environment
Statamic 3.0.12 Pro
Laravel 7.28.3
PHP 7.4.9
aerni/translator dev-feature/statamic-v3
Bug Description
I'm trying to pass
{{ site:short_locale }}as a parameter to a custom modifier. Is this even supposed to work?The modifier
$paramsin this example isnull:{{ title :translate="site:short_locale" }}The modifier
$paramsin this example is{site:short_locale}:{{ title translate="{site:short_locale}" }}How to Reproduce
Create a modifier and try to pass the parameter like in the example above.
Environment
Statamic 3.0.12 Pro
Laravel 7.28.3
PHP 7.4.9
aerni/translator dev-feature/statamic-v3