Adjust translation logic for gender in vue components

This commit is contained in:
2024-10-01 13:35:06 +02:00
parent 5fce9ee9fb
commit a47c8d916b
9 changed files with 13 additions and 44 deletions

View File

@@ -26,6 +26,7 @@ class Gender
private bool $active = true;
#[Assert\NotNull(message: 'You must choose a gender translation')]
#[Serializer\Groups(['read'])]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::STRING, enumType: GenderEnum::class)]
private GenderEnum $genderTranslation;

View File

@@ -38,7 +38,8 @@ const messages = {
person: "Usager",
birthday: {
man: "Né le",
woman: "Née le"
woman: "Née le",
neutral: "Né·e le"
},
deathdate: "Date de décès",
household_without_address: "Le ménage de l'usager est sans adresse",