this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

s/Favourite/Like

Poll: https://mastodon.social/@cheeaun/111272668719225402

+33 -29
+6 -2
src/components/keyboard-shortcuts-help.jsx
··· 135 135 keys: <kbd>r</kbd>, 136 136 }, 137 137 { 138 - action: 'Favourite', 139 - keys: <kbd>f</kbd>, 138 + action: 'Like (favourite)', 139 + keys: ( 140 + <> 141 + <kbd>l</kbd> or <kbd>f</kbd> 142 + </> 143 + ), 140 144 }, 141 145 { 142 146 action: 'Boost',
+1 -1
src/components/nav-menu.jsx
··· 192 192 <Icon icon="bookmark" size="l" /> <span>Bookmarks</span> 193 193 </MenuLink> 194 194 <MenuLink to="/f"> 195 - <Icon icon="heart" size="l" /> <span>Favourites</span> 195 + <Icon icon="heart" size="l" /> <span>Likes</span> 196 196 </MenuLink> 197 197 </> 198 198 )}
+8 -8
src/components/notification.jsx
··· 49 49 reblog_reply: 'boosted your reply.', 50 50 follow: 'followed you.', 51 51 follow_request: 'requested to follow you.', 52 - favourite: 'favourited your post.', 53 - 'favourite+account': (count) => `favourited ${count} of your posts.`, 54 - favourite_reply: 'favourited your reply.', 52 + favourite: 'liked your post.', 53 + 'favourite+account': (count) => `liked ${count} of your posts.`, 54 + favourite_reply: 'liked your reply.', 55 55 poll: 'A poll you have voted in or created has ended.', 56 56 'poll-self': 'A poll you have created has ended.', 57 57 'poll-voted': 'A poll you have voted in has ended.', 58 58 update: 'A post you interacted with has been edited.', 59 - 'favourite+reblog': 'boosted & favourited your post.', 59 + 'favourite+reblog': 'boosted & liked your post.', 60 60 'favourite+reblog+account': (count) => 61 - `boosted & favourited ${count} of your posts.`, 62 - 'favourite+reblog_reply': 'boosted & favourited your reply.', 61 + `boosted & liked ${count} of your posts.`, 62 + 'favourite+reblog_reply': 'boosted & liked your reply.', 63 63 'admin.sign_up': 'signed up.', 64 64 'admin.report': (targetAccount) => <>reported {targetAccount}</>, 65 65 }; ··· 142 142 143 143 const genericAccountsHeading = 144 144 { 145 - 'favourite+reblog': 'Boosted/Favourited by…', 146 - favourite: 'Favourited by…', 145 + 'favourite+reblog': 'Boosted/Liked by…', 146 + favourite: 'Liked by…', 147 147 reblog: 'Boosted by…', 148 148 follow: 'Followed by…', 149 149 }[type] || 'Accounts';
+2 -2
src/components/shortcuts-settings.jsx
··· 46 46 search: 'Search', 47 47 'account-statuses': 'Account', 48 48 bookmarks: 'Bookmarks', 49 - favourites: 'Favourites', 49 + favourites: 'Likes', 50 50 hashtag: 'Hashtag', 51 51 trending: 'Trending', 52 52 mentions: 'Mentions', ··· 178 178 }, 179 179 favourites: { 180 180 id: 'favourites', 181 - title: 'Favourites', 181 + title: 'Likes', 182 182 path: '/f', 183 183 icon: 'heart', 184 184 },
+11 -11
src/components/status.jsx
··· 512 512 )}{' '} 513 513 {favouritesCount > 0 && ( 514 514 <span> 515 - <Icon icon="heart" alt="Favourites" size="s" />{' '} 515 + <Icon icon="heart" alt="Likes" size="s" />{' '} 516 516 <span>{shortenNumber(favouritesCount)}</span> 517 517 </span> 518 518 )} ··· 550 550 <MenuItem onClick={() => setShowReactions(true)}> 551 551 <Icon icon="react" /> 552 552 <span> 553 - Boosted/Favourited by<span class="more-insignificant">…</span> 553 + Boosted/Liked by<span class="more-insignificant">…</span> 554 554 </span> 555 555 </MenuItem> 556 556 )} ··· 603 603 if (!isSizeLarge) { 604 604 showToast( 605 605 favourited 606 - ? `Unfavourited @${username || acct}'s post` 607 - : `Favourited @${username || acct}'s post`, 606 + ? `Unliked @${username || acct}'s post` 607 + : `Liked @${username || acct}'s post`, 608 608 ); 609 609 } 610 610 } catch (e) {} ··· 616 616 color: favourited && 'var(--favourite-color)', 617 617 }} 618 618 /> 619 - <span>{favourited ? 'Unfavourite' : 'Favourite'}</span> 619 + <span>{favourited ? 'Unlike' : 'Like'}</span> 620 620 </MenuItem> 621 621 </div> 622 622 <div class="menu-horizontal"> ··· 836 836 enabled: hotkeysEnabled, 837 837 }); 838 838 const fRef = useHotkeys( 839 - 'f', 839 + 'f, l', 840 840 () => { 841 841 try { 842 842 favouriteStatus(); 843 843 if (!isSizeLarge) { 844 844 showToast( 845 845 favourited 846 - ? `Unfavourited @${username || acct}'s post` 847 - : `Favourited @${username || acct}'s post`, 846 + ? `Unliked @${username || acct}'s post` 847 + : `Liked @${username || acct}'s post`, 848 848 ); 849 849 } 850 850 } catch (e) {} ··· 1528 1528 <div class="action has-count"> 1529 1529 <StatusButton 1530 1530 checked={favourited} 1531 - title={['Favourite', 'Unfavourite']} 1532 - alt={['Favourite', 'Favourited']} 1531 + title={['Like', 'Unlike']} 1532 + alt={['Like', 'Liked']} 1533 1533 class="favourite-button" 1534 1534 icon="heart" 1535 1535 count={favouritesCount} ··· 1962 1962 </button> 1963 1963 )} 1964 1964 <header> 1965 - <h2>Boosted/Favourited by…</h2> 1965 + <h2>Boosted/Liked by…</h2> 1966 1966 </header> 1967 1967 <main> 1968 1968 {accounts.length > 0 ? (
+4 -4
src/pages/favourites.jsx
··· 7 7 const LIMIT = 20; 8 8 9 9 function Favourites() { 10 - useTitle('Favourites', '/f'); 10 + useTitle('Likes', '/f'); 11 11 const { masto, instance } = api(); 12 12 const favouritesIterator = useRef(); 13 13 async function fetchFavourites(firstLoad) { ··· 19 19 20 20 return ( 21 21 <Timeline 22 - title="Favourites" 22 + title="Likes" 23 23 id="favourites" 24 - emptyText="No favourites yet. Go favourite something!" 25 - errorText="Unable to load favourites" 24 + emptyText="No likes yet. Go like something!" 25 + errorText="Unable to load likes" 26 26 instance={instance} 27 27 fetchItems={fetchFavourites} 28 28 />
+1 -1
src/pages/settings.jsx
··· 727 727 }, 728 728 { 729 729 value: 'favourite', 730 - label: 'Favourites', 730 + label: 'Likes', 731 731 }, 732 732 { 733 733 value: 'reblog',