You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 } }}).
Screenshots
The text was updated successfully, but these errors were encountered:
kivuvarosekivuvan
changed the title
Localization of "{{ model.value }} posts" string in bar-chart.component.html
[Accessibility] Localization of "{{ model.value }} posts" string in bar-chart.component.html
Jul 26, 2024
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
The text was updated successfully, but these errors were encountered: