nova-flexible-content
nova-flexible-content copied to clipboard
Some Nova translations break in combination with nova-flexible-content button translation
I have set the locale to 'de'. When using nova-flexbile-content anywhere in Nova the translations break in some places only, like here:
When i remove the translation function __('Add layout')
in Flexible.php everything works in Nova again:
public function __construct($name, $attribute = null, $resolveCallback = null)
{
parent::__construct($name, $attribute, $resolveCallback);
$this->button('Add layout');
...
This issue has multiple users probably and there is also one open at Nova directly: laravel/nova-issues#4192
Thanks in advance.