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 i18n issue for submit label in delete resource modal #9406
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall.
frontend/packages/console-shared/src/components/modals/DeleteResourceModal.tsx
Outdated
Show resolved
Hide resolved
/retest |
verified the changes, and the missing i18n key errors cannot be seen in the console |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: debsmita1, rohitkrai03 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
Fixes: https://issues.redhat.com/browse/ODC-6103
Analysis / Root cause: Delete resource modal expected an
actionLabelKey
and directly used it insidet()
as a translation key.Solution Description: Added a prop for sending translated string instead of just key.
Screen shots / Gifs for design review:
Screen.Recording.2021-07-05.at.9.14.38.PM.mov
Browser conformance: