Closed Khal-ID closed 1 year ago
Thanks for the PR, but I'm not going to merge this as you localize the name and description; by overriding the getters:
public function getDescription(): string
{
return trans($this->description);
}
public function getName(): string
{
return trans($this->name);
}
Thank you, that helps a lot.
Using Laravel helper trans() we can now put the $name and $description string values in our lang files and translate them to what we need.