diff --git a/static/app/components/events/eventReplay/replayClipSection.tsx b/static/app/components/events/eventReplay/replayClipSection.tsx index 0a744f665047da..188c55c01ab8b5 100644 --- a/static/app/components/events/eventReplay/replayClipSection.tsx +++ b/static/app/components/events/eventReplay/replayClipSection.tsx @@ -65,10 +65,13 @@ export function ReplayClipSection({event, group, replayId}: Props) { replayCount && replayCount > 1 ? (
- {t( - 'There are %s for this issue.', - tn('%s replay', '%s replays', replayCount ?? 0) - )} + {replayCount > 50 + ? t('There are 50+ replays fro this issue.') + : tn( + 'There is %s replay for this issue.', + 'there are %s replays for this issue.', + replayCount ?? 0 + )}
{allReplaysButton}
diff --git a/static/app/views/issueDetails/groupReplays/groupReplays.tsx b/static/app/views/issueDetails/groupReplays/groupReplays.tsx index b8984c4c865475..01eee36dd136f5 100644 --- a/static/app/views/issueDetails/groupReplays/groupReplays.tsx +++ b/static/app/views/issueDetails/groupReplays/groupReplays.tsx @@ -271,11 +271,17 @@ function GroupReplaysTable({ - {t( - 'There %s for this issue across %s.', - tn('is %s replay', 'are %s replays', replayCount ?? 0), - tn('%s event', '%s events', group.count) - )} + {replayCount ?? 0 > 50 + ? tn( + 'There are 50+ replays for this issue across %s event', + 'There are 50+ replays for this issue across %s events', + group.count + ) + : t( + 'There %s for this issue across %s.', + tn('is %s replay', 'are %s replays', replayCount ?? 0), + tn('%s event', '%s events', group.count) + )} {inner} diff --git a/static/app/views/issueDetails/streamline/eventNavigation.tsx b/static/app/views/issueDetails/streamline/eventNavigation.tsx index 88bfd14500569d..6d2eb6c3915450 100644 --- a/static/app/views/issueDetails/streamline/eventNavigation.tsx +++ b/static/app/views/issueDetails/streamline/eventNavigation.tsx @@ -220,7 +220,12 @@ export function IssueEventNavigation({event, group, query}: IssueEventNavigation key: Tab.REPLAYS, label: ( - {TabName[Tab.REPLAYS]} + {TabName[Tab.REPLAYS]}{' '} + {replaysCount > 50 ? ( + 50+ + ) : ( + + )} ), textValue: TabName[Tab.REPLAYS], diff --git a/static/app/views/issueDetails/streamline/replayBadge.tsx b/static/app/views/issueDetails/streamline/replayBadge.tsx index 304fb65c761c89..c87c02e6d54f6e 100644 --- a/static/app/views/issueDetails/streamline/replayBadge.tsx +++ b/static/app/views/issueDetails/streamline/replayBadge.tsx @@ -41,7 +41,9 @@ export function ReplayBadge({group, project}: {group: Group; project: Project}) }} aria-label={t("View this issue's replays")} > - {tn('%s Replay', '%s Replays', replaysCount)} + {replaysCount > 50 + ? t('50+ Replays') + : tn('%s Replay', '%s Replays', replaysCount)} );