CodeExplorer addBrackets example
if (!
$localizable) { $trans .=
$text;
continue;
} $this->
addAccents($trans,
$text);
} $this->
expand($trans,
$visibleText);
$this->
addBrackets($trans);
return $trans;
} public function getLocale(): string
{ return $this->translator->
getLocale();
} private function getParts(string
$originalTrans): array
{