Skip to content

Commit

Permalink
Edits UI text for ML nodes and job button
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Mar 14, 2020
1 parent 02ee4b1 commit ddba101
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 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 @@ -25,7 +25,7 @@ export const ExplorerNoJobsFound = () => (
<EuiButton color="primary" fill href="ml#/jobs">
<FormattedMessage
id="xpack.ml.explorer.createNewJobLinkText"
defaultMessage="Create new job"
defaultMessage="Create job"
/>
</EuiButton>
}
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 ddba101

Please sign in to comment.