Simplify messages

This commit is contained in:
Dan Abramov
2024-12-18 01:14:03 +00:00
parent e9fce7ac83
commit 34a1575b9c
2 changed files with 4 additions and 8 deletions
+2 -4
View File
@@ -63,7 +63,7 @@ export function Inner() {
</View> </View>
<Button <Button
label={_(msg`Hide trending topics from your feed`)} label={_(msg`Hide trending topics`)}
size="tiny" size="tiny"
variant="outline" variant="outline"
color="secondary" color="secondary"
@@ -102,9 +102,7 @@ export function Inner() {
<Prompt.Basic <Prompt.Basic
control={trendingPrompt} control={trendingPrompt}
title={_(msg`Hide trending topics?`)} title={_(msg`Hide trending topics?`)}
description={_( description={_(msg`You can update this later from your settings.`)}
msg`This will disable trending topics for all accounts on this device. You can update this later from your settings.`,
)}
confirmButtonCta={_(msg`Hide`)} confirmButtonCta={_(msg`Hide`)}
onConfirm={() => setTrendingDisabled(true)} onConfirm={() => setTrendingDisabled(true)}
/> />
@@ -52,7 +52,7 @@ function Inner() {
<Trans>Trending</Trans> <Trans>Trending</Trans>
</Text> </Text>
<Button <Button
label={_(msg`Hide trending topics from your sidebar`)} label={_(msg`Hide trending topics`)}
size="tiny" size="tiny"
variant="ghost" variant="ghost"
color="secondary" color="secondary"
@@ -94,9 +94,7 @@ function Inner() {
<Prompt.Basic <Prompt.Basic
control={trendingPrompt} control={trendingPrompt}
title={_(msg`Hide trending topics?`)} title={_(msg`Hide trending topics?`)}
description={_( description={_(msg`You can update this later from your settings.`)}
msg`This will disable trending topics for all accounts on this device. You can update this later from your settings.`,
)}
confirmButtonCta={_(msg`Hide`)} confirmButtonCta={_(msg`Hide`)}
onConfirm={() => setTrendingDisabled(true)} onConfirm={() => setTrendingDisabled(true)}
/> />