Skip to content

Commit

Permalink
fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Sep 14, 2020
1 parent d91a960 commit 835333b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const i18nTexts = {
{ defaultMessage: 'No nodes assigned to the cold tier' }
),
body: i18n.translate(
'xpack.indexLifecycleMgmt.warmPhase.dataTier.defaultAllocationNotAvailableBody',
'xpack.indexLifecycleMgmt.coldPhase.dataTier.defaultAllocationNotAvailableBody',
{
defaultMessage:
'This policy will not complete allocation because there are no cold nodes. Assign at least one node to the cold tier.',
Expand Down Expand Up @@ -102,7 +102,7 @@ export const ColdPhase: FunctionComponent<Props> = ({
data-test-subj="enablePhaseSwitch-cold"
label={
<FormattedMessage
id="xpack.indexLifecycleMgmt.editPolicy.coldPhase.activateWarmPhaseSwitchLabel"
id="xpack.indexLifecycleMgmt.editPolicy.coldPhase.activateColdPhaseSwitchLabel"
defaultMessage="Activate cold phase"
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const i18nTexts = {
{ defaultMessage: 'No nodes assigned to the frozen tier' }
),
body: i18n.translate(
'xpack.indexLifecycleMgmt.warmPhase.dataTier.defaultAllocationNotAvailableBody',
'xpack.indexLifecycleMgmt.frozenPhase.dataTier.defaultAllocationNotAvailableBody',
{
defaultMessage:
'This policy will not complete allocation because there are no frozen nodes. Assign at least one node to the frozen tier.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const i18nTexts = {
title: i18n.translate('xpack.indexLifecycleMgmt.warmPhase.dataTier.title', {
defaultMessage: 'Move data to warm tier',
}),
description: i18n.translate('xpack.indexLifecycleMgmt.warmPhase.dataTier.title', {
description: i18n.translate('xpack.indexLifecycleMgmt.warmPhase.dataTier.description', {
defaultMessage: 'Store data accessed less frequently on less-costly hardware.',
}),
defaultAllocationNotAvailable: {
Expand Down

0 comments on commit 835333b

Please sign in to comment.