Skip to content

Commit

Permalink
Add i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Jul 9, 2020
1 parent c975e2c commit 35ad40c
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ const ThemedBreadcrumbs = styled(EuiBreadcrumbs)<{ background: string; text: str
}
`;

const betaBadgeLabel = i18n.translate(
'xpack.securitySolution.enpdoint.resolver.panelutils.betaBadgeLabel',
{
defaultMessage: 'BETA',
}
);

/**
* Breadcrumb menu with adjustments per direction from UX team
*/
Expand All @@ -55,7 +62,7 @@ export const StyledBreadcrumbs = memo(function StyledBreadcrumbs({
return (
<>
<BetaHeader>
<EuiBetaBadge label="BETA" />
<EuiBetaBadge label={betaBadgeLabel} />
</BetaHeader>
<ThemedBreadcrumbs
background={resolverEdge}
Expand Down

0 comments on commit 35ad40c

Please sign in to comment.