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

Localize VM NICs and disks modals #7307

Merged

Conversation

pcbailey
Copy link
Contributor

This PR updates the modals for VM NICs and disks. It does not update the options in the drop down menus. That will be completed in a separate PR.

Disks modal:
Selection_686

Network interfaces modal:
Selection_687

@openshift-ci-robot openshift-ci-robot added the component/kubevirt Related to kubevirt-plugin label Nov 24, 2020
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 24, 2020
@pcbailey
Copy link
Contributor Author

@yaacov @rawagner Please took a look.

@yaacov
Copy link
Member

yaacov commented Nov 24, 2020

/retest

@@ -354,12 +348,19 @@ export const DiskModal = withHandlePromise((props: DiskModalProps) => {
return (
<div className="modal-content">
<ModalTitle>
{isEditing ? EDIT : ADD} {type.toString()}
{isEditing ? t('kubevirt-plugin~Edit') : t('kubevirt-plugin~Add')}{' '}
{t('kubevirt-plugin~{{type}}', { type: type.toString() })}
Copy link
Member

Choose a reason for hiding this comment

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

Notes to next pass:
this will not get translated unless we have comments with // t('kubevirt-plugin~<all posible types... > ... do we need it translated ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. I added these earlier on before I understood about the comments hack. I've been meaning to take them out and forgot. I'll remove them in the next pass.

@yaacov
Copy link
Member

yaacov commented Nov 24, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 24, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pcbailey, yaacov

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yaacov
Copy link
Member

yaacov commented Nov 24, 2020

/retest

@openshift-merge-robot openshift-merge-robot merged commit 63424de into openshift:master Nov 24, 2020
}) => {
const { t } = useTranslation();

const titleText = title || t('kubevirt-plugin~Size');
Copy link
Member

Choose a reason for hiding this comment

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

@pcbailey @rawagner this breaks the wizard

wizard

@spadgett spadgett added this to the v4.7 milestone Nov 30, 2020
@pcbailey pcbailey deleted the localize-nics-and-disk-modals branch October 26, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/kubevirt Related to kubevirt-plugin lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants