-
Notifications
You must be signed in to change notification settings - Fork 616
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
OCPBUGS-45103: update variable name for plugin name parsing #14650
base: master
Are you sure you want to change the base?
Conversation
@yapei: This pull request references Jira Issue OCPBUGS-45103, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: yapei. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/lgtm |
/retest
|
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.
Thanks @yapei !
@@ -294,7 +294,7 @@ const ConsolePlugins: React.FC<ConsolePluginsProps> = ({ csvPlugins, trusted }) | |||
{csvPlugins.map((pluginName) => ( | |||
<dd key={pluginName} className="co-clusterserviceversion-details__field-description"> | |||
{csvPluginsCount > 1 && ( | |||
<strong className="text-muted">{t('olm~{{plugin}}:', { pluginName })} </strong> | |||
<strong className="text-muted">{t('olm~{{pluginName}}:', { pluginName })} </strong> |
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.
Not new a problem, but there's nothing to translate here.
<strong className="text-muted">{t('olm~{{pluginName}}:', { pluginName })} </strong> | |
<strong className="text-muted">{pluginName}</strong> |
@@ -41,7 +41,7 @@ export const ConsolePluginModal = withHandlePromise((props: ConsolePluginModalPr | |||
<form onSubmit={submit} name="form" className="modal-content"> | |||
<ModalTitle> | |||
{csvPluginsCount > 1 | |||
? t('console-shared~Console plugin enablement - {{plugin}}', { pluginName }) | |||
? t('console-shared~Console plugin enablement - {{pluginName}}', { pluginName }) |
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.
I'd suggest this instead so we don't have to re-translate the messages:
? t('console-shared~Console plugin enablement - {{pluginName}}', { pluginName }) | |
? t('console-shared~Console plugin enablement - {{plugin}}', { plugin: pluginName }) |
/lgtm cancel I do think we want to consider the suggested changes above so that the messages don't need to be re-translated. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Mylanos, yapei The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label acknowledge-critical-fixes-only This is causing failures in our component readiness tests. |
@spadgett: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@@ -182,7 +182,7 @@ | |||
"Run in Web Terminal": "Run in Web Terminal", | |||
"Successfully copied to clipboard!": "Successfully copied to clipboard!", | |||
"Running in Web Terminal": "Running in Web Terminal", | |||
"Console plugin enablement - {{plugin}}": "Console plugin enablement - {{plugin}}", | |||
"Console plugin enablement - {{pluginName}}": "Console plugin enablement - {{pluginName}}", |
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.
Hmm, I guess we don't have to retranslate since you've edit the messages manually. This should be OK.
@yapei: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Before - on CSV details page
After - on CSV details page