-
Notifications
You must be signed in to change notification settings - Fork 8.2k
/
release_badge.ts
29 lines (25 loc) · 1.29 KB
/
release_badge.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* 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.
*/
import { i18n } from '@kbn/i18n';
import type { RegistryRelease } from '../../../types';
export const RELEASE_BADGE_LABEL: { [key in Exclude<RegistryRelease, 'ga'>]: string } = {
beta: i18n.translate('xpack.fleet.epm.releaseBadge.betaLabel', {
defaultMessage: 'Beta',
}),
experimental: i18n.translate('xpack.fleet.epm.releaseBadge.experimentalLabel', {
defaultMessage: 'Technical preview',
}),
};
export const RELEASE_BADGE_DESCRIPTION: { [key in Exclude<RegistryRelease, 'ga'>]: string } = {
beta: i18n.translate('xpack.fleet.epm.releaseBadge.betaDescription', {
defaultMessage: 'This integration is not recommended for use in production environments.',
}),
experimental: i18n.translate('xpack.fleet.epm.releaseBadge.experimentalDescription', {
defaultMessage:
'This functionality is in technical preview and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.',
}),
};