about summary refs log tree commit diff
path: root/src/view/screens
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-07-21 20:49:49 -0500
committerGitHub <noreply@github.com>2025-07-21 20:49:49 -0500
commit7635a490014cc2188791e821eeaf7e412b0a940d (patch)
tree726b8a1c305738d0480e90092f6b6ce049829d9a /src/view/screens
parent8ce9bdb27e61ba4207e8bf5da45b3cda1eb1899c (diff)
downloadvoidsky-7635a490014cc2188791e821eeaf7e412b0a940d.tar.zst
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>
Diffstat (limited to 'src/view/screens')
-rw-r--r--src/view/screens/Feeds.tsx4
-rw-r--r--src/view/screens/SavedFeeds.tsx2
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>