diff --git a/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php b/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php index 2e8b02f0d..a7311f838 100644 --- a/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php +++ b/src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php @@ -42,10 +42,7 @@ use Chill\MainBundle\Entity\User; */ class AccompanyingPeriod { - const INTENSITY = [ - 'occasional' => 'ponctuel', - 'regular' => 'régulier' - ]; + const INTENSITY = ['occasional', 'regular']; /** * @var integer diff --git a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml index f5d1bb0f5..146aed9e0 100644 --- a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml @@ -281,7 +281,10 @@ person_admin: marital status explanation: > Configurer la liste des états civils. +# specific to accompanying period accompanying_period: dates: Période dates_from_%opening_date%: Ouvert depuis le %opening_date% dates_from_%opening_date%_to_%closing_date%: Ouvert du %opening_date% au %closing_date% +occasional: ponctuel +regular: régulier