diff options
Diffstat (limited to 'src/view/screens/Profile.tsx')
-rw-r--r-- | src/view/screens/Profile.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index 21353e5d3..ae5270386 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -157,14 +157,14 @@ function ProfileScreenLoaded({ const showListsTab = hasSession && (isMe || extraInfoQuery.data?.hasLists) const sectionTitles = useMemo<string[]>(() => { return [ - 'Posts', - showRepliesTab ? 'Replies' : undefined, - 'Media', - showLikesTab ? 'Likes' : undefined, - showFeedsTab ? 'Feeds' : undefined, - showListsTab ? 'Lists' : undefined, + _(msg`Posts`), + showRepliesTab ? _(msg`Replies`) : undefined, + _(msg`Media`), + showLikesTab ? _(msg`Likes`) : undefined, + showFeedsTab ? _(msg`Feeds`) : undefined, + showListsTab ? _(msg`Lists`) : undefined, ].filter(Boolean) as string[] - }, [showRepliesTab, showLikesTab, showFeedsTab, showListsTab]) + }, [showRepliesTab, showLikesTab, showFeedsTab, showListsTab, _]) let nextIndex = 0 const postsIndex = nextIndex++ |