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>
This commit is contained in:
Eric Bailey
2025-07-21 20:49:49 -05:00
committed by GitHub
parent 8ce9bdb27e
commit 7635a49001
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -599,7 +599,9 @@ function FollowingFeed() {
fill={t.palette.white} fill={t.palette.white}
/> />
</View> </View>
<FeedCard.TitleAndByline title={_(msg`Following`)} /> <FeedCard.TitleAndByline
title={_(msg({message: 'Following', context: 'feed-name'}))}
/>
</FeedCard.Header> </FeedCard.Header>
</View> </View>
) )
+1 -1
View File
@@ -417,7 +417,7 @@ function FollowingFeedCard() {
</View> </View>
<View style={[a.flex_1, a.flex_row, a.gap_sm, a.align_center]}> <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]}> <NewText style={[a.text_sm, a.font_bold, a.leading_snug]}>
<Trans>Following</Trans> <Trans context="feed-name">Following</Trans>
</NewText> </NewText>
</View> </View>
</View> </View>