Skip to content

Commit

Permalink
update wording
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Oct 30, 2020
1 parent 44a6cac commit d770bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const SaveTimelineButton = React.memo<SaveTimelineComponentProps>(
</EuiOverlayMask>
</>
) : (
<EuiToolTip content={toolTip || ''} data-test-subj="save-timeline-btn-tooltip">
<EuiToolTip content={toolTip ?? ''} data-test-subj="save-timeline-btn-tooltip">
{saveTimelineButtonIcon}
</EuiToolTip>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ export const CLOSE_MODAL = i18n.translate(
export const UNSAVED_TIMELINE_WARNING = (timelineType: TimelineTypeLiteral) =>
i18n.translate('xpack.securitySolution.timeline.saveTimeline.modal.warning.title', {
values: { timeline: timelineType === TimelineType.template ? 'timeline template' : 'timeline' },
defaultMessage: 'You have an unsaved {timeline}, do you wish to save it?',
defaultMessage: 'You have an unsaved {timeline}. Do you wish to save it?',
});

0 comments on commit d770bcf

Please sign in to comment.