Skip to content

Commit

Permalink
Merge pull request #2499 from data-for-change/modify-widget-title
Browse files Browse the repository at this point in the history
add in segment
  • Loading branch information
atalyaalon authored Dec 13, 2023
2 parents a263185 + 79ad70e commit 0069cb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_transcription(request_params: RequestParams, items: Dict):
def localize_items(request_params: RequestParams, items: Dict) -> Dict:
items["data"]["text"] = {
"title": _("Number of Injuries in accidents by severity"),
"subtitle": _(request_params.location_info['road_segment_name']),
"subtitle": f'{_("in segment")} {_(request_params.location_info["road_segment_name"])}',
"transcription": InjuredCountBySeverityWidget.get_transcription(request_params=request_params,
items=items["data"]["items"])
}
Expand Down

0 comments on commit 0069cb3

Please sign in to comment.