diff --git a/.changes/unreleased/Fixed-20230913-115954.yaml b/.changes/unreleased/Fixed-20230913-115954.yaml new file mode 100644 index 000000000..df1eef370 --- /dev/null +++ b/.changes/unreleased/Fixed-20230913-115954.yaml @@ -0,0 +1,5 @@ +kind: Fixed +body: Fix the label of filter ActivityTypeFilter to a more obvious one +time: 2023-09-13T11:59:54.948009297+02:00 +custom: + Issue: "142" diff --git a/src/Bundle/ChillActivityBundle/Export/Filter/ACPFilters/ActivityTypeFilter.php b/src/Bundle/ChillActivityBundle/Export/Filter/ACPFilters/ActivityTypeFilter.php index facaa1fe4..72528170f 100644 --- a/src/Bundle/ChillActivityBundle/Export/Filter/ACPFilters/ActivityTypeFilter.php +++ b/src/Bundle/ChillActivityBundle/Export/Filter/ACPFilters/ActivityTypeFilter.php @@ -77,7 +77,7 @@ class ActivityTypeFilter implements FilterInterface $types[] = $this->translatableStringHelper->localize($aty->getName()); } - return ['Filtered by activity types: only %activitytypes%', [ + return ['export.filter.activity.acp_by_activity_type.acp_containing_at_least_one_%activitytypes%', [ '%activitytypes%' => implode(', ', $types), ]]; } diff --git a/src/Bundle/ChillActivityBundle/translations/messages.fr.yml b/src/Bundle/ChillActivityBundle/translations/messages.fr.yml index 4ddad2292..ef2494f57 100644 --- a/src/Bundle/ChillActivityBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillActivityBundle/translations/messages.fr.yml @@ -377,6 +377,8 @@ export: Title: Filtre les parcours ayant reçu un échange entre deux dates Receiving an activity after: Ayant reçu un échange après le Receiving an activity before: Ayant reçu un échange avant le + acp_by_activity_type: + 'acp_containing_at_least_one_%activitytypes%': 'Parcours filtrés: uniquement ceux qui contiennent au moins un échange d''un des types suivants: %activitytypes%' aggregator: