Skip to content

Commit

Permalink
fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Oct 14, 2020
1 parent 9fee7f3 commit 030631f
Showing 1 changed file with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ const deployment = i18n.translate(

const i18nTexts = {
warm: {
title: i18n.translate('xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.title', {
defaultMessage: 'Create a warm tier',
}),
title: i18n.translate(
'xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.warmTierTitle',
{
defaultMessage: 'Create a warm tier',
}
),
body: (deploymentUrl?: string) => {
return (
<FormattedMessage
id="xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.body"
id="xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.warmTierBody"
defaultMessage="No warm nodes are available. Edit your Elastic {deployment} to set up a warm tier."
values={{
deployment: deploymentUrl ? (
Expand All @@ -43,13 +46,16 @@ const i18nTexts = {
},
},
cold: {
title: i18n.translate('xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.title', {
defaultMessage: 'Create a cold tier',
}),
title: i18n.translate(
'xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.coldTierTitle',
{
defaultMessage: 'Create a cold tier',
}
),
body: (deploymentUrl?: string) => {
return (
<FormattedMessage
id="xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.body"
id="xpack.indexLifecycleMgmt.editPolicy.cloudDataTierCallout.coldTierBody"
defaultMessage="No cold nodes are available. Edit your Elastic {deployment} to set up a cold tier."
values={{
deployment: deploymentUrl ? (
Expand Down

0 comments on commit 030631f

Please sign in to comment.