Fix this avatar being animated and not squircle if bot

pull/1176/head
Lim Chee Aun 2025-05-24 21:48:12 +08:00
rodzic 450f11332f
commit cfb18e465b
2 zmienionych plików z 24 dodań i 20 usunięć

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

@ -122,7 +122,7 @@ msgstr ""
#: src/pages/list.jsx:171 #: src/pages/list.jsx:171
#: src/pages/public.jsx:116 #: src/pages/public.jsx:116
#: src/pages/scheduled-posts.jsx:89 #: src/pages/scheduled-posts.jsx:89
#: src/pages/status.jsx:1243 #: src/pages/status.jsx:1247
#: src/pages/trending.jsx:474 #: src/pages/trending.jsx:474
msgid "More" msgid "More"
msgstr "" msgstr ""
@ -208,7 +208,7 @@ msgstr ""
#: src/pages/catchup.jsx:1448 #: src/pages/catchup.jsx:1448
#: src/pages/catchup.jsx:2061 #: src/pages/catchup.jsx:2061
#: src/pages/status.jsx:966 #: src/pages/status.jsx:966
#: src/pages/status.jsx:1589 #: src/pages/status.jsx:1593
msgid "Replies" msgid "Replies"
msgstr "" msgstr ""
@ -476,7 +476,7 @@ msgstr ""
#: src/pages/notifications.jsx:942 #: src/pages/notifications.jsx:942
#: src/pages/scheduled-posts.jsx:259 #: src/pages/scheduled-posts.jsx:259
#: src/pages/settings.jsx:87 #: src/pages/settings.jsx:87
#: src/pages/status.jsx:1330 #: src/pages/status.jsx:1334
msgid "Close" msgid "Close"
msgstr "" msgstr ""
@ -1087,7 +1087,7 @@ msgstr ""
#: src/pages/list.jsx:321 #: src/pages/list.jsx:321
#: src/pages/notifications.jsx:922 #: src/pages/notifications.jsx:922
#: src/pages/search.jsx:561 #: src/pages/search.jsx:561
#: src/pages/status.jsx:1363 #: src/pages/status.jsx:1367
msgid "Show more…" msgid "Show more…"
msgstr "" msgstr ""
@ -1714,8 +1714,8 @@ msgstr ""
#: src/components/poll.jsx:208 #: src/components/poll.jsx:208
#: src/components/poll.jsx:210 #: src/components/poll.jsx:210
#: src/pages/scheduled-posts.jsx:100 #: src/pages/scheduled-posts.jsx:100
#: src/pages/status.jsx:1232 #: src/pages/status.jsx:1236
#: src/pages/status.jsx:1255 #: src/pages/status.jsx:1259
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr ""
@ -2521,7 +2521,7 @@ msgstr ""
#: src/pages/home.jsx:216 #: src/pages/home.jsx:216
#: src/pages/notifications.jsx:898 #: src/pages/notifications.jsx:898
#: src/pages/status.jsx:1019 #: src/pages/status.jsx:1019
#: src/pages/status.jsx:1392 #: src/pages/status.jsx:1396
msgid "Try again" msgid "Try again"
msgstr "" msgstr ""
@ -3879,52 +3879,52 @@ msgstr ""
msgid "{0} posts above Go to top" msgid "{0} posts above Go to top"
msgstr "" msgstr ""
#: src/pages/status.jsx:1219 #: src/pages/status.jsx:1223
#: src/pages/status.jsx:1282 #: src/pages/status.jsx:1286
msgid "Switch to Side Peek view" msgid "Switch to Side Peek view"
msgstr "" msgstr ""
#: src/pages/status.jsx:1283 #: src/pages/status.jsx:1287
msgid "Switch to Full view" msgid "Switch to Full view"
msgstr "" msgstr ""
#: src/pages/status.jsx:1301 #: src/pages/status.jsx:1305
msgid "Show all sensitive content" msgid "Show all sensitive content"
msgstr "" msgstr ""
#: src/pages/status.jsx:1306 #: src/pages/status.jsx:1310
msgid "Experimental" msgid "Experimental"
msgstr "" msgstr ""
#: src/pages/status.jsx:1315 #: src/pages/status.jsx:1319
msgid "Unable to switch" msgid "Unable to switch"
msgstr "" msgstr ""
#. placeholder {0}: punycode.toUnicode( postInstance, ) #. placeholder {0}: punycode.toUnicode( postInstance, )
#: src/pages/status.jsx:1322 #: src/pages/status.jsx:1326
msgid "Switch to post's instance ({0})" msgid "Switch to post's instance ({0})"
msgstr "Switch to post's instance ({0})" msgstr "Switch to post's instance ({0})"
#: src/pages/status.jsx:1325 #: src/pages/status.jsx:1329
msgid "Switch to post's instance" msgid "Switch to post's instance"
msgstr "" msgstr ""
#: src/pages/status.jsx:1383 #: src/pages/status.jsx:1387
msgid "Unable to load post" msgid "Unable to load post"
msgstr "" msgstr ""
#. placeholder {0}: replies.length #. placeholder {0}: replies.length
#. placeholder {1}: shortenNumber(replies.length) #. placeholder {1}: shortenNumber(replies.length)
#: src/pages/status.jsx:1519 #: src/pages/status.jsx:1523
msgid "{0, plural, one {# reply} other {<0>{1}</0> replies}}" msgid "{0, plural, one {# reply} other {<0>{1}</0> replies}}"
msgstr "" msgstr ""
#. placeholder {0}: shortenNumber(totalComments) #. placeholder {0}: shortenNumber(totalComments)
#: src/pages/status.jsx:1537 #: src/pages/status.jsx:1541
msgid "{totalComments, plural, one {# comment} other {<0>{0}</0> comments}}" msgid "{totalComments, plural, one {# comment} other {<0>{0}</0> comments}}"
msgstr "" msgstr ""
#: src/pages/status.jsx:1559 #: src/pages/status.jsx:1563
msgid "View post with its replies" msgid "View post with its replies"
msgstr "" msgstr ""

Wyświetl plik

@ -1185,8 +1185,12 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
.map((ancestor) => ( .map((ancestor) => (
<Avatar <Avatar
key={ancestor.account.id} key={ancestor.account.id}
url={ancestor.account.avatar} url={
ancestor.account.avatarStatic ||
ancestor.account.avatar
}
alt={ancestor.account.displayName} alt={ancestor.account.displayName}
squircle={ancestor.account?.bot}
/> />
))} ))}
{/* <Icon icon="comment" />{' '} */} {/* <Icon icon="comment" />{' '} */}