KHARSHAVARDHAN-eng opened a new pull request, #42618:
URL: https://github.com/apache/superset/pull/42618
### SUMMARY
Fixes #42617.
The success and failure toast messages in `AlertReportList` currently
interpolate the raw `alert.type` value (`Alert` or `Report`) into translated
strings. This prevents proper localization and can produce grammatically
incorrect translations in languages that require different sentence structures.
This PR replaces the interpolated resource type with separate translation
strings for Alerts and Reports, following the existing i18n pattern already
used in the codebase.
### TESTING
- Added unit tests covering:
- Alert success toast
- Report success toast
- Alert failure toast
- Report failure toast
### ADDITIONAL INFORMATION
- [x] Has associated issue: #42617
- [x] Changes UI
- [ ] Includes DB migration
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]