Skip to content

Commit

Permalink
Fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
clintandrewhall committed Mar 16, 2022
1 parent 0bb9bb2 commit 3494d5e
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,28 @@ export type ElasticAgentCardComponentProps = ElasticAgentCardProps & {
};

const noPermissionTitle = i18n.translate(
'sharedUX.noDataPage.elasticAgentCard.noPermission.title',
'sharedUXComponents.noDataPage.elasticAgentCard.noPermission.title',
{
defaultMessage: `Contact your administrator`,
}
);

const noPermissionDescription = i18n.translate(
'sharedUX.noDataPage.elasticAgentCard.noPermission.description',
'sharedUXComponents.noDataPage.elasticAgentCard.noPermission.description',
{
defaultMessage: `This integration is not yet enabled. Your administrator has the required permissions to turn it on.`,
}
);

const elasticAgentCardTitle = i18n.translate('sharedUX.noDataPage.elasticAgentCard.title', {
defaultMessage: 'Add Elastic Agent',
});
const elasticAgentCardTitle = i18n.translate(
'sharedUXComponents.noDataPage.elasticAgentCard.title',
{
defaultMessage: 'Add Elastic Agent',
}
);

const elasticAgentCardDescription = i18n.translate(
'sharedUX.noDataPage.elasticAgentCard.description',
'sharedUXComponents.noDataPage.elasticAgentCard.description',
{
defaultMessage: `Use Elastic Agent for a simple, unified way to collect data from your machines.`,
}
Expand Down

0 comments on commit 3494d5e

Please sign in to comment.