diff --git a/anyway/widgets/road_segment_widgets/injured_count_by_accident_year_widget.py b/anyway/widgets/road_segment_widgets/injured_count_by_accident_year_widget.py index 133f5fa9..c66264f9 100644 --- a/anyway/widgets/road_segment_widgets/injured_count_by_accident_year_widget.py +++ b/anyway/widgets/road_segment_widgets/injured_count_by_accident_year_widget.py @@ -53,7 +53,7 @@ def generate_items(self) -> None: def localize_items(request_params: RequestParams, items: Dict) -> Dict: items["data"]["text"] = { "title": _("Number of injured in accidents, per year, split by severity"), - "subtitle": _(segment_dictionary[request_params.location_info['road_segment_name']]), + "subtitle": f'{_("in segment")} {_(segment_dictionary[request_params.location_info["road_segment_name"]])}', "labels_map": gen_entity_labels(InjurySeverity), } return items