WEB-1101: Add missing translation keys for Disable/Enable Withhold Ta… - #3793
WEB-1101: Add missing translation keys for Disable/Enable Withhold Ta…#3793Farah-Nahle-FOO wants to merge 1 commit into
Conversation
|
Note
|
| Layer / File(s) | Summary |
|---|---|
Add withholding tax menu labels src/assets/translations/en-US.json |
Adds English labels for "Enable Withhold Tax" and "Disable Withhold Tax". |
Estimated code review effort: 1 (Trivial) | ~2 minutes
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title clearly describes the addition of missing translation keys for enabling and disabling withholding tax. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
fcd73e8 to
5948717
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
Description
The "More" submenu on the savings account hamburger menu displayed the raw i18n key
labels.menus.Disable Withhold Tax(andEnable Withhold Tax) instead of a readable label, because themenustranslation namespace never had entries for these two menu actions. Added the missingDisable Withhold TaxandEnable Withhold Taxkeys tosrc/assets/translations/en-US.jsonsongx-translateresolves a proper label instead of falling back to the raw key. This also fixes the same menu action on the recurring deposit and fixed deposit account views, since they share the same translation keys. No new dependencies are required.Related issues and discussion
WEB-1101
Before: menu item shows
labels.menus.Disable Withhold TaxAfter: menu item shows
Disable Withhold TaxChecklist
Please make sure these boxes are checked before submitting your pull request - thanks!
If you have multiple commits please combine them into one commit by squashing them.
Read and understood the contribution guidelines at
web-app/.github/CONTRIBUTING.md.Summary by CodeRabbit