Skip to content

Commit

Permalink
text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Oct 18, 2021
1 parent 5626439 commit 489f0e3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const ChangeDataViewModal: FC<Props> = ({ onClose }) => {
<EuiCallOut color="warning">
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.step0.description"
defaultMessage="Changing the current Data view may cause problems with current job configuration as it may not contain the same fields."
defaultMessage="Changing the current data view may cause problems with the current job configuration as it may not contain the same fields."
/>
</EuiCallOut>

Expand Down Expand Up @@ -170,7 +170,7 @@ export const ChangeDataViewModal: FC<Props> = ({ onClose }) => {
<>
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.step1.title"
defaultMessage="Select new Data view for job"
defaultMessage="Select new data view for job"
/>

<EuiSpacer size="s" />
Expand Down Expand Up @@ -218,7 +218,7 @@ export const ChangeDataViewModal: FC<Props> = ({ onClose }) => {
<EuiLoadingSpinner />
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.step2.validatingText"
defaultMessage=" Checking compatibility of Data view with job"
defaultMessage=" Checking compatibility of data view with job"
/>
</>
) : (
Expand Down Expand Up @@ -281,7 +281,7 @@ const ValidationMessage: FC<{
>
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.validation.noDetectors.message"
defaultMessage="No detectors have been configured, so changing to this Data view should be ok."
defaultMessage="No detectors have been configured, so changing to this data view should be ok."
/>
</EuiCallOut>
);
Expand All @@ -300,7 +300,7 @@ const ValidationMessage: FC<{
>
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.validation.valid.message"
defaultMessage="This Data view appears to be a good match for this job."
defaultMessage="This data view appears to be a good match for this job."
/>
</EuiCallOut>
);
Expand All @@ -317,7 +317,7 @@ const ValidationMessage: FC<{
>
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.validation.possiblyInvalid.message"
defaultMessage="This Data view produced no results when previewing the datafeed. This could be due to there being no documents in {dataViewTitle}."
defaultMessage="This data view produced no results when previewing the datafeed. This could be due to there being no documents in {dataViewTitle}."
values={{ dataViewTitle }}
/>
</EuiCallOut>
Expand All @@ -336,7 +336,7 @@ const ValidationMessage: FC<{
>
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.validation.invalid.message"
defaultMessage="This Data view produced an error when attempting preview the datafeed. This could be due to fields selected for this job not existing in {dataViewTitle}."
defaultMessage="This data view produced an error when attempting preview the datafeed. This could be due to fields selected for this job not existing in {dataViewTitle}."
values={{ dataViewTitle }}
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const ChangeDataView: FC<{ isDisabled: boolean }> = ({ isDisabled }) => {
>
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.changeDataView.button"
defaultMessage="Change Data view"
defaultMessage="Change data view"
/>
</EuiButtonEmpty>
</Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { FormattedMessage } from '@kbn/i18n/react';
import { EuiDescribedFormGroup, EuiFormRow } from '@elastic/eui';

export const Description: FC = memo(({ children }) => {
const title = i18n.translate('xpack.ml.newJob.wizard.datafeedStep.timeField.title', {
const title = i18n.translate('xpack.ml.newJob.wizard.datafeedStep.dataView.title', {
defaultMessage: 'Data view',
});
return (
Expand All @@ -20,7 +20,7 @@ export const Description: FC = memo(({ children }) => {
description={
<FormattedMessage
id="xpack.ml.newJob.wizard.datafeedStep.dataView.description"
defaultMessage="The currently selected Data view being used for this job. Change this text."
defaultMessage="The currently selected data view being used for this job."
/>
}
>
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/ml/server/routes/job_validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export function jobValidationRoutes({ router, mlLicense, routeGuard }: RouteInit
*
* @api {post} /api/ml/validate/datafeed_preview Validates datafeed preview
* @apiName ValidateDataFeedPreview
* @apiDescription Validates that the job preview runs successfully
* @apiDescription Validates that the datafeed preview runs successfully and produces results
*
* @apiSchema (body) validateDatafeedPreviewSchema
*/
Expand Down

0 comments on commit 489f0e3

Please sign in to comment.