Skip to content

Commit

Permalink
Simplify messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Dec 18, 2024
1 parent e9fce7a commit 34a1575
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/components/interstitials/Trending.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function Inner() {
</View>

<Button
label={_(msg`Hide trending topics from your feed`)}
label={_(msg`Hide trending topics`)}
size="tiny"
variant="outline"
color="secondary"
Expand Down Expand Up @@ -102,9 +102,7 @@ export function Inner() {
<Prompt.Basic
control={trendingPrompt}
title={_(msg`Hide trending topics?`)}
description={_(
msg`This will disable trending topics for all accounts on this device. You can update this later from your settings.`,
)}
description={_(msg`You can update this later from your settings.`)}
confirmButtonCta={_(msg`Hide`)}
onConfirm={() => setTrendingDisabled(true)}
/>
Expand Down
6 changes: 2 additions & 4 deletions src/view/shell/desktop/SidebarTrendingTopics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Inner() {
<Trans>Trending</Trans>
</Text>
<Button
label={_(msg`Hide trending topics from your sidebar`)}
label={_(msg`Hide trending topics`)}
size="tiny"
variant="ghost"
color="secondary"
Expand Down Expand Up @@ -94,9 +94,7 @@ function Inner() {
<Prompt.Basic
control={trendingPrompt}
title={_(msg`Hide trending topics?`)}
description={_(
msg`This will disable trending topics for all accounts on this device. You can update this later from your settings.`,
)}
description={_(msg`You can update this later from your settings.`)}
confirmButtonCta={_(msg`Hide`)}
onConfirm={() => setTrendingDisabled(true)}
/>
Expand Down

0 comments on commit 34a1575

Please sign in to comment.