-
Notifications
You must be signed in to change notification settings - Fork 667
Metal3 i18n form #7333
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
Metal3 i18n form #7333
Conversation
|
/retest |
1 similar comment
|
/retest |
...ackages/metal3-plugin/src/components/baremetal-hosts/add-baremetal-host/AddBareMetalHost.tsx
Outdated
Show resolved
Hide resolved
bdea63b to
3d4eab9
Compare
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.
IMO we should pass t function and translate strings within this function
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.
can you inline this ?
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.
why is this a function ?
Can you also use camelcase ?
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.
Can you also inline it together with BMO_DISABLED_ALERT ?
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 use camelcase here too
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 think we should not construct sentences anymore
3d4eab9 to
abf0561
Compare
abf0561 to
6171177
Compare
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.
shouldn't the keys start with metal3-plugin~ ?
Do we need // t('metal3-plugin~...) comments here ?
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.
wow - thanks !
9d6d31d to
d531ae4
Compare
frontend/packages/metal3-plugin/src/components/baremetal-nodes/CSRStatus.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/metal3-plugin/src/components/baremetal-nodes/dashboard/StatusCard.tsx
Outdated
Show resolved
Hide resolved
d531ae4 to
4b364f7
Compare
|
/lgtm |
808d669 to
310d420
Compare
|
/retest |
1 similar comment
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jtomasek, rawagner, yaacov The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
More Metal3 plugin i18n strings.
Missing from this PR - Actions, Menu Items and Tabs from
plugin.jsonfile.