Skip to content

WEB-1400: Translate the Close button on the Manage Funds and Charges wizard popovers - #4227

Merged
IOhacker merged 2 commits into
openMF:devfrom
Gautam-Bharadwaj:WEB-1400-translate-wizard-close-button
Nov 1, 2026
Merged

IOhacker merged 2 commits into
openMF:devfrom
Gautam-Bharadwaj:WEB-1400-translate-wizard-close-button

Conversation

@Gautam-Bharadwaj

@Gautam-Bharadwaj Gautam-Bharadwaj commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Description

The Close button on two Configuration Wizard popovers is hardcoded in English: the Manage Funds popover (Setup Funds) and the Charges popover (Setup Products). With the language set to Spanish or any other language, the other buttons are translated but Close stays in English.

Every other wizard popover uses the labels.buttons.Close key with the translate pipe. This change does the same in manage-funds.component.html and products.component.html. The key already exists in all translation files, so no translation changes are needed.

Related issues and discussion

Jira: https://mifosforge.jira.com/browse/WEB-1400
Slack: https://mifos.slack.com/archives/CJJGJLN10/p1793418615209899

Screenshots, if any

Before:
Screenshot 2026-11-01 at 4 55 22 PM

After:
Screenshot 2026-11-01 at 4 54 46 PM

Checklist

  • 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

  • Bug Fixes
    • Close buttons in fund management and the Charges configuration wizard now use translated labels.

@Gautam-Bharadwaj
Gautam-Bharadwaj requested a review from a team November 1, 2026 11:26
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1
Validation error: Unrecognized key: "pre_merge_checks"
Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: openMF/web-app
  • Branch: dev
  • File: .coderabbit.yaml
  • Commit: cb062ea
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4964666f-9a57-4eb0-bb7e-9c8383268cf3
Commits

Reviewing files that changed from the base of the PR and between cb062ea and ad02acf.

Files selected for processing: 2
  • src/app/organization/manage-funds/manage-funds.component.html
  • src/app/products/products.component.html

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Walkthrough

Two Close buttons now display the translated labels.buttons.Close label instead of literal text.

Changes

Close button labels

Layer / File(s) Summary
Use translated Close labels
src/app/organization/manage-funds/manage-funds.component.html, src/app/products/products.component.html
The manage-funds and Charges popover Close buttons use labels.buttons.Close.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: adamsaghy

Merge Risk: Minimal · previous review ad02a

The requested Close-button localization is implemented in both affected popovers and is ready to merge.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: translating the Close buttons in the Manage Funds and Charges wizard popovers.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@YousufFFFF

Copy link
Copy Markdown
Member

@Gautam-Bharadwaj Please rebase on the latest dev and push again.

@Gautam-Bharadwaj
Gautam-Bharadwaj force-pushed the WEB-1400-translate-wizard-close-button branch from ad02acf to d42cc52 Compare November 1, 2026 13:20
@Gautam-Bharadwaj

Copy link
Copy Markdown
Member Author

Done, rebased on the latest dev and pushed. Thanks @YousufFFFF

@YousufFFFF

Copy link
Copy Markdown
Member

LGTM!

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

❌ Too many commits

This PR has 2 commits — it must have exactly 1.

How to squash

# From your PR branch:
git rebase -i HEAD~2

# In the editor that opens, keep the FIRST commit as "pick"
# and change all others to "squash" (or "s"):
#   pick   abc1234  Your first commit message
#   squash def5678  Your second commit
#   squash ghi9012  Your third commit

# Save, then edit the combined commit message.
# Finally, force-push:
git push --force-with-lease

This CI check will re-run automatically after you push.

📖 See the Contributing Guide for details.

@IOhacker
IOhacker merged commit da74039 into openMF:dev Nov 1, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants