mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
improvement on import - person may have a null gender
This commit is contained in:
@@ -83,6 +83,10 @@ class GenderAggregator implements AggregatorInterface
|
||||
return $this->translator->trans('woman');
|
||||
case Person::MALE_GENDER :
|
||||
return $this->translator->trans('man');
|
||||
case Person::BOTH_GENDER:
|
||||
return $this->translator->trans('both');
|
||||
case null:
|
||||
return $this->translator->trans('Not given');
|
||||
case '_header' :
|
||||
return $this->translator->trans('Gender');
|
||||
default:
|
||||
|
Reference in New Issue
Block a user