Skip to content

Commit e2ab1cd

Browse files
lcawlbmorelli25
andauthored
Edits UI text for ML nodes and job button (#60184) (#60465)
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
1 parent aca82ec commit e2ab1cd

File tree

7 files changed

+7
-10
lines changed

7 files changed

+7
-10
lines changed

x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export function MachineLearningFlyoutView({
209209
{i18n.translate(
210210
'xpack.apm.serviceDetails.enableAnomalyDetectionPanel.createNewJobButtonLabel',
211211
{
212-
defaultMessage: 'Create new job'
212+
defaultMessage: 'Create job'
213213
}
214214
)}
215215
</EuiButton>

x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_found/__snapshots__/explorer_no_jobs_found.test.js.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ export const ExplorerNoJobsFound = () => (
2323
}
2424
actions={
2525
<EuiButton color="primary" fill href="ml#/jobs">
26-
<FormattedMessage
27-
id="xpack.ml.explorer.createNewJobLinkText"
28-
defaultMessage="Create new job"
29-
/>
26+
<FormattedMessage id="xpack.ml.explorer.createNewJobLinkText" defaultMessage="Create job" />
3027
</EuiButton>
3128
}
3229
data-test-subj="mlNoJobsFound"

x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function createJobStats(jobsSummaryList) {
1515
const jobStats = {
1616
activeNodes: {
1717
label: i18n.translate('xpack.ml.jobsList.statsBar.activeMLNodesLabel', {
18-
defaultMessage: 'Active ML Nodes',
18+
defaultMessage: 'Active ML nodes',
1919
}),
2020
value: 0,
2121
show: true,

x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function NewJobButton() {
2929
>
3030
<FormattedMessage
3131
id="xpack.ml.jobsList.createNewJobButtonLabel"
32-
defaultMessage="Create new job"
32+
defaultMessage="Create job"
3333
/>
3434
</EuiButton>
3535
);

x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function getStatsBarData(jobsList: any) {
7272
const jobStats = {
7373
activeNodes: {
7474
label: i18n.translate('xpack.ml.overviewJobsList.statsBar.activeMLNodesLabel', {
75-
defaultMessage: 'Active ML Nodes',
75+
defaultMessage: 'Active ML nodes',
7676
}),
7777
value: 0,
7878
show: true,

x-pack/plugins/ml/public/application/services/job_service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class JobService {
4545
this.jobStats = {
4646
activeNodes: {
4747
label: i18n.translate('xpack.ml.jobService.activeMLNodesLabel', {
48-
defaultMessage: 'Active ML Nodes',
48+
defaultMessage: 'Active ML nodes',
4949
}),
5050
value: 0,
5151
show: true,

0 commit comments

Comments
 (0)