Fixed: [export] fixed translation message

This commit is contained in:
Julien Fastré 2023-01-11 17:17:09 +01:00
parent 1f48900434
commit 582983f5ef
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 5 additions and 3 deletions

View File

@ -111,10 +111,10 @@ class GeographicalUnitFilter implements \Chill\MainBundle\Export\FilterInterface
public function describeAction($data, $format = 'string') public function describeAction($data, $format = 'string')
{ {
return [ return [
'exports.by_person.Filtered by person\'s geographical unit (based on address) computed at datecalc, only units', 'export.filter.by_geog_unit.Filtered by person\'s geographical unit (based on address) computed at %datecalc%, only %units%',
[ [
'datecalc' => $this->rollingDateConverter->convert($data['date_calc'])->format('Y-m-d'), '%datecalc%' => $this->rollingDateConverter->convert($data['date_calc'])->format('Y-m-d'),
'units' => implode( '%units%' => implode(
', ', ', ',
array_map( array_map(
function (SimpleGeographicalUnitDTO $item) { function (SimpleGeographicalUnitDTO $item) {

View File

@ -1046,6 +1046,8 @@ export:
Max date: Date d'échéance Max date: Date d'échéance
filter: filter:
by_geog_unit:
Filtered by person's geographical unit (based on address) computed at %datecalc%, only %units%: Filtré par unité géographique (sur base de l'adresse), calculé le %datecalc%, seulement %units%
person: person:
by_composition: by_composition:
Filter by household composition: Filtrer les personnes par composition du ménage Filter by household composition: Filtrer les personnes par composition du ménage