fix title of page translations and coherency

This commit is contained in:
Mathieu Jaumotte 2021-08-22 22:24:46 +02:00
parent a0b914380b
commit 668b3e182e
7 changed files with 22 additions and 23 deletions

View File

@ -2,7 +2,7 @@
{% set activeRouteKey = 'chill_activity_activity_list' %}
{% block title 'Activity'|trans %}
{% block title 'Show the activity'|trans %}
{% import 'ChillActivityBundle:ActivityReason:macro.html.twig' as m %}

View File

@ -2,7 +2,7 @@
{% set activeRouteKey = 'chill_activity_activity_list' %}
{% block title 'Activity'|trans %}
{% block title 'Show the activity'|trans %}
{% import 'ChillActivityBundle:ActivityReason:macro.html.twig' as m %}

View File

@ -1,10 +1,6 @@
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
{% set title = 'DRAFT' == accompanyingCourse.step ? 'New accompanying course' : 'Edit accompanying course' %}
{% block title %}
{{ title|trans }}
{% endblock %}
{% block title %}{%- if 'DRAFT' == accompanyingCourse.step -%}{{ 'New accompanying course'|trans }}{%- else -%}{{ 'Edit Accompanying Course'|trans }}{%- endif -%}{% endblock %}
{% block content %}
<div id="accompanying-course"></div> {# <== insert accompanyingCourse vue component #}

View File

@ -2,7 +2,7 @@
{% set activeRouteKey = 'chill_person_accompanying_period_list' %}
{% block title %}{{ 'Accompanying period list'|trans }}{% endblock title %}
{% block title %}{{ 'Accompanying period list for person'|trans }}{% endblock title %}
{% block personcontent %}
<div class="person-accompanyingperiods">

View File

@ -2,12 +2,12 @@
{% set activeRouteKey = 'chill_person_view' %}
{% block title 'household.Household history for %name%'|trans({'name': person|chill_entity_render_string}) %}
{% block title 'household.Household history for person'|trans %}
{% block personcontent %}
<div class="person-household">
<h1>{{ block('title') }}</h1>
<h1>{{ 'household.Household history'|trans }}</h1>
<h2>{{ 'household.Household shared'|trans }}</h2>
{% set memberships = person.getHouseholdParticipationsShareHousehold() %}

View File

@ -37,7 +37,7 @@ household:
holder: Titulaire
Edit member household: Modifier l'appartenance au ménage
Current household members: Membres actuels
Household summary: Résumé
Household summary: Résumé du ménage
Accompanying period: Parcours d'accompagnement
Addresses: Adresses
Current address: Adresse actuelle
@ -58,6 +58,8 @@ household:
expecting_birth: Naissance attendue ?
date_expecting_birth: Date de la naissance attendue
data_saved: Données enregistrées
Household history: Historique des ménages
Household history for person: Historique des ménages de la personne
Household history for %name%: Historique des ménages pour {name}
Household shared: Ménages domiciliés
Household not shared: Ménage non domiciliés

View File

@ -169,6 +169,7 @@ An accompanying period starts: Une période d'accompagnement est ouverte
Any accompanying periods are open: Aucune période d'accompagnement ouverte
An accompanying period is open: Une période d'accompagnement est ouverte
Accompanying period list: Périodes d'accompagnement
Accompanying period list for person: Périodes d'accompagnement de la personne
Accompanying period: Parcours d'accompagnement
period: Parcours
New accompanying course: Nouveau parcours d'accompagnement