Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updates the review page start title #4480

Merged
merged 4 commits into from
Oct 28, 2024
Merged

Conversation

thiessenp-cds
Copy link
Contributor

@thiessenp-cds thiessenp-cds commented Oct 28, 2024

Summary | Résumé

Updates review page start title to use the correct language. Previously a check was done on whether the group was undefined, that was the "flag" for whether it was a start group or not. The check was updated to look at the group Id instead.

Test

Load up a group form. Switch the language to French. The Review page Start group should now be in French (the remaining group titles should be unchanged).

EXPECTED
Screenshot 2024-10-28 at 12 23 55 PM

@thiessenp-cds thiessenp-cds linked an issue Oct 28, 2024 that may be closed by this pull request
Copy link
Contributor

@thiessenp-cds thiessenp-cds marked this pull request as ready for review October 28, 2024 15:08
const title =
reviewItem.id !== "start"
? reviewItem.title
: t("start", { ns: "common", lng: language });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want

"logic": {
"start": "Start page",

@thiessenp-cds thiessenp-cds enabled auto-merge (squash) October 28, 2024 16:27
@thiessenp-cds thiessenp-cds merged commit c5b3824 into main Oct 28, 2024
13 checks passed
@thiessenp-cds thiessenp-cds deleted the fix/review-title-lang branch October 28, 2024 16:32
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.

Review page shows "Start Page" in enh for fr pages
2 participants