Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -1389,11 +1389,13 @@ export const getEuiContextMapping = (): EuiTokensObject => {
'core.euiDatePopoverContent.nowTabButtonEnd',
{ defaultMessage: 'Set end date and time to now' }
),
'euiAbsoluteTab.dateFormatError': ({ dateFormat }: EuiValues) =>
i18n.translate('core.euiAbsoluteTab.dateFormatError', {
defaultMessage: 'Allowed formats: {dateFormat}, ISO 8601, RFC 2822, or Unix timestamp.',
values: { dateFormat },
}),
'euiAbsoluteTab.dateFormatError': ({ dateFormat }: EuiValues) => (
<FormattedMessage
id="core.euiAbsoluteTab.dateFormatError"
defaultMessage="Allowed formats: {dateFormat}, ISO 8601, RFC 2822, or Unix timestamp."
values={{ dateFormat }}
/>
),
'euiRelativeTab.fullDescription': ({ unit }: EuiValues) =>
i18n.translate('core.euiRelativeTab.fullDescription', {
defaultMessage: 'The unit is changeable. Currently set to {unit}.',
Expand Down