Skip to content

Commit

Permalink
Ensure translation IDs are unique
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Aug 9, 2023
1 parent 2cce98f commit 19a926b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -651,13 +651,13 @@ const getIntegrationNameError = (
const getDatasetNameError = (datasetName: string, touched: boolean) => {
if (touched && isEmpty(datasetName)) {
return i18n.translate(
'xpack.observability_onboarding.configureLogs.dataset.error',
'xpack.observability_onboarding.configureLogs.dataset.emptyError',
{ defaultMessage: 'A dataset name is required.' }
);
}
if (touched && !isLowerCase(datasetName)) {
return i18n.translate(
'xpack.observability_onboarding.configureLogs.dataset.error',
'xpack.observability_onboarding.configureLogs.dataset.lowercaseError',
{ defaultMessage: 'A dataset name should be lowercase.' }
);
}
Expand Down

0 comments on commit 19a926b

Please sign in to comment.