Skip to content

Commit

Permalink
fixing translation ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Jul 21, 2021
1 parent 62f8068 commit a95b667
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -108,7 +108,6 @@ export const ExportJobsFlyout: FC<Props> = ({ isDisabled, currentTab }) => {
setExporting(true);
const title = i18n.translate('xpack.ml.importExport.exportFlyout.exportDownloading', {
defaultMessage: 'Your file is downloading in the background',
values: { count: selectedJobIds.length },
});
displaySuccessToast(title);

Expand Down
Expand Up @@ -239,7 +239,7 @@ export const ImportJobsFlyout: FC<Props> = ({ isDisabled }) => {
}, []);

const displayImportErrorToast = useCallback((errors: ErrorType[]) => {
const title = i18n.translate('xpack.ml.importExport.importFlyout.importJobSuccessToast', {
const title = i18n.translate('xpack.ml.importExport.importFlyout.importJobErrorToast', {
defaultMessage: '{count, plural, one {# job} other {# jobs}} failed to import correctly',
values: { count: errors.length },
});
Expand Down

0 comments on commit a95b667

Please sign in to comment.