Skip to content

Commit

Permalink
Edits UI text for ML nodes and job button (#60184) (#60465)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Morelli <[email protected]>
  • Loading branch information
lcawl and bmorelli25 authored Mar 18, 2020
1 parent aca82ec commit e2ab1cd
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 e2ab1cd

Please sign in to comment.