More card post domains

pull/1136/head
Lim Chee Aun 2025-05-04 11:43:39 +08:00
rodzic 17c2390a5c
commit fa8a3b6c88
2 zmienionych plików z 37 dodań i 30 usunięć

Wyświetl plik

@ -2769,7 +2769,14 @@ function MediaFirstContainer(props) {
// Mastodon links are "posts" too but they are converted to real quote posts and there's too many domains to check // Mastodon links are "posts" too but they are converted to real quote posts and there's too many domains to check
// This is just "Progressive Enhancement" // This is just "Progressive Enhancement"
function isCardPost(domain) { function isCardPost(domain) {
return ['x.com', 'twitter.com', 'threads.net', 'bsky.app'].includes(domain); return [
'x.com',
'twitter.com',
'threads.net',
'bsky.app',
'bsky.brid.gy',
'fed.brid.gy',
].includes(domain);
} }
function Byline({ authors, hidden, children }) { function Byline({ authors, hidden, children }) {

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

@ -1,6 +1,6 @@
msgid "" msgid ""
msgstr "" msgstr ""
"POT-Creation-Date: 2024-08-04 21:58+0800\n" "POT-Creation-Date: 2025-05-03 21:08+0800\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -312,7 +312,7 @@ msgstr ""
#: src/components/account-info.jsx:1395 #: src/components/account-info.jsx:1395
#: src/components/shortcuts-settings.jsx:1059 #: src/components/shortcuts-settings.jsx:1059
#: src/components/status.jsx:1262 #: src/components/status.jsx:1262
#: src/components/status.jsx:3359 #: src/components/status.jsx:3366
msgid "Copy" msgid "Copy"
msgstr "" msgstr ""
@ -437,9 +437,9 @@ msgstr ""
#: src/components/shortcuts-settings.jsx:230 #: src/components/shortcuts-settings.jsx:230
#: src/components/shortcuts-settings.jsx:583 #: src/components/shortcuts-settings.jsx:583
#: src/components/shortcuts-settings.jsx:783 #: src/components/shortcuts-settings.jsx:783
#: src/components/status.jsx:3083 #: src/components/status.jsx:3090
#: src/components/status.jsx:3323 #: src/components/status.jsx:3330
#: src/components/status.jsx:3832 #: src/components/status.jsx:3839
#: src/pages/accounts.jsx:37 #: src/pages/accounts.jsx:37
#: src/pages/catchup.jsx:1584 #: src/pages/catchup.jsx:1584
#: src/pages/filters.jsx:225 #: src/pages/filters.jsx:225
@ -1304,9 +1304,9 @@ msgid "Filtered: {filterTitleStr}"
msgstr "" msgstr ""
#: src/components/media-post.jsx:134 #: src/components/media-post.jsx:134
#: src/components/status.jsx:3662 #: src/components/status.jsx:3669
#: src/components/status.jsx:3758 #: src/components/status.jsx:3765
#: src/components/status.jsx:3836 #: src/components/status.jsx:3843
#: src/components/timeline.jsx:1008 #: src/components/timeline.jsx:1008
#: src/pages/catchup.jsx:76 #: src/pages/catchup.jsx:76
#: src/pages/catchup.jsx:1882 #: src/pages/catchup.jsx:1882
@ -2256,7 +2256,7 @@ msgid "Edited: {editedDateText}"
msgstr "" msgstr ""
#: src/components/status.jsx:1297 #: src/components/status.jsx:1297
#: src/components/status.jsx:3328 #: src/components/status.jsx:3335
msgid "Embed post" msgid "Embed post"
msgstr "" msgstr ""
@ -2389,82 +2389,82 @@ msgid "Comments"
msgstr "" msgstr ""
#. More from [Author] #. More from [Author]
#: src/components/status.jsx:2786 #: src/components/status.jsx:2793
msgid "More from <0/>" msgid "More from <0/>"
msgstr "More from <0/>" msgstr "More from <0/>"
#: src/components/status.jsx:3088 #: src/components/status.jsx:3095
msgid "Edit History" msgid "Edit History"
msgstr "" msgstr ""
#: src/components/status.jsx:3092 #: src/components/status.jsx:3099
msgid "Failed to load history" msgid "Failed to load history"
msgstr "" msgstr ""
#: src/components/status.jsx:3097 #: src/components/status.jsx:3104
#: src/pages/annual-report.jsx:45 #: src/pages/annual-report.jsx:45
msgid "Loading…" msgid "Loading…"
msgstr "" msgstr ""
#: src/components/status.jsx:3333 #: src/components/status.jsx:3340
msgid "HTML Code" msgid "HTML Code"
msgstr "" msgstr ""
#: src/components/status.jsx:3350 #: src/components/status.jsx:3357
msgid "HTML code copied" msgid "HTML code copied"
msgstr "" msgstr ""
#: src/components/status.jsx:3353 #: src/components/status.jsx:3360
msgid "Unable to copy HTML code" msgid "Unable to copy HTML code"
msgstr "" msgstr ""
#: src/components/status.jsx:3365 #: src/components/status.jsx:3372
msgid "Media attachments:" msgid "Media attachments:"
msgstr "" msgstr ""
#: src/components/status.jsx:3387 #: src/components/status.jsx:3394
msgid "Account Emojis:" msgid "Account Emojis:"
msgstr "" msgstr ""
#: src/components/status.jsx:3418 #: src/components/status.jsx:3425
#: src/components/status.jsx:3463 #: src/components/status.jsx:3470
msgid "static URL" msgid "static URL"
msgstr "" msgstr ""
#: src/components/status.jsx:3432 #: src/components/status.jsx:3439
msgid "Emojis:" msgid "Emojis:"
msgstr "" msgstr ""
#: src/components/status.jsx:3477 #: src/components/status.jsx:3484
msgid "Notes:" msgid "Notes:"
msgstr "" msgstr ""
#: src/components/status.jsx:3481 #: src/components/status.jsx:3488
msgid "This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed." msgid "This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."
msgstr "" msgstr ""
#: src/components/status.jsx:3487 #: src/components/status.jsx:3494
msgid "Polls are not interactive, becomes a list with vote counts." msgid "Polls are not interactive, becomes a list with vote counts."
msgstr "" msgstr ""
#: src/components/status.jsx:3492 #: src/components/status.jsx:3499
msgid "Media attachments can be images, videos, audios or any file types." msgid "Media attachments can be images, videos, audios or any file types."
msgstr "" msgstr ""
#: src/components/status.jsx:3498 #: src/components/status.jsx:3505
msgid "Post could be edited or deleted later." msgid "Post could be edited or deleted later."
msgstr "" msgstr ""
#: src/components/status.jsx:3504 #: src/components/status.jsx:3511
msgid "Preview" msgid "Preview"
msgstr "" msgstr ""
#: src/components/status.jsx:3513 #: src/components/status.jsx:3520
msgid "Note: This preview is lightly styled." msgid "Note: This preview is lightly styled."
msgstr "" msgstr ""
#. [Name] [Visibility icon] boosted #. [Name] [Visibility icon] boosted
#: src/components/status.jsx:3766 #: src/components/status.jsx:3773
msgid "<0/> <1/> boosted" msgid "<0/> <1/> boosted"
msgstr "" msgstr ""