diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-01-23 07:55:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 14:55:56 -0800 |
commit | d51ad1fec94ef933eafe0e5f58fba810e349494b (patch) | |
tree | 776f780a9335cbbfbb8bee85b2f7136d58e25b80 /src/view/com/notifications/FeedItem.tsx | |
parent | abacc51b50653dbf96aaa6b5f0fe133ab386c135 (diff) | |
download | voidsky-d51ad1fec94ef933eafe0e5f58fba810e349494b.tar.zst |
Fix typos, improve localization and unify separators (#2502)
* Correct a typing error in `FeedItem.tsx` and replace the middle dot in `Drawer.tsx` with a bullet. * Bullet to middle dot * `liked your custom feed{0}` to `liked your custom feed {0}` * Revert "`liked your custom feed{0}` to `liked your custom feed {0}`" This reverts commit 43ae67bd03abad59b15dceb12a54255d7ad302e9. * Update FeedItem.tsx * Update country-codes.ts
Diffstat (limited to 'src/view/com/notifications/FeedItem.tsx')
-rw-r--r-- | src/view/com/notifications/FeedItem.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index e9d8b63e2..0dfac2a83 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -167,11 +167,9 @@ let FeedItem = ({ icon = 'user-plus' iconStyle = [s.blue3 as FontAwesomeIconStyle] } else if (item.type === 'feedgen-like') { - action = _( - msg`liked your custom feed${ - item.subjectUri ? ` '${new AtUri(item.subjectUri).rkey}'` : '' - }`, - ) + action = item.subjectUri + ? _(msg`liked your custom feed '${new AtUri(item.subjectUri).rkey}'`) + : _(msg`liked your custom feed`) icon = 'HeartIconSolid' iconStyle = [ s.likeColor as FontAwesomeIconStyle, |