The string "End of Posts" on line 290 in the feed.component.html file needs to be localized to support multiple languages.
To Reproduce
Navigate to the apps/web-mzima-client/src/app/feed/feed.component.html file.
Locate the following code block on line 290:
<div class="endofPosts" *ngIf="!loadingMorePosts && postCurrentLength >= total">
End of Posts
</div>
Expected behavior
The "End of 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 feed.component.html file, replace the hardcoded "End of Posts" string with a translation key ( something like., {{ 'FEED.END_OF_POSTS' | translate }})
Summary
Describe the bug
The string "End of Posts" on line 290 in the
feed.component.html
file needs to be localized to support multiple languages.To Reproduce
apps/web-mzima-client/src/app/feed/feed.component.html
file.Expected behavior
The "End of 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
feed.component.html
file, replace the hardcoded "End of Posts" string with a translation key ( something like.,{{ 'FEED.END_OF_POSTS' | translate }}
)Screenshots