Skip to content

Commit

Permalink
moving check
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Mar 18, 2020
1 parent 9887bb7 commit 74e32e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x-pack/plugins/ml/common/types/categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ export interface FieldExampleCheck {
}

export const VALIDATION_CHECK_DESCRIPTION = {
[VALIDATION_RESULT.NO_EXAMPLES]: i18n.translate(
'xpack.ml.models.jobService.categorization.messages.validNoDataFound',
{
defaultMessage: 'Examples were successfully loaded.',
}
),
[VALIDATION_RESULT.FAILED_TO_TOKENIZE]: i18n.translate(
'xpack.ml.models.jobService.categorization.messages.validFailureToGetTokens',
{
Expand All @@ -81,12 +87,6 @@ export const VALIDATION_CHECK_DESCRIPTION = {
defaultMessage: 'Less than 25% of the examples loaded were null.',
}
),
[VALIDATION_RESULT.NO_EXAMPLES]: i18n.translate(
'xpack.ml.models.jobService.categorization.messages.validNoDataFound',
{
defaultMessage: 'Examples were successfully loaded.',
}
),
[VALIDATION_RESULT.TOO_MANY_TOKENS]: i18n.translate(
'xpack.ml.models.jobService.categorization.messages.validTooManyTokens',
{
Expand Down

0 comments on commit 74e32e0

Please sign in to comment.