Skip to content

Commit

Permalink
Fix i18n error
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Apr 7, 2020
1 parent 01a0184 commit 7e6eece
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,9 @@ export function getUiMessage(resolved: boolean = false): AlertCommonPerClusterMe
}),
};
}
const linkText = i18n.translate('xpack.monitoring.alerts.licenseExpiration.linkText', {
defaultMessage: 'Please update your license',
});
return {
text: i18n.translate('xpack.monitoring.alerts.licenseExpiration.ui.firingMessage', {
defaultMessage: `This cluster's license is going to expire in #relative at #absolute. #start_link{linkText}#end_link`,
values: {
linkText,
},
defaultMessage: `This cluster's license is going to expire in #relative at #absolute. #start_linkPlease update your license.#end_link`,
}),
tokens: [
{
Expand Down

0 comments on commit 7e6eece

Please sign in to comment.