@@ -49,6 +49,11 @@ class TranslatorAdmin | |||
return $newChoices; | |||
} | |||
public function transChoice(string $entityName,string $field, string $choice): string | |||
{ | |||
return $this->transField($field.'Choices.'.$choice, $entityName); | |||
} | |||
public function transHelp($fieldName, $entityClass): string | |||
{ | |||
$fieldName = $fieldName . '_help'; |