mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Update CCR auto follower copy (#57135)
* Update CCR auto follower copy. "pattern" -> "replication" * Update copy in test expectation Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
e0b7ffff69
commit
bdba16d92c
3 changed files with 5 additions and 5 deletions
|
@ -286,7 +286,7 @@ describe('<AutoFollowPatternList />', () => {
|
|||
actions.clickAutoFollowPatternAt(0);
|
||||
find('autoFollowPatternActionMenuButton').simulate('click');
|
||||
expect(exists('autoFollowPatternDetail.closeFlyoutButton')).toBe(true);
|
||||
expect(actions.getPatternsActionMenuItemText(0)).toEqual('Resume pattern');
|
||||
expect(actions.getPatternsActionMenuItemText(0)).toEqual('Resume replication');
|
||||
expect(actions.getPatternsActionMenuItemText(1)).toEqual('Edit pattern');
|
||||
expect(actions.getPatternsActionMenuItemText(2)).toEqual('Delete pattern');
|
||||
});
|
||||
|
|
|
@ -68,7 +68,7 @@ const AutoFollowPatternActionMenuUI: FunctionComponent<Props> = ({
|
|||
? patterns[0].active
|
||||
? {
|
||||
name: i18n.translate('xpack.crossClusterReplication.pauseAutoFollowPatternsLabel', {
|
||||
defaultMessage: 'Pause {total, plural, one {pattern} other {patterns}}',
|
||||
defaultMessage: 'Pause {total, plural, one {replication} other {replications}}',
|
||||
values: { total: patterns.length },
|
||||
}),
|
||||
icon: <EuiIcon type="pause" />,
|
||||
|
@ -79,7 +79,7 @@ const AutoFollowPatternActionMenuUI: FunctionComponent<Props> = ({
|
|||
}
|
||||
: {
|
||||
name: i18n.translate('xpack.crossClusterReplication.resumeAutoFollowPatternsLabel', {
|
||||
defaultMessage: 'Resume {total, plural, one {pattern} other {patterns}}',
|
||||
defaultMessage: 'Resume {total, plural, one {replication} other {replications}}',
|
||||
values: { total: patterns.length },
|
||||
}),
|
||||
icon: <EuiIcon type="play" />,
|
||||
|
|
|
@ -180,13 +180,13 @@ export class AutoFollowPatternTable extends PureComponent {
|
|||
? i18n.translate(
|
||||
'xpack.crossClusterReplication.autoFollowPatternList.table.actionPauseDescription',
|
||||
{
|
||||
defaultMessage: 'Pause auto-follow pattern',
|
||||
defaultMessage: 'Pause replication',
|
||||
}
|
||||
)
|
||||
: i18n.translate(
|
||||
'xpack.crossClusterReplication.autoFollowPatternList.table.actionResumeDescription',
|
||||
{
|
||||
defaultMessage: 'Resume auto-follow pattern',
|
||||
defaultMessage: 'Resume replication',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue