Skip to content

Commit 5cbbe2e

Browse files
authored
fix(issues): Replace "ignore" with "archive" in modals (#88109)
1 parent 1148704 commit 5cbbe2e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

static/app/components/actions/ignore.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export function getIgnoreActions({
8383
<CustomIgnoreCountModal
8484
{...deps}
8585
onSelected={details => onCustomIgnore(details)}
86-
label={t('Ignore this issue until it occurs again\u2026')}
86+
label={t('Archive this issue until it occurs again\u2026')}
8787
countLabel={t('Number of times')}
8888
countName="ignoreCount"
8989
windowName="ignoreWindow"
@@ -96,7 +96,7 @@ export function getIgnoreActions({
9696
<CustomIgnoreCountModal
9797
{...deps}
9898
onSelected={details => onCustomIgnore(details)}
99-
label={t('Ignore this issue until it affects an additional\u2026')}
99+
label={t('Archive this issue until it affects an additional\u2026')}
100100
countLabel={t('Number of users')}
101101
countName="ignoreUserCount"
102102
windowName="ignoreUserWindow"

static/app/components/customIgnoreDurationModal.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ type Props = ModalRenderProps & {
1818
export default function CustomIgnoreDurationModal(props: Props) {
1919
const [dateWarning, setDateWarning] = useState<boolean>(false);
2020
const {Header, Body, Footer, onSelected, closeModal} = props;
21-
const label = t('Ignore this issue until \u2026');
2221

2322
const snoozeDateInputRef = useRef<HTMLInputElement>(null);
2423

@@ -67,7 +66,9 @@ export default function CustomIgnoreDurationModal(props: Props) {
6766

6867
return (
6968
<Fragment>
70-
<Header>{label}</Header>
69+
<Header>
70+
<h4>{t('Archive this issue until\u2026')}</h4>
71+
</Header>
7172
<Body>
7273
<form className="form-horizontal">
7374
<div className="control-group">

0 commit comments

Comments
 (0)