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')
{
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'),
'units' => implode(
'%datecalc%' => $this->rollingDateConverter->convert($data['date_calc'])->format('Y-m-d'),
'%units%' => implode(
', ',
array_map(
function (SimpleGeographicalUnitDTO $item) {

View File

@ -1046,6 +1046,8 @@ export:
Max date: Date d'échéance
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:
by_composition:
Filter by household composition: Filtrer les personnes par composition du ménage