Skip to content

Commit

Permalink
Convert 'data replication' -> 'replication'.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Jan 31, 2019
1 parent 0eba66d commit aaa62b0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ class Provider extends PureComponent {
const title = isSingle
? intl.formatMessage({
id: 'xpack.crossClusterReplication.pauseFollowerIndex.confirmModal.pauseSingleTitle',
defaultMessage: 'Pause data replication of follower index \'{name}\'?',
defaultMessage: 'Pause replication of follower index \'{name}\'?',
}, { name: indices[0].name })
: intl.formatMessage({
id: 'xpack.crossClusterReplication.pauseFollowerIndex.confirmModal.pauseMultipleTitle',
defaultMessage: 'Pause data replication of {count} follower indices?',
defaultMessage: 'Pause replication of {count} follower indices?',
}, { count: indices.length });
const hasCustomSettings = indices.some(index => !areAllSettingsDefault(index));

Expand All @@ -80,7 +80,7 @@ class Provider extends PureComponent {
buttonColor={hasCustomSettings ? 'danger' : 'primary'}
confirmButtonText={intl.formatMessage({
id: 'xpack.crossClusterReplication.pauseFollowerIndex.confirmModal.confirmButtonText',
defaultMessage: 'Pause data replication',
defaultMessage: 'Pause replication',
})}
onMouseOver={this.onMouseOverModal}
>
Expand All @@ -89,13 +89,13 @@ class Provider extends PureComponent {
{isSingle ? (
<FormattedMessage
id="xpack.crossClusterReplication.pauseFollowerIndex.confirmModal.singlePauseDescriptionWithSettingWarning"
defaultMessage="Pausing data replication of this follower index clears its custom
defaultMessage="Pausing replication of this follower index clears its custom
advanced settings."
/>
) : (
<FormattedMessage
id="xpack.crossClusterReplication.pauseFollowerIndex.confirmModal.multiplePauseDescriptionWithSettingWarning"
defaultMessage="Pausing data replication of a follower index clears its custom
defaultMessage="Pausing replication of a follower index clears its custom
advanced settings."
/>
)}
Expand All @@ -107,7 +107,7 @@ class Provider extends PureComponent {
<p>
<FormattedMessage
id="xpack.crossClusterReplication.pauseFollowerIndex.confirmModal.multiplePauseDescription"
defaultMessage="These follower indices will pause data replication:"
defaultMessage="These follower indices will pause replication:"
/>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ class Provider extends PureComponent {
const title = isSingle
? intl.formatMessage({
id: 'xpack.crossClusterReplication.resumeFollowerIndex.confirmModal.resumeSingleTitle',
defaultMessage: 'Resume data replication of follower index \'{name}\'?',
defaultMessage: 'Resume replication of follower index \'{name}\'?',
}, { name: ids[0] })
: intl.formatMessage({
id: 'xpack.crossClusterReplication.resumeFollowerIndex.confirmModal.resumeMultipleTitle',
defaultMessage: 'Resume data replication of {count} follower indices?',
defaultMessage: 'Resume replication of {count} follower indices?',
}, { count: ids.length });

return (
Expand All @@ -81,7 +81,7 @@ class Provider extends PureComponent {
confirmButtonText={
intl.formatMessage({
id: 'xpack.crossClusterReplication.resumeFollowerIndex.confirmModal.confirmButtonText',
defaultMessage: 'Resume data replication',
defaultMessage: 'Resume replication',
})
}
onMouseOver={this.onMouseOverModal}
Expand All @@ -90,7 +90,7 @@ class Provider extends PureComponent {
<p>
<FormattedMessage
id="xpack.crossClusterReplication.resumeFollowerIndex.confirmModal.singleResumeDescription"
defaultMessage="Data replication resumes using the default advanced settings. To use
defaultMessage="Replication resumes using the default advanced settings. To use
custom advanced settings, {editLink}."
values={{
editLink: (
Expand All @@ -109,14 +109,14 @@ class Provider extends PureComponent {
<p>
<FormattedMessage
id="xpack.crossClusterReplication.resumeFollowerIndex.confirmModal.multipleResumeDescriptionWithSettingWarning"
defaultMessage="Data replication resumes using the default advanced settings."
defaultMessage="Replication resumes using the default advanced settings."
/>
</p>

<p>
<FormattedMessage
id="xpack.crossClusterReplication.resumeFollowerIndex.confirmModal.multipleResumeDescription"
defaultMessage="These follower indices will resume data replication:"
defaultMessage="These follower indices will resume replication:"
/>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class ContextMenuUi extends PureComponent {
>
<FormattedMessage
id="xpack.crossClusterReplication.followerIndex.contextMenu.pauseLabel"
defaultMessage="Pause data replication"
defaultMessage="Pause replication"
/>
</EuiContextMenuItem>
)}
Expand All @@ -133,7 +133,7 @@ export class ContextMenuUi extends PureComponent {
>
<FormattedMessage
id="xpack.crossClusterReplication.followerIndex.contextMenu.resumeLabel"
defaultMessage="Resume data replication"
defaultMessage="Resume replication"
/>
</EuiContextMenuItem>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ export const FollowerIndicesTable = injectI18n(
const label = isPaused
? intl.formatMessage({
id: 'xpack.crossClusterReplication.followerIndexList.table.actionResumeDescription',
defaultMessage: 'Resume data replication',
defaultMessage: 'Resume replication',
})
: intl.formatMessage({
id: 'xpack.crossClusterReplication.followerIndexList.table.actionPauseDescription',
defaultMessage: 'Pause data replication',
defaultMessage: 'Pause replication',
});

return isPaused ? (
Expand Down

0 comments on commit aaa62b0

Please sign in to comment.