diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-05-07 11:58:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 19:58:04 -0700 |
commit | 2ea9e2c929d5ae013977fb3d2e962296364629ac (patch) | |
tree | 61c38e04dd5b06113265a94c90159be7dec4ce0d /src/screens/Profile/Header/Metrics.tsx | |
parent | 4fad18b2fa3c12ffdf1d49afac5228f7df658bc2 (diff) | |
download | voidsky-2ea9e2c929d5ae013977fb3d2e962296364629ac.tar.zst |
Improve localization marks (#3285)
* Update Lightbox.tsx * Change strings for easier localization * Update DeleteAccount.tsx * Update LabelsOnMeDialog.tsx * Update FeedCard.tsx * Update index.tsx * Update LabelsOnMeDialog.tsx * Update index.tsx * Update FeedCard.tsx * Update SelfLabel.tsx * Update Hashtag.tsx * Update index.tsx * Update Hashtag.tsx * Update ChangeHandle.tsx * Update index.web.tsx * Update index.web.tsx * Update index.tsx * Remove unnecessary `<Trans>` tags * Update Drawer.tsx
Diffstat (limited to 'src/screens/Profile/Header/Metrics.tsx')
-rw-r--r-- | src/screens/Profile/Header/Metrics.tsx | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/screens/Profile/Header/Metrics.tsx b/src/screens/Profile/Header/Metrics.tsx index 6d0a25182..864729684 100644 --- a/src/screens/Profile/Header/Metrics.tsx +++ b/src/screens/Profile/Header/Metrics.tsx @@ -50,21 +50,16 @@ export function ProfileHeaderMetrics({ style={[a.flex_row, t.atoms.text]} to={makeProfileLink(profile, 'follows')} label={_(msg`${following} following`)}> - <Trans> - <Text style={[a.font_bold, a.text_md]}>{following} </Text> - <Text style={[t.atoms.text_contrast_medium, a.text_md]}> - {pluralizedFollowings} - </Text> - </Trans> + <Text style={[a.font_bold, a.text_md]}>{following} </Text> + <Text style={[t.atoms.text_contrast_medium, a.text_md]}> + {pluralizedFollowings} + </Text> </InlineLinkText> <Text style={[a.font_bold, t.atoms.text, a.text_md]}> - <Trans> - {formatCount(profile.postsCount || 0)}{' '} - <Text - style={[t.atoms.text_contrast_medium, a.font_normal, a.text_md]}> - {plural(profile.postsCount || 0, {one: 'post', other: 'posts'})} - </Text> - </Trans> + {formatCount(profile.postsCount || 0)}{' '} + <Text style={[t.atoms.text_contrast_medium, a.font_normal, a.text_md]}> + {plural(profile.postsCount || 0, {one: 'post', other: 'posts'})} + </Text> </Text> </View> ) |