The "{{ model.value }} posts" string should be localized and retrieved from a translation file or service, so that it can be displayed in the user's preferred language.
How to solve
In the bar-chart.component.html file, replace the hardcoded "{{ model.value }} posts" string with a translation key (something like., {{ 'ACTIVITY.BAR_CHART_TOOLTIP' | translate:{ value: model.value } }}).
Summary
Describe the bug
The string "{{ model.value }} posts" on line 14 in the
bar-chart.component.html
file needs to be localized to support multiple languages.To Reproduce
apps/web-mzima-client/src/app/activity/bar-chart/bar-chart.component.html
file.Expected behavior
The "{{ model.value }} posts" string should be localized and retrieved from a translation file or service, so that it can be displayed in the user's preferred language.
How to solve
bar-chart.component.html
file, replace the hardcoded "{{ model.value }} posts" string with a translation key (something like.,{{ 'ACTIVITY.BAR_CHART_TOOLTIP' | translate:{ value: model.value } }}
).Screenshots