[ML] Amends New job from index pattern UI text (#64667)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
This commit is contained in:
parent
fc6c78f53e
commit
aad9dafb3d
|
@ -22,7 +22,7 @@ export const Description: FC = memo(({ children }) => {
|
|||
description={
|
||||
<FormattedMessage
|
||||
id="xpack.ml.newJob.wizard.jobDetailsStep.advancedSection.useDedicatedIndex.description"
|
||||
defaultMessage="Select to store results in a separate index for this job."
|
||||
defaultMessage="Store results in a separate index for this job."
|
||||
/>
|
||||
}
|
||||
>
|
||||
|
|
|
@ -109,7 +109,7 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({
|
|||
description={
|
||||
<FormattedMessage
|
||||
id="xpack.ml.tooltips.newJobRecognizerJobPrefixTooltip"
|
||||
defaultMessage="A prefix which will be added to the beginning of each job ID."
|
||||
defaultMessage="The prefix is added to the beginning of each job ID."
|
||||
/>
|
||||
}
|
||||
>
|
||||
|
@ -230,7 +230,7 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({
|
|||
description={
|
||||
<FormattedMessage
|
||||
id="xpack.ml.tooltips.newJobDedicatedIndexTooltip"
|
||||
defaultMessage="Select to store results in a separate index for this job."
|
||||
defaultMessage="Store results in a separate index for this job."
|
||||
/>
|
||||
}
|
||||
>
|
||||
|
@ -263,7 +263,7 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({
|
|||
onSubmit(formState);
|
||||
}}
|
||||
aria-label={i18n.translate('xpack.ml.newJob.recognize.createJobButtonAriaLabel', {
|
||||
defaultMessage: 'Create Job',
|
||||
defaultMessage: 'Create job',
|
||||
})}
|
||||
>
|
||||
{saveState === SAVE_STATE.NOT_SAVED && (
|
||||
|
|
|
@ -34,3 +34,10 @@ export const DATA_VISUALIZER_BREADCRUMB: ChromeBreadcrumb = Object.freeze({
|
|||
}),
|
||||
href: '#/datavisualizer',
|
||||
});
|
||||
|
||||
export const CREATE_JOB_BREADCRUMB: ChromeBreadcrumb = Object.freeze({
|
||||
text: i18n.translate('xpack.ml.createJobsBreadcrumbLabel', {
|
||||
defaultMessage: 'Create jobs',
|
||||
}),
|
||||
href: '#/jobs/new_job',
|
||||
});
|
||||
|
|
|
@ -13,14 +13,19 @@ import { basicResolvers } from '../../resolvers';
|
|||
import { Page } from '../../../jobs/new_job/recognize';
|
||||
import { checkViewOrCreateJobs } from '../../../jobs/new_job/recognize/resolvers';
|
||||
import { mlJobService } from '../../../services/job_service';
|
||||
import { ANOMALY_DETECTION_BREADCRUMB, ML_BREADCRUMB } from '../../breadcrumbs';
|
||||
import {
|
||||
ANOMALY_DETECTION_BREADCRUMB,
|
||||
CREATE_JOB_BREADCRUMB,
|
||||
ML_BREADCRUMB,
|
||||
} from '../../breadcrumbs';
|
||||
|
||||
const breadcrumbs = [
|
||||
ML_BREADCRUMB,
|
||||
ANOMALY_DETECTION_BREADCRUMB,
|
||||
CREATE_JOB_BREADCRUMB,
|
||||
{
|
||||
text: i18n.translate('xpack.ml.jobsBreadcrumbs.selectIndexOrSearchLabelRecognize', {
|
||||
defaultMessage: 'Select index or search',
|
||||
defaultMessage: 'Recognized index',
|
||||
}),
|
||||
href: '',
|
||||
},
|
||||
|
|
|
@ -16,20 +16,17 @@ import { JOB_TYPE } from '../../../../../common/constants/new_job';
|
|||
import { mlJobService } from '../../../services/job_service';
|
||||
import { loadNewJobCapabilities } from '../../../services/new_job_capabilities_service';
|
||||
import { checkCreateJobsCapabilitiesResolver } from '../../../capabilities/check_capabilities';
|
||||
import { ANOMALY_DETECTION_BREADCRUMB, ML_BREADCRUMB } from '../../breadcrumbs';
|
||||
import {
|
||||
ANOMALY_DETECTION_BREADCRUMB,
|
||||
CREATE_JOB_BREADCRUMB,
|
||||
ML_BREADCRUMB,
|
||||
} from '../../breadcrumbs';
|
||||
|
||||
interface WizardPageProps extends PageProps {
|
||||
jobType: JOB_TYPE;
|
||||
}
|
||||
|
||||
const createJobBreadcrumbs = {
|
||||
text: i18n.translate('xpack.ml.jobsBreadcrumbs.createJobLabel', {
|
||||
defaultMessage: 'Create job',
|
||||
}),
|
||||
href: '#/jobs/new_job',
|
||||
};
|
||||
|
||||
const baseBreadcrumbs = [ML_BREADCRUMB, ANOMALY_DETECTION_BREADCRUMB, createJobBreadcrumbs];
|
||||
const baseBreadcrumbs = [ML_BREADCRUMB, ANOMALY_DETECTION_BREADCRUMB, CREATE_JOB_BREADCRUMB];
|
||||
|
||||
const singleMetricBreadcrumbs = [
|
||||
...baseBreadcrumbs,
|
||||
|
|
|
@ -9781,7 +9781,6 @@
|
|||
"xpack.ml.jobMessages.timeLabel": "時間",
|
||||
"xpack.ml.jobsBreadcrumbs.advancedConfigurationLabel": "高度な構成",
|
||||
"xpack.ml.jobsBreadcrumbs.categorizationLabel": "カテゴリー分け",
|
||||
"xpack.ml.jobsBreadcrumbs.createJobLabel": "ジョブを作成",
|
||||
"xpack.ml.jobsBreadcrumbs.jobWizardLabel": "ジョブを作成",
|
||||
"xpack.ml.jobsBreadcrumbs.multiMetricLabel": "マルチメトリック",
|
||||
"xpack.ml.jobsBreadcrumbs.populationLabel": "集団",
|
||||
|
|
|
@ -9787,7 +9787,6 @@
|
|||
"xpack.ml.jobMessages.timeLabel": "时间",
|
||||
"xpack.ml.jobsBreadcrumbs.advancedConfigurationLabel": "高级配置",
|
||||
"xpack.ml.jobsBreadcrumbs.categorizationLabel": "归类",
|
||||
"xpack.ml.jobsBreadcrumbs.createJobLabel": "创建作业",
|
||||
"xpack.ml.jobsBreadcrumbs.jobWizardLabel": "创建作业",
|
||||
"xpack.ml.jobsBreadcrumbs.multiMetricLabel": "多指标",
|
||||
"xpack.ml.jobsBreadcrumbs.populationLabel": "填充",
|
||||
|
|
Loading…
Reference in a new issue