Skip to content

Commit

Permalink
wording change
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson committed Aug 25, 2020
1 parent bb64937 commit 8fd9dbe
Showing 1 changed file with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ export class SavedObjectSaveModal extends React.Component<Props, SaveModalState>
title={
<FormattedMessage
id="savedObjects.saveModal.duplicateTitleLabel"
defaultMessage="'{title}' already exists."
values={{ objectType: this.props.objectType, title: this.state.title }}
defaultMessage="This {objectType} already exists"
values={{ objectType: this.props.objectType }}
/>
}
color="warning"
Expand All @@ -292,18 +292,9 @@ export class SavedObjectSaveModal extends React.Component<Props, SaveModalState>
<p>
<FormattedMessage
id="savedObjects.saveModal.duplicateTitleDescription"
defaultMessage="Saving this {objectType} creates a duplicate title."
defaultMessage="Saving '{title}' creates a duplicate title."
values={{
objectType: this.props.objectType,
confirmSaveLabel: (
<strong>
{this.props.confirmButtonLabel
? this.props.confirmButtonLabel
: i18n.translate('savedObjects.saveModal.saveButtonLabel', {
defaultMessage: 'Save',
})}
</strong>
),
title: this.props.title,
}}
/>
</p>
Expand Down

0 comments on commit 8fd9dbe

Please sign in to comment.