"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ERROR_TITLE = exports.ERROR_MESSAGE = exports.CORRELATIONS_SUPPRESSED_ALERTS = exports.CORRELATIONS_SESSION_ALERTS = exports.CORRELATIONS_SAME_SOURCE_ALERTS = exports.CORRELATIONS_RELATED_CASES = exports.CORRELATIONS_ANCESTRY_ALERTS = void 0; var _i18n = require("@kbn/i18n"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const ERROR_TITLE = title => _i18n.i18n.translate('xpack.securitySolution.flyout.errorTitle', { values: { title }, defaultMessage: 'Unable to display {title}' }); exports.ERROR_TITLE = ERROR_TITLE; const ERROR_MESSAGE = message => _i18n.i18n.translate('xpack.securitySolution.flyout.errorMessage', { values: { message }, defaultMessage: 'There was an error displaying {message}' }); exports.ERROR_MESSAGE = ERROR_MESSAGE; const CORRELATIONS_SUPPRESSED_ALERTS = count => _i18n.i18n.translate('xpack.securitySolution.flyout.documentDetails.correlations.suppressedAlerts', { defaultMessage: 'suppressed {count, plural, =1 {alert} other {alerts}}', values: { count } }); exports.CORRELATIONS_SUPPRESSED_ALERTS = CORRELATIONS_SUPPRESSED_ALERTS; const CORRELATIONS_ANCESTRY_ALERTS = count => _i18n.i18n.translate('xpack.securitySolution.flyout.documentDetails.correlations.ancestryAlerts', { defaultMessage: '{count, plural, one {alert} other {alerts}} related by ancestry', values: { count } }); exports.CORRELATIONS_ANCESTRY_ALERTS = CORRELATIONS_ANCESTRY_ALERTS; const CORRELATIONS_SAME_SOURCE_ALERTS = count => _i18n.i18n.translate('xpack.securitySolution.flyout.documentDetails.correlations.sourceAlerts', { defaultMessage: '{count, plural, one {alert} other {alerts}} related by source event', values: { count } }); exports.CORRELATIONS_SAME_SOURCE_ALERTS = CORRELATIONS_SAME_SOURCE_ALERTS; const CORRELATIONS_SESSION_ALERTS = count => _i18n.i18n.translate('xpack.securitySolution.flyout.documentDetails.correlations.sessionAlerts', { defaultMessage: '{count, plural, one {alert} other {alerts}} related by session', values: { count } }); exports.CORRELATIONS_SESSION_ALERTS = CORRELATIONS_SESSION_ALERTS; const CORRELATIONS_RELATED_CASES = count => _i18n.i18n.translate('xpack.securitySolution.flyout.documentDetails.correlations.relatedCases', { defaultMessage: 'related {count, plural, one {case} other {cases}}', values: { count } }); exports.CORRELATIONS_RELATED_CASES = CORRELATIONS_RELATED_CASES;