From 2121b5f86f5229914256c7a818086aaaf4c3581a Mon Sep 17 00:00:00 2001 From: Minseo Lee Date: Wed, 15 May 2024 14:44:59 +0900 Subject: [PATCH] Make more localizable (#3962) * Update ProfileList.tsx * Update NoFollowingFeed.tsx * Update LabelsOnMeDialog.tsx * Update LabelsOnMeDialog.tsx * Update NoFollowingFeed.tsx * Update SavedFeeds.tsx * Revert "Update SavedFeeds.tsx" This reverts commit db128eb27d76d27dffa87e0e70e34f603da75778. --- .../moderation/LabelsOnMeDialog.tsx | 8 +++---- src/screens/Feeds/NoFollowingFeed.tsx | 22 +++++++++---------- src/view/screens/ProfileList.tsx | 6 ++++- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index 858ac9ce..e98599b4 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -162,10 +162,10 @@ function Label({ {isSelfLabel ? ( - This label was applied by you + This label was applied by you. ) : ( - <> - Source:{' '} + + Source:{' '} - + )} diff --git a/src/screens/Feeds/NoFollowingFeed.tsx b/src/screens/Feeds/NoFollowingFeed.tsx index 03ced8eb..fa48cca7 100644 --- a/src/screens/Feeds/NoFollowingFeed.tsx +++ b/src/screens/Feeds/NoFollowingFeed.tsx @@ -33,18 +33,18 @@ export function NoFollowingFeed() { return ( - - Looks like you're missing a following feed.{' '} + + + Looks like you're missing a following feed.{' '} + + Click here to add one. + + - - - Click here to add one. - ) } diff --git a/src/view/screens/ProfileList.tsx b/src/view/screens/ProfileList.tsx index 6bbe63b9..de3c01ea 100644 --- a/src/view/screens/ProfileList.tsx +++ b/src/view/screens/ProfileList.tsx @@ -283,7 +283,11 @@ function Header({rkey, list}: {rkey: string; list: AppBskyGraphDefs.ListView}) { pinned, }, ]) - Toast.show(_(msg`${pinned ? 'Pinned to' : 'Unpinned from'} your feeds`)) + Toast.show( + pinned + ? _(msg`Pinned to your feeds`) + : _(msg`Unpinned from your feeds`), + ) } else { await addSavedFeeds([ {