Skip to content

Commit

Permalink
Edits UI text for ML nodes and job button (#60184)
Browse files Browse the repository at this point in the history
* Edits UI text for ML nodes and job button

* Update x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Update x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
  • Loading branch information
3 people authored Mar 18, 2020
1 parent 4deea08 commit c1435db
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export function MachineLearningFlyoutView({
{i18n.translate(
'xpack.apm.serviceDetails.enableAnomalyDetectionPanel.createNewJobButtonLabel',
{
defaultMessage: 'Create new job'
defaultMessage: 'Create job'
}
)}
</EuiButton>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ export const ExplorerNoJobsFound = () => (
}
actions={
<EuiButton color="primary" fill href="ml#/jobs">
<FormattedMessage
id="xpack.ml.explorer.createNewJobLinkText"
defaultMessage="Create new job"
/>
<FormattedMessage id="xpack.ml.explorer.createNewJobLinkText" defaultMessage="Create job" />
</EuiButton>
}
data-test-subj="mlNoJobsFound"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createJobStats(jobsSummaryList) {
const jobStats = {
activeNodes: {
label: i18n.translate('xpack.ml.jobsList.statsBar.activeMLNodesLabel', {
defaultMessage: 'Active ML Nodes',
defaultMessage: 'Active ML nodes',
}),
value: 0,
show: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function NewJobButton() {
>
<FormattedMessage
id="xpack.ml.jobsList.createNewJobButtonLabel"
defaultMessage="Create new job"
defaultMessage="Create job"
/>
</EuiButton>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function getStatsBarData(jobsList: any) {
const jobStats = {
activeNodes: {
label: i18n.translate('xpack.ml.overviewJobsList.statsBar.activeMLNodesLabel', {
defaultMessage: 'Active ML Nodes',
defaultMessage: 'Active ML nodes',
}),
value: 0,
show: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class JobService {
this.jobStats = {
activeNodes: {
label: i18n.translate('xpack.ml.jobService.activeMLNodesLabel', {
defaultMessage: 'Active ML Nodes',
defaultMessage: 'Active ML nodes',
}),
value: 0,
show: true,
Expand Down

0 comments on commit c1435db

Please sign in to comment.