msranjana opened a new pull request, #237:
URL: https://github.com/apache/fineract-backoffice-ui/pull/237
## What
Localizes the savings account view action buttons that were hard-coded in
English.
## Why
On `/products/savings-accounts/view/:id`, the header row buttons
**Approve**, **Activate**, **Close**, **Deposit**, and **Withdraw** had their
labels written directly into the template, so they remained in English
regardless of the selected application language.
Adjacent buttons such as **ACTIONS** and **BACK** already use the
`translate` pipe and correctly update when the language changes. The loan
account screen follows the same pattern using `{{ 'LOANS.APPROVE' | translate
}}`, and each savings action button already had an `[appTooltip]` bound to the
corresponding `SAVINGS.*` translation key.
## Changes
- Replaced the five hard-coded button labels in
`savings-account-view.component.ts` with the existing translation keys:
- `SAVINGS.APPROVE`
- `SAVINGS.ACTIVATE`
- `SAVINGS.CLOSE`
- `SAVINGS.DEPOSIT`
- `SAVINGS.WITHDRAW`
- No changes to `src/assets/i18n/en.json` were required, as all five
translation keys already exist under the `SAVINGS` block.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]