introduce context for "Following" as a feed name. (
#8262) (
#8690)
"Following" has different translations as a name of a feed and the state of following someone in other languages like Turkish. This allows "Following" as a feed name translated correctly.
(cherry picked from commit d92a7f163ed9e28ee4ebab230758b1f00bdd9966)
Co-authored-by: Sedat Kapanoğlu <sedat@kapanoglu.com>
2 files changed, 4 insertions, 2 deletions
diff --git a/src/view/screens/Feeds.tsx b/src/view/screens/Feeds.tsx
index ca0280116..1042ac7a1 100644
--- a/src/view/screens/Feeds.tsx
+++ b/src/view/screens/Feeds.tsx
@@ -599,7 +599,9 @@ function FollowingFeed() {
fill={t.palette.white}
/>
</View>
- <FeedCard.TitleAndByline title={_(msg`Following`)} />
+ <FeedCard.TitleAndByline
+ title={_(msg({message: 'Following', context: 'feed-name'}))}
+ />
</FeedCard.Header>
</View>
)
diff --git a/src/view/screens/SavedFeeds.tsx b/src/view/screens/SavedFeeds.tsx
index b244c7558..0e85bdf73 100644
--- a/src/view/screens/SavedFeeds.tsx
+++ b/src/view/screens/SavedFeeds.tsx
@@ -417,7 +417,7 @@ function FollowingFeedCard() {
</View>
<View style={[a.flex_1, a.flex_row, a.gap_sm, a.align_center]}>
<NewText style={[a.text_sm, a.font_bold, a.leading_snug]}>
- <Trans>Following</Trans>
+ <Trans context="feed-name">Following</Trans>
</NewText>
</View>
</View>
|