3 contexts of "Following"

This commit is contained in:
Lim Chee Aun 2024-10-14 22:55:52 +08:00
parent 9d5494e1c7
commit bcd7507603
5 changed files with 204 additions and 183 deletions

View file

@ -413,7 +413,7 @@ function AccountInfo({
<span></span> <Trans>Followers</Trans>
</div>
<div>
<span></span> <Trans>Following</Trans>
<span></span> <Trans id="following.stats">Following</Trans>
</div>
<div>
<span></span> <Trans>Posts</Trans>
@ -739,7 +739,10 @@ function AccountInfo({
// states.showAccount = false;
setTimeout(() => {
states.showGenericAccounts = {
heading: t`Following`,
heading: t({
id: 'following.stats',
message: 'Following',
}),
fetchAccounts: fetchFollowing,
instance,
excludeRelationshipAttrs: isSelf ? ['following'] : [],
@ -753,7 +756,7 @@ function AccountInfo({
<span title={followingCount}>
{shortenNumber(followingCount)}
</span>{' '}
<Trans>Following</Trans>
<Trans id="following.stats">Following</Trans>
<br />
</LinkOrDiv>
<LinkOrDiv

View file

@ -190,7 +190,7 @@ function NavMenu(props) {
<MenuLink to="/following">
<Icon icon="following" size="l" />{' '}
<span>
<Trans>Following</Trans>
<Trans id="following.title">Following</Trans>
</span>
</MenuLink>
)}

View file

@ -134,7 +134,10 @@ const fetchAccountTitle = pmem(async ({ id }) => {
export const SHORTCUTS_META = {
following: {
id: 'home',
title: (_, index) => (index === 0 ? t`Home` : t`Following`),
title: (_, index) =>
index === 0
? t`Home`
: t({ id: 'following.title', message: 'Following' }),
path: '/',
icon: 'home',
},

360
src/locales/en.po generated
View file

@ -42,24 +42,17 @@ msgid "Mutual"
msgstr ""
#: src/components/account-block.jsx:182
#: src/components/account-info.jsx:1677
#: src/components/account-info.jsx:1680
msgid "Requested"
msgstr ""
#: src/components/account-block.jsx:186
#: src/components/account-info.jsx:416
#: src/components/account-info.jsx:742
#: src/components/account-info.jsx:756
#: src/components/account-info.jsx:1668
#: src/components/nav-menu.jsx:193
#: src/components/shortcuts-settings.jsx:137
#: src/pages/following.jsx:20
#: src/pages/following.jsx:134
#: src/components/account-info.jsx:1671
msgid "Following"
msgstr ""
#: src/components/account-block.jsx:190
#: src/components/account-info.jsx:1059
#: src/components/account-info.jsx:1062
msgid "Follows you"
msgstr ""
@ -73,7 +66,7 @@ msgid "Verified"
msgstr ""
#: src/components/account-block.jsx:222
#: src/components/account-info.jsx:777
#: src/components/account-info.jsx:780
msgid "Joined <0>{0}</0>"
msgstr ""
@ -95,8 +88,15 @@ msgstr ""
msgid "Followers"
msgstr ""
#. js-lingui-explicit-id
#: src/components/account-info.jsx:416
#: src/components/account-info.jsx:742
#: src/components/account-info.jsx:759
msgid "following.stats"
msgstr "Following"
#: src/components/account-info.jsx:419
#: src/components/account-info.jsx:773
#: src/components/account-info.jsx:776
#: src/pages/account-statuses.jsx:484
#: src/pages/search.jsx:237
#: src/pages/search.jsx:384
@ -104,7 +104,7 @@ msgid "Posts"
msgstr ""
#: src/components/account-info.jsx:427
#: src/components/account-info.jsx:1115
#: src/components/account-info.jsx:1118
#: src/components/compose.jsx:2488
#: src/components/media-alt-modal.jsx:45
#: src/components/media-modal.jsx:283
@ -128,17 +128,17 @@ msgid "<0>{displayName}</0> has indicated that their new account is now:"
msgstr ""
#: src/components/account-info.jsx:584
#: src/components/account-info.jsx:1273
#: src/components/account-info.jsx:1276
msgid "Handle copied"
msgstr ""
#: src/components/account-info.jsx:587
#: src/components/account-info.jsx:1276
#: src/components/account-info.jsx:1279
msgid "Unable to copy handle"
msgstr ""
#: src/components/account-info.jsx:593
#: src/components/account-info.jsx:1282
#: src/components/account-info.jsx:1285
msgid "Copy handle"
msgstr ""
@ -159,28 +159,28 @@ msgid "In Memoriam"
msgstr ""
#: src/components/account-info.jsx:709
#: src/components/account-info.jsx:747
#: src/components/account-info.jsx:750
msgid "This user has chosen to not make this information available."
msgstr ""
#: src/components/account-info.jsx:802
#: src/components/account-info.jsx:805
msgid "{0} original posts, {1} replies, {2} boosts"
msgstr ""
#: src/components/account-info.jsx:818
#: src/components/account-info.jsx:821
msgid "{0, plural, one {{1, plural, one {Last 1 post in the past 1 day} other {Last 1 post in the past {2} days}}} other {{3, plural, one {Last {4} posts in the past 1 day} other {Last {5} posts in the past {6} days}}}}"
msgstr ""
#: src/components/account-info.jsx:831
#: src/components/account-info.jsx:834
msgid "{0, plural, one {Last 1 post in the past year(s)} other {Last {1} posts in the past year(s)}}"
msgstr ""
#: src/components/account-info.jsx:855
#: src/components/account-info.jsx:858
#: src/pages/catchup.jsx:70
msgid "Original"
msgstr ""
#: src/components/account-info.jsx:859
#: src/components/account-info.jsx:862
#: src/components/status.jsx:2233
#: src/pages/catchup.jsx:71
#: src/pages/catchup.jsx:1445
@ -190,7 +190,7 @@ msgstr ""
msgid "Replies"
msgstr ""
#: src/components/account-info.jsx:863
#: src/components/account-info.jsx:866
#: src/pages/catchup.jsx:72
#: src/pages/catchup.jsx:1447
#: src/pages/catchup.jsx:2068
@ -198,207 +198,207 @@ msgstr ""
msgid "Boosts"
msgstr ""
#: src/components/account-info.jsx:869
#: src/components/account-info.jsx:872
msgid "Post stats unavailable."
msgstr ""
#: src/components/account-info.jsx:900
#: src/components/account-info.jsx:903
msgid "View post stats"
msgstr ""
#: src/components/account-info.jsx:1063
#: src/components/account-info.jsx:1066
msgid "Last post: <0>{0}</0>"
msgstr ""
#: src/components/account-info.jsx:1077
#: src/components/account-info.jsx:1080
msgid "Muted"
msgstr ""
#: src/components/account-info.jsx:1082
#: src/components/account-info.jsx:1085
msgid "Blocked"
msgstr ""
#: src/components/account-info.jsx:1091
#: src/components/account-info.jsx:1094
msgid "Private note"
msgstr ""
#: src/components/account-info.jsx:1148
#: src/components/account-info.jsx:1151
msgid "Mention <0>@{username}</0>"
msgstr ""
#: src/components/account-info.jsx:1160
#: src/components/account-info.jsx:1163
msgid "Translate bio"
msgstr ""
#: src/components/account-info.jsx:1171
#: src/components/account-info.jsx:1174
msgid "Edit private note"
msgstr ""
#: src/components/account-info.jsx:1171
#: src/components/account-info.jsx:1174
msgid "Add private note"
msgstr ""
#: src/components/account-info.jsx:1191
#: src/components/account-info.jsx:1194
msgid "Notifications enabled for @{username}'s posts."
msgstr ""
#: src/components/account-info.jsx:1192
#: src/components/account-info.jsx:1195
msgid "Notifications disabled for @{username}'s posts."
msgstr ""
#: src/components/account-info.jsx:1204
#: src/components/account-info.jsx:1207
msgid "Disable notifications"
msgstr ""
#: src/components/account-info.jsx:1205
#: src/components/account-info.jsx:1208
msgid "Enable notifications"
msgstr ""
#: src/components/account-info.jsx:1222
#: src/components/account-info.jsx:1225
msgid "Boosts from @{username} enabled."
msgstr ""
#: src/components/account-info.jsx:1223
#: src/components/account-info.jsx:1226
msgid "Boosts from @{username} disabled."
msgstr ""
#: src/components/account-info.jsx:1234
#: src/components/account-info.jsx:1237
msgid "Disable boosts"
msgstr ""
#: src/components/account-info.jsx:1234
#: src/components/account-info.jsx:1237
msgid "Enable boosts"
msgstr ""
#: src/components/account-info.jsx:1250
#: src/components/account-info.jsx:1260
#: src/components/account-info.jsx:1861
#: src/components/account-info.jsx:1253
#: src/components/account-info.jsx:1263
#: src/components/account-info.jsx:1864
msgid "Add/Remove from Lists"
msgstr ""
#: src/components/account-info.jsx:1299
#: src/components/account-info.jsx:1302
#: src/components/status.jsx:1143
msgid "Link copied"
msgstr ""
#: src/components/account-info.jsx:1302
#: src/components/account-info.jsx:1305
#: src/components/status.jsx:1146
msgid "Unable to copy link"
msgstr ""
#: src/components/account-info.jsx:1308
#: src/components/shortcuts-settings.jsx:1056
#: src/components/account-info.jsx:1311
#: src/components/shortcuts-settings.jsx:1059
#: src/components/status.jsx:1152
#: src/components/status.jsx:3219
msgid "Copy"
msgstr ""
#: src/components/account-info.jsx:1323
#: src/components/shortcuts-settings.jsx:1074
#: src/components/account-info.jsx:1326
#: src/components/shortcuts-settings.jsx:1077
#: src/components/status.jsx:1168
msgid "Sharing doesn't seem to work."
msgstr ""
#: src/components/account-info.jsx:1329
#: src/components/account-info.jsx:1332
#: src/components/status.jsx:1174
msgid "Share…"
msgstr ""
#: src/components/account-info.jsx:1349
#: src/components/account-info.jsx:1352
msgid "Unmuted @{username}"
msgstr ""
#: src/components/account-info.jsx:1361
#: src/components/account-info.jsx:1364
msgid "Unmute <0>@{username}</0>"
msgstr ""
#: src/components/account-info.jsx:1377
#: src/components/account-info.jsx:1380
msgid "Mute <0>@{username}</0>…"
msgstr ""
#: src/components/account-info.jsx:1409
#: src/components/account-info.jsx:1412
msgid "Muted @{username} for {0}"
msgstr ""
#: src/components/account-info.jsx:1421
#: src/components/account-info.jsx:1424
msgid "Unable to mute @{username}"
msgstr ""
#: src/components/account-info.jsx:1442
#: src/components/account-info.jsx:1445
msgid "Remove <0>@{username}</0> from followers?"
msgstr ""
#: src/components/account-info.jsx:1462
#: src/components/account-info.jsx:1465
msgid "@{username} removed from followers"
msgstr ""
#: src/components/account-info.jsx:1474
#: src/components/account-info.jsx:1477
msgid "Remove follower…"
msgstr ""
#: src/components/account-info.jsx:1485
#: src/components/account-info.jsx:1488
msgid "Block <0>@{username}</0>?"
msgstr ""
#: src/components/account-info.jsx:1509
#: src/components/account-info.jsx:1512
msgid "Unblocked @{username}"
msgstr ""
#: src/components/account-info.jsx:1517
#: src/components/account-info.jsx:1520
msgid "Blocked @{username}"
msgstr ""
#: src/components/account-info.jsx:1525
#: src/components/account-info.jsx:1528
msgid "Unable to unblock @{username}"
msgstr ""
#: src/components/account-info.jsx:1527
#: src/components/account-info.jsx:1530
msgid "Unable to block @{username}"
msgstr ""
#: src/components/account-info.jsx:1537
#: src/components/account-info.jsx:1540
msgid "Unblock <0>@{username}</0>"
msgstr ""
#: src/components/account-info.jsx:1546
#: src/components/account-info.jsx:1549
msgid "Block <0>@{username}</0>…"
msgstr ""
#: src/components/account-info.jsx:1563
#: src/components/account-info.jsx:1566
msgid "Report <0>@{username}</0>…"
msgstr ""
#: src/components/account-info.jsx:1583
#: src/components/account-info.jsx:2094
#: src/components/account-info.jsx:1586
#: src/components/account-info.jsx:2097
msgid "Edit profile"
msgstr ""
#: src/components/account-info.jsx:1619
#: src/components/account-info.jsx:1622
msgid "Withdraw follow request?"
msgstr ""
#: src/components/account-info.jsx:1620
#: src/components/account-info.jsx:1623
msgid "Unfollow @{0}?"
msgstr ""
#: src/components/account-info.jsx:1671
#: src/components/account-info.jsx:1674
msgid "Unfollow…"
msgstr ""
#: src/components/account-info.jsx:1680
#: src/components/account-info.jsx:1683
msgid "Withdraw…"
msgstr ""
#: src/components/account-info.jsx:1687
#: src/components/account-info.jsx:1691
#: src/components/account-info.jsx:1690
#: src/components/account-info.jsx:1694
#: src/pages/hashtag.jsx:261
msgid "Follow"
msgstr ""
#: src/components/account-info.jsx:1802
#: src/components/account-info.jsx:1856
#: src/components/account-info.jsx:1989
#: src/components/account-info.jsx:2089
#: src/components/account-info.jsx:1805
#: src/components/account-info.jsx:1859
#: src/components/account-info.jsx:1992
#: src/components/account-info.jsx:2092
#: src/components/account-sheet.jsx:37
#: src/components/compose.jsx:818
#: src/components/compose.jsx:2444
@ -414,9 +414,9 @@ msgstr ""
#: src/components/media-modal.jsx:247
#: src/components/notification-service.jsx:156
#: src/components/report-modal.jsx:75
#: src/components/shortcuts-settings.jsx:227
#: src/components/shortcuts-settings.jsx:580
#: src/components/shortcuts-settings.jsx:780
#: src/components/shortcuts-settings.jsx:230
#: src/components/shortcuts-settings.jsx:583
#: src/components/shortcuts-settings.jsx:783
#: src/components/status.jsx:2944
#: src/components/status.jsx:3183
#: src/components/status.jsx:3681
@ -431,88 +431,88 @@ msgstr ""
msgid "Close"
msgstr ""
#: src/components/account-info.jsx:1807
#: src/components/account-info.jsx:1810
msgid "Translated Bio"
msgstr ""
#: src/components/account-info.jsx:1901
#: src/components/account-info.jsx:1904
msgid "Unable to remove from list."
msgstr ""
#: src/components/account-info.jsx:1902
#: src/components/account-info.jsx:1905
msgid "Unable to add to list."
msgstr ""
#: src/components/account-info.jsx:1921
#: src/components/account-info.jsx:1924
#: src/pages/lists.jsx:104
msgid "Unable to load lists."
msgstr ""
#: src/components/account-info.jsx:1925
#: src/components/account-info.jsx:1928
msgid "No lists."
msgstr ""
#: src/components/account-info.jsx:1936
#: src/components/account-info.jsx:1939
#: src/components/list-add-edit.jsx:37
#: src/pages/lists.jsx:58
msgid "New list"
msgstr ""
#: src/components/account-info.jsx:1994
#: src/components/account-info.jsx:1997
msgid "Private note about <0>@{0}</0>"
msgstr ""
#: src/components/account-info.jsx:2024
#: src/components/account-info.jsx:2027
msgid "Unable to update private note."
msgstr ""
#: src/components/account-info.jsx:2047
#: src/components/account-info.jsx:2217
#: src/components/account-info.jsx:2050
#: src/components/account-info.jsx:2220
msgid "Cancel"
msgstr ""
#: src/components/account-info.jsx:2052
#: src/components/account-info.jsx:2055
msgid "Save & close"
msgstr ""
#: src/components/account-info.jsx:2145
#: src/components/account-info.jsx:2148
msgid "Unable to update profile."
msgstr ""
#: src/components/account-info.jsx:2152
#: src/components/account-info.jsx:2155
#: src/components/list-add-edit.jsx:102
msgid "Name"
msgstr ""
#: src/components/account-info.jsx:2165
#: src/components/account-info.jsx:2168
msgid "Bio"
msgstr ""
#: src/components/account-info.jsx:2178
#: src/components/account-info.jsx:2181
msgid "Extra fields"
msgstr ""
#: src/components/account-info.jsx:2184
#: src/components/account-info.jsx:2187
msgid "Label"
msgstr ""
#: src/components/account-info.jsx:2187
#: src/components/account-info.jsx:2190
msgid "Content"
msgstr ""
#: src/components/account-info.jsx:2220
#: src/components/account-info.jsx:2223
#: src/components/list-add-edit.jsx:147
#: src/components/shortcuts-settings.jsx:712
#: src/components/shortcuts-settings.jsx:715
#: src/pages/filters.jsx:554
#: src/pages/notifications.jsx:934
msgid "Save"
msgstr ""
#: src/components/account-info.jsx:2273
#: src/components/account-info.jsx:2276
msgid "username"
msgstr ""
#: src/components/account-info.jsx:2277
#: src/components/account-info.jsx:2280
msgid "server domain name"
msgstr ""
@ -526,7 +526,7 @@ msgstr ""
#: src/components/columns.jsx:19
#: src/components/nav-menu.jsx:184
#: src/components/shortcuts-settings.jsx:137
#: src/components/shortcuts-settings.jsx:139
#: src/components/timeline.jsx:437
#: src/pages/catchup.jsx:876
#: src/pages/filters.jsx:89
@ -626,7 +626,7 @@ msgstr ""
#: src/components/compose.jsx:1196
#: src/components/nav-menu.jsx:386
#: src/components/shortcuts-settings.jsx:162
#: src/components/shortcuts-settings.jsx:165
#: src/components/status.jsx:94
msgid "Local"
msgstr ""
@ -737,7 +737,7 @@ msgstr ""
#: src/components/compose.jsx:2408
#: src/components/compose.jsx:2658
#: src/components/shortcuts-settings.jsx:723
#: src/components/shortcuts-settings.jsx:726
#: src/pages/catchup.jsx:1074
#: src/pages/filters.jsx:412
msgid "Remove"
@ -812,7 +812,7 @@ msgid "Search accounts"
msgstr ""
#: src/components/compose.jsx:2975
#: src/components/shortcuts-settings.jsx:712
#: src/components/shortcuts-settings.jsx:715
#: src/pages/list.jsx:359
msgid "Add"
msgstr ""
@ -1070,7 +1070,7 @@ msgstr ""
#: src/components/nav-menu.jsx:374
#: src/components/search-form.jsx:72
#: src/components/shortcuts-settings.jsx:52
#: src/components/shortcuts-settings.jsx:176
#: src/components/shortcuts-settings.jsx:179
#: src/pages/search.jsx:39
#: src/pages/search.jsx:209
msgid "Search"
@ -1244,6 +1244,14 @@ msgstr ""
msgid "New update available…"
msgstr ""
#. js-lingui-explicit-id
#: src/components/nav-menu.jsx:193
#: src/components/shortcuts-settings.jsx:140
#: src/pages/following.jsx:22
#: src/pages/following.jsx:141
msgid "following.title"
msgstr "Following"
#: src/components/nav-menu.jsx:200
#: src/pages/catchup.jsx:871
msgid "Catch-up"
@ -1251,7 +1259,7 @@ msgstr ""
#: src/components/nav-menu.jsx:207
#: src/components/shortcuts-settings.jsx:58
#: src/components/shortcuts-settings.jsx:143
#: src/components/shortcuts-settings.jsx:146
#: src/pages/home.jsx:224
#: src/pages/mentions.jsx:20
#: src/pages/mentions.jsx:167
@ -1262,7 +1270,7 @@ msgstr ""
#: src/components/nav-menu.jsx:214
#: src/components/shortcuts-settings.jsx:49
#: src/components/shortcuts-settings.jsx:149
#: src/components/shortcuts-settings.jsx:152
#: src/pages/filters.jsx:24
#: src/pages/home.jsx:84
#: src/pages/home.jsx:184
@ -1282,7 +1290,7 @@ msgstr ""
#: src/components/nav-menu.jsx:241
#: src/components/nav-menu.jsx:268
#: src/components/shortcuts-settings.jsx:50
#: src/components/shortcuts-settings.jsx:155
#: src/components/shortcuts-settings.jsx:158
#: src/pages/list.jsx:126
#: src/pages/lists.jsx:16
#: src/pages/lists.jsx:50
@ -1297,7 +1305,7 @@ msgstr ""
#: src/components/nav-menu.jsx:276
#: src/components/shortcuts-settings.jsx:54
#: src/components/shortcuts-settings.jsx:192
#: src/components/shortcuts-settings.jsx:195
#: src/pages/bookmarks.jsx:11
#: src/pages/bookmarks.jsx:23
msgid "Bookmarks"
@ -1305,7 +1313,7 @@ msgstr ""
#: src/components/nav-menu.jsx:296
#: src/components/shortcuts-settings.jsx:55
#: src/components/shortcuts-settings.jsx:198
#: src/components/shortcuts-settings.jsx:201
#: src/pages/catchup.jsx:1446
#: src/pages/catchup.jsx:2062
#: src/pages/favourites.jsx:11
@ -1357,13 +1365,13 @@ msgstr ""
#: src/components/nav-menu.jsx:380
#: src/components/shortcuts-settings.jsx:57
#: src/components/shortcuts-settings.jsx:169
#: src/components/shortcuts-settings.jsx:172
#: src/pages/trending.jsx:441
msgid "Trending"
msgstr ""
#: src/components/nav-menu.jsx:392
#: src/components/shortcuts-settings.jsx:162
#: src/components/shortcuts-settings.jsx:165
msgid "Federated"
msgstr ""
@ -1771,239 +1779,239 @@ msgstr ""
msgid "Media only"
msgstr ""
#: src/components/shortcuts-settings.jsx:232
#: src/components/shortcuts-settings.jsx:235
#: src/components/shortcuts.jsx:186
msgid "Shortcuts"
msgstr ""
#: src/components/shortcuts-settings.jsx:240
#: src/components/shortcuts-settings.jsx:243
msgid "beta"
msgstr ""
#: src/components/shortcuts-settings.jsx:246
#: src/components/shortcuts-settings.jsx:249
msgid "Specify a list of shortcuts that'll appear as:"
msgstr ""
#: src/components/shortcuts-settings.jsx:252
#: src/components/shortcuts-settings.jsx:255
msgid "Floating button"
msgstr ""
#: src/components/shortcuts-settings.jsx:257
#: src/components/shortcuts-settings.jsx:260
msgid "Tab/Menu bar"
msgstr ""
#: src/components/shortcuts-settings.jsx:262
#: src/components/shortcuts-settings.jsx:265
msgid "Multi-column"
msgstr ""
#: src/components/shortcuts-settings.jsx:329
#: src/components/shortcuts-settings.jsx:332
msgid "Not available in current view mode"
msgstr ""
#: src/components/shortcuts-settings.jsx:348
#: src/components/shortcuts-settings.jsx:351
msgid "Move up"
msgstr ""
#: src/components/shortcuts-settings.jsx:364
#: src/components/shortcuts-settings.jsx:367
msgid "Move down"
msgstr ""
#: src/components/shortcuts-settings.jsx:376
#: src/components/shortcuts-settings.jsx:379
#: src/components/status.jsx:1280
#: src/pages/list.jsx:170
msgid "Edit"
msgstr ""
#: src/components/shortcuts-settings.jsx:397
#: src/components/shortcuts-settings.jsx:400
msgid "Add more than one shortcut/column to make this work."
msgstr ""
#: src/components/shortcuts-settings.jsx:408
#: src/components/shortcuts-settings.jsx:411
msgid "No columns yet. Tap on the Add column button."
msgstr ""
#: src/components/shortcuts-settings.jsx:409
#: src/components/shortcuts-settings.jsx:412
msgid "No shortcuts yet. Tap on the Add shortcut button."
msgstr ""
#: src/components/shortcuts-settings.jsx:412
#: src/components/shortcuts-settings.jsx:415
msgid "Not sure what to add?<0/>Try adding <1>Home / Following and Notifications</1> first."
msgstr ""
#: src/components/shortcuts-settings.jsx:440
#: src/components/shortcuts-settings.jsx:443
msgid "Max {SHORTCUTS_LIMIT} columns"
msgstr ""
#: src/components/shortcuts-settings.jsx:441
#: src/components/shortcuts-settings.jsx:444
msgid "Max {SHORTCUTS_LIMIT} shortcuts"
msgstr ""
#: src/components/shortcuts-settings.jsx:455
#: src/components/shortcuts-settings.jsx:458
msgid "Import/export"
msgstr ""
#: src/components/shortcuts-settings.jsx:465
#: src/components/shortcuts-settings.jsx:468
msgid "Add column…"
msgstr ""
#: src/components/shortcuts-settings.jsx:466
#: src/components/shortcuts-settings.jsx:469
msgid "Add shortcut…"
msgstr ""
#: src/components/shortcuts-settings.jsx:513
#: src/components/shortcuts-settings.jsx:516
msgid "Specific list is optional. For multi-column mode, list is required, else the column will not be shown."
msgstr ""
#: src/components/shortcuts-settings.jsx:514
#: src/components/shortcuts-settings.jsx:517
msgid "For multi-column mode, search term is required, else the column will not be shown."
msgstr ""
#: src/components/shortcuts-settings.jsx:515
#: src/components/shortcuts-settings.jsx:518
msgid "Multiple hashtags are supported. Space-separated."
msgstr ""
#: src/components/shortcuts-settings.jsx:584
#: src/components/shortcuts-settings.jsx:587
msgid "Edit shortcut"
msgstr ""
#: src/components/shortcuts-settings.jsx:584
#: src/components/shortcuts-settings.jsx:587
msgid "Add shortcut"
msgstr ""
#: src/components/shortcuts-settings.jsx:620
#: src/components/shortcuts-settings.jsx:623
msgid "Timeline"
msgstr ""
#: src/components/shortcuts-settings.jsx:646
#: src/components/shortcuts-settings.jsx:649
msgid "List"
msgstr ""
#: src/components/shortcuts-settings.jsx:785
#: src/components/shortcuts-settings.jsx:788
msgid "Import/Export <0>Shortcuts</0>"
msgstr ""
#: src/components/shortcuts-settings.jsx:795
#: src/components/shortcuts-settings.jsx:798
msgid "Import"
msgstr ""
#: src/components/shortcuts-settings.jsx:803
#: src/components/shortcuts-settings.jsx:806
msgid "Paste shortcuts here"
msgstr ""
#: src/components/shortcuts-settings.jsx:819
#: src/components/shortcuts-settings.jsx:822
msgid "Downloading saved shortcuts from instance server…"
msgstr ""
#: src/components/shortcuts-settings.jsx:848
#: src/components/shortcuts-settings.jsx:851
msgid "Unable to download shortcuts"
msgstr ""
#: src/components/shortcuts-settings.jsx:851
#: src/components/shortcuts-settings.jsx:854
msgid "Download shortcuts from instance server"
msgstr ""
#: src/components/shortcuts-settings.jsx:909
#: src/components/shortcuts-settings.jsx:912
msgid "* Exists in current shortcuts"
msgstr ""
#: src/components/shortcuts-settings.jsx:914
#: src/components/shortcuts-settings.jsx:917
msgid "List may not work if it's from a different account."
msgstr ""
#: src/components/shortcuts-settings.jsx:924
#: src/components/shortcuts-settings.jsx:927
msgid "Invalid settings format"
msgstr ""
#: src/components/shortcuts-settings.jsx:932
#: src/components/shortcuts-settings.jsx:935
msgid "Append to current shortcuts?"
msgstr ""
#: src/components/shortcuts-settings.jsx:935
#: src/components/shortcuts-settings.jsx:938
msgid "Only shortcuts that dont exist in current shortcuts will be appended."
msgstr ""
#: src/components/shortcuts-settings.jsx:957
#: src/components/shortcuts-settings.jsx:960
msgid "No new shortcuts to import"
msgstr ""
#: src/components/shortcuts-settings.jsx:972
#: src/components/shortcuts-settings.jsx:975
msgid "Shortcuts imported. Exceeded max {SHORTCUTS_LIMIT}, so the rest are not imported."
msgstr ""
#: src/components/shortcuts-settings.jsx:973
#: src/components/shortcuts-settings.jsx:997
#: src/components/shortcuts-settings.jsx:976
#: src/components/shortcuts-settings.jsx:1000
msgid "Shortcuts imported"
msgstr ""
#: src/components/shortcuts-settings.jsx:983
#: src/components/shortcuts-settings.jsx:986
msgid "Import & append…"
msgstr ""
#: src/components/shortcuts-settings.jsx:991
#: src/components/shortcuts-settings.jsx:994
msgid "Override current shortcuts?"
msgstr ""
#: src/components/shortcuts-settings.jsx:992
#: src/components/shortcuts-settings.jsx:995
msgid "Import shortcuts?"
msgstr ""
#: src/components/shortcuts-settings.jsx:1006
#: src/components/shortcuts-settings.jsx:1009
msgid "or override…"
msgstr ""
#: src/components/shortcuts-settings.jsx:1006
#: src/components/shortcuts-settings.jsx:1009
msgid "Import…"
msgstr ""
#: src/components/shortcuts-settings.jsx:1015
#: src/components/shortcuts-settings.jsx:1018
msgid "Export"
msgstr ""
#: src/components/shortcuts-settings.jsx:1030
#: src/components/shortcuts-settings.jsx:1033
msgid "Shortcuts copied"
msgstr ""
#: src/components/shortcuts-settings.jsx:1033
#: src/components/shortcuts-settings.jsx:1036
msgid "Unable to copy shortcuts"
msgstr ""
#: src/components/shortcuts-settings.jsx:1047
#: src/components/shortcuts-settings.jsx:1050
msgid "Shortcut settings copied"
msgstr ""
#: src/components/shortcuts-settings.jsx:1050
#: src/components/shortcuts-settings.jsx:1053
msgid "Unable to copy shortcut settings"
msgstr ""
#: src/components/shortcuts-settings.jsx:1080
#: src/components/shortcuts-settings.jsx:1083
msgid "Share"
msgstr ""
#: src/components/shortcuts-settings.jsx:1119
#: src/components/shortcuts-settings.jsx:1122
msgid "Saving shortcuts to instance server…"
msgstr ""
#: src/components/shortcuts-settings.jsx:1126
#: src/components/shortcuts-settings.jsx:1129
msgid "Shortcuts saved"
msgstr ""
#: src/components/shortcuts-settings.jsx:1131
#: src/components/shortcuts-settings.jsx:1134
msgid "Unable to save shortcuts"
msgstr ""
#: src/components/shortcuts-settings.jsx:1134
#: src/components/shortcuts-settings.jsx:1137
msgid "Sync to instance server"
msgstr ""
#: src/components/shortcuts-settings.jsx:1142
#: src/components/shortcuts-settings.jsx:1145
msgid "{0, plural, one {# character} other {# characters}}"
msgstr ""
#: src/components/shortcuts-settings.jsx:1154
#: src/components/shortcuts-settings.jsx:1157
msgid "Raw Shortcuts JSON"
msgstr ""
#: src/components/shortcuts-settings.jsx:1167
#: src/components/shortcuts-settings.jsx:1170
msgid "Import/export settings from/to instance server (Very experimental)"
msgstr ""
@ -2899,11 +2907,11 @@ msgstr ""
msgid "No hashtags followed yet."
msgstr ""
#: src/pages/following.jsx:136
#: src/pages/following.jsx:143
msgid "Nothing to see here."
msgstr ""
#: src/pages/following.jsx:137
#: src/pages/following.jsx:144
#: src/pages/list.jsx:108
msgid "Unable to load posts."
msgstr ""

View file

@ -17,7 +17,14 @@ import useTitle from '../utils/useTitle';
const LIMIT = 20;
function Following({ title, path, id, ...props }) {
useTitle(title || t`Following`, path || '/following');
useTitle(
title ||
t({
id: 'following.title',
message: 'Following',
}),
path || '/following',
);
const { masto, streaming, instance } = api();
const snapStates = useSnapshot(states);
const homeIterator = useRef();
@ -131,7 +138,7 @@ function Following({ title, path, id, ...props }) {
return (
<Timeline
title={title || t`Following`}
title={title || t({ id: 'following.title', message: 'Following' })}
id={id || 'following'}
emptyText={t`Nothing to see here.`}
errorText={t`Unable to load posts.`}