Don't show endorsements inside account sheet

pull/1247/head
Lim Chee Aun 2025-08-23 19:44:15 +08:00
rodzic a1b3e7035a
commit f918094971
2 zmienionych plików z 42 dodań i 37 usunięć

Wyświetl plik

@ -1874,7 +1874,12 @@ function RelatedActions({
setRelationship(newRelationship);
// Show endorsements if start following
if (newRelationship.following) {
if (
showEndorsements &&
supportsEndorsements &&
!renderEndorsements &&
newRelationship.following
) {
setRenderEndorsements('onlyOpenIfHasEndorsements');
}
}

72
src/locales/en.po wygenerowano
Wyświetl plik

@ -43,12 +43,12 @@ msgid "Mutual"
msgstr ""
#: src/components/account-block.jsx:204
#: src/components/account-info.jsx:1907
#: src/components/account-info.jsx:1912
msgid "Requested"
msgstr ""
#: src/components/account-block.jsx:208
#: src/components/account-info.jsx:1898
#: src/components/account-info.jsx:1903
msgid "Following"
msgstr ""
@ -157,7 +157,7 @@ msgstr ""
#: src/components/account-info.jsx:681
#: src/components/account-info.jsx:1806
#: src/components/account-info.jsx:2332
#: src/components/account-info.jsx:2337
msgid "Edit profile"
msgstr ""
@ -338,7 +338,7 @@ msgstr "Show featured profiles"
#: src/components/account-info.jsx:1462
#: src/components/account-info.jsx:1472
#: src/components/account-info.jsx:2078
#: src/components/account-info.jsx:2083
msgid "Add/Remove from Lists"
msgstr ""
@ -444,24 +444,24 @@ msgstr "Withdraw follow request?"
msgid "Unfollow @{0}?"
msgstr "Unfollow @{0}?"
#: src/components/account-info.jsx:1901
#: src/components/account-info.jsx:1906
msgid "Unfollow…"
msgstr ""
#: src/components/account-info.jsx:1910
#: src/components/account-info.jsx:1915
msgid "Withdraw…"
msgstr ""
#: src/components/account-info.jsx:1917
#: src/components/account-info.jsx:1921
#: src/components/account-info.jsx:1922
#: src/components/account-info.jsx:1926
#: src/pages/hashtag.jsx:265
msgid "Follow"
msgstr ""
#: src/components/account-info.jsx:2018
#: src/components/account-info.jsx:2073
#: src/components/account-info.jsx:2207
#: src/components/account-info.jsx:2327
#: src/components/account-info.jsx:2023
#: src/components/account-info.jsx:2078
#: src/components/account-info.jsx:2212
#: src/components/account-info.jsx:2332
#: src/components/account-sheet.jsx:38
#: src/components/compose.jsx:892
#: src/components/compose.jsx:2775
@ -494,85 +494,85 @@ msgstr ""
msgid "Close"
msgstr ""
#: src/components/account-info.jsx:2023
#: src/components/account-info.jsx:2028
msgid "Translated Bio"
msgstr ""
#: src/components/account-info.jsx:2118
#: src/components/account-info.jsx:2123
msgid "Unable to remove from list."
msgstr "Unable to remove from list."
#: src/components/account-info.jsx:2119
#: src/components/account-info.jsx:2124
msgid "Unable to add to list."
msgstr "Unable to add to list."
#: src/components/account-info.jsx:2138
#: src/components/account-info.jsx:2143
#: src/pages/lists.jsx:131
msgid "Unable to load lists."
msgstr ""
#: src/components/account-info.jsx:2142
#: src/components/account-info.jsx:2147
msgid "No lists."
msgstr ""
#: src/components/account-info.jsx:2153
#: src/components/account-info.jsx:2158
#: src/components/list-add-edit.jsx:41
#: src/pages/lists.jsx:62
msgid "New list"
msgstr ""
#. placeholder {0}: account?.username || account?.acct
#: src/components/account-info.jsx:2212
#: src/components/account-info.jsx:2217
msgid "Private note about <0>@{0}</0>"
msgstr ""
#: src/components/account-info.jsx:2242
#: src/components/account-info.jsx:2247
msgid "Unable to update private note."
msgstr "Unable to update private note."
#: src/components/account-info.jsx:2265
#: src/components/account-info.jsx:2563
#: src/components/account-info.jsx:2270
#: src/components/account-info.jsx:2568
msgid "Cancel"
msgstr ""
#: src/components/account-info.jsx:2270
#: src/components/account-info.jsx:2275
msgid "Save & close"
msgstr ""
#: src/components/account-info.jsx:2387
#: src/components/account-info.jsx:2392
msgid "Unable to update profile."
msgstr "Unable to update profile."
#: src/components/account-info.jsx:2394
#: src/components/account-info.jsx:2399
msgid "Header picture"
msgstr "Header picture"
#: src/components/account-info.jsx:2446
#: src/components/account-info.jsx:2451
msgid "Profile picture"
msgstr "Profile picture"
#: src/components/account-info.jsx:2498
#: src/components/account-info.jsx:2503
#: src/components/list-add-edit.jsx:106
msgid "Name"
msgstr ""
#: src/components/account-info.jsx:2511
#: src/components/account-info.jsx:2516
msgid "Bio"
msgstr ""
#: src/components/account-info.jsx:2524
#: src/components/account-info.jsx:2529
msgid "Extra fields"
msgstr ""
#: src/components/account-info.jsx:2530
#: src/components/account-info.jsx:2535
msgid "Label"
msgstr ""
#: src/components/account-info.jsx:2533
#: src/components/account-info.jsx:2538
msgid "Content"
msgstr ""
#: src/components/account-info.jsx:2566
#: src/components/account-info.jsx:2571
#: src/components/list-add-edit.jsx:152
#: src/components/shortcuts-settings.jsx:715
#: src/pages/filters.jsx:570
@ -580,20 +580,20 @@ msgstr ""
msgid "Save"
msgstr ""
#: src/components/account-info.jsx:2620
#: src/components/account-info.jsx:2625
msgid "username"
msgstr ""
#: src/components/account-info.jsx:2624
#: src/components/account-info.jsx:2629
msgid "server domain name"
msgstr ""
#. placeholder {0}: info.username
#: src/components/account-info.jsx:2690
#: src/components/account-info.jsx:2695
msgid "Profiles featured by @{0}"
msgstr "Profiles featured by @{0}"
#: src/components/account-info.jsx:2716
#: src/components/account-info.jsx:2721
msgid "No featured profiles."
msgstr "No featured profiles."