diff --git a/src/features/events/__tests__/events.test.ts b/src/features/events/__tests__/events.test.ts index b2298b4fe..81d120133 100644 --- a/src/features/events/__tests__/events.test.ts +++ b/src/features/events/__tests__/events.test.ts @@ -1,6 +1,7 @@ import {describe, expect, it} from '@jest/globals' import {eventDateParts, eventPhase, formatEventTime} from '../format' +import {inLiveWindow, isLiveOnStreamplace} from '../live' import {eventPoster} from '../poster' import {coverUrl, parseEventRecord} from '../record' import {applyRsvp} from '../rsvp-state' @@ -418,3 +419,77 @@ describe('eventPoster', () => { ).toBe('💻') }) }) + +describe('isLiveOnStreamplace', () => { + const streamer = {did: 'did:plc:host', handle: 'Host.example.com'} + const status = (uri: string, isActive = true) => ({ + status: 'app.bsky.actor.status#live', + isActive, + record: {}, + embed: { + $type: 'app.bsky.embed.external#view', + external: {uri, title: '', description: ''}, + }, + }) + + it('is live when the status points at the same channel by DID or handle', () => { + expect( + isLiveOnStreamplace( + status('https://stream.place/did:plc:host'), + streamer, + ), + ).toBe(true) + expect( + isLiveOnStreamplace( + status('https://stream.place/host.example.com'), + streamer, + ), + ).toBe(true) + }) + + it('ignores other hosts, other channels and inactive statuses', () => { + expect( + isLiveOnStreamplace(status('https://twitch.tv/host'), streamer), + ).toBe(false) + expect( + isLiveOnStreamplace( + status('https://stream.place/did:plc:other'), + streamer, + ), + ).toBe(false) + expect( + isLiveOnStreamplace( + status('https://stream.place/did:plc:host', false), + streamer, + ), + ).toBe(false) + expect( + isLiveOnStreamplace( + {status: '', isActive: false, isDisabled: false, record: {}}, + streamer, + ), + ).toBe(false) + }) +}) + +describe('inLiveWindow', () => { + const startsAt = new Date('2026-10-24T18:00:00Z') + const endsAt = new Date('2026-10-24T20:00:00Z') + const event = {name: 'Walk', links: [], cancelled: false, startsAt, endsAt} + const at = (iso: string) => inLiveWindow(event, new Date(iso)) + + it('covers an hour either side of the event', () => { + expect(at('2026-10-24T17:00:00Z')).toBe(true) + expect(at('2026-10-24T19:00:00Z')).toBe(true) + expect(at('2026-10-24T20:59:00Z')).toBe(true) + }) + + it('ignores the channel well before or after the event', () => { + expect(at('2026-10-17T18:00:00Z')).toBe(false) + expect(at('2026-10-24T16:59:00Z')).toBe(false) + expect(at('2026-10-24T21:01:00Z')).toBe(false) + expect(inLiveWindow({...event, startsAt: undefined}, new Date())).toBe( + false, + ) + }) +}) diff --git a/src/features/events/components/EventMeta.tsx b/src/features/events/components/EventMeta.tsx index ac2207abc..d72aa78bf 100644 --- a/src/features/events/components/EventMeta.tsx +++ b/src/features/events/components/EventMeta.tsx @@ -12,6 +12,8 @@ import {Text} from '#/components/Typography' import {formatEventTime} from '../format' import {type ParsedEvent} from '../record' import {type EventView} from '../types' +import {useEventLive} from '../useStreamplace' +import {LiveWatchButton} from './LiveWatchButton' export function EventMeta({ event, @@ -23,6 +25,7 @@ export function EventMeta({ const t = useTheme() const {_, i18n} = useLingui() const time = formatEventTime(parsed, i18n.locale) + const live = useEventLive(parsed) const place = parsed.location ?? (parsed.mode === 'virtual' || parsed.streamplaceUrl @@ -53,6 +56,7 @@ export function EventMeta({ style={[a.text_sm, t.atoms.text_contrast_medium, a.flex_1]}> {place} + {live && } )} diff --git a/src/features/events/components/LiveWatchButton.tsx b/src/features/events/components/LiveWatchButton.tsx new file mode 100644 index 000000000..2bf014043 --- /dev/null +++ b/src/features/events/components/LiveWatchButton.tsx @@ -0,0 +1,26 @@ +import {msg} from '@lingui/core/macro' +import {useLingui} from '@lingui/react' +import {Trans} from '@lingui/react/macro' + +import {Button, ButtonText} from '#/components/Button' +import {useWatchStreamplace} from '../useStreamplace' + +export function LiveWatchButton({url}: {url: string}) { + const {_} = useLingui() + const watch = useWatchStreamplace() + return ( + + ) +} diff --git a/src/features/events/live.ts b/src/features/events/live.ts new file mode 100644 index 000000000..2db36e482 --- /dev/null +++ b/src/features/events/live.ts @@ -0,0 +1,31 @@ +import {type AppBskyActorDefs, AppBskyEmbedExternal} from '@atproto/api' + +import {parseStreamplaceActor} from '#/features/streamplace/url' +import {eventPhase} from './format' +import {type ParsedEvent} from './record' + +const LIVE_GRACE_MS = 60 * 60 * 1000 + +// The host's channel may be live for something else, so only look for a live +// stream from an hour before the event starts until an hour after it ends. +export function inLiveWindow(event: ParsedEvent, now: Date): boolean { + const t = now.getTime() + return ( + eventPhase(event, new Date(t + LIVE_GRACE_MS)) !== 'upcoming' && + eventPhase(event, new Date(t - LIVE_GRACE_MS)) !== 'past' && + !!event.startsAt + ) +} + +// A live status can point at any allowed live host, so only count it when it +// points at the same Streamplace channel the event links to. +export function isLiveOnStreamplace( + status: AppBskyActorDefs.StatusView, + streamer: {did: string; handle: string}, +): boolean { + if (!status.isActive || !AppBskyEmbedExternal.isView(status.embed)) { + return false + } + const actor = parseStreamplaceActor(status.embed.external.uri) + return actor === streamer.did || actor === streamer.handle.toLowerCase() +} diff --git a/src/features/events/useStreamplace.ts b/src/features/events/useStreamplace.ts new file mode 100644 index 000000000..740e4bbdf --- /dev/null +++ b/src/features/events/useStreamplace.ts @@ -0,0 +1,49 @@ +import {useCallback} from 'react' +import {useNavigation} from '@react-navigation/native' + +import {useOpenLink} from '#/lib/hooks/useOpenLink' +import {type NavigationProp} from '#/lib/routes/types' +import {useExternalEmbedsPrefs} from '#/state/preferences' +import {useProfileQuery} from '#/state/queries/profile' +import {useSession} from '#/state/session' +import {useAnalytics} from '#/analytics' +import {useActorStatus} from '#/features/liveNow' +import {parseStreamplaceActor} from '#/features/streamplace/url' +import {inLiveWindow, isLiveOnStreamplace} from './live' +import {type ParsedEvent} from './record' + +export function useEventLive(parsed: ParsedEvent): boolean { + const actor = + parsed.streamplaceUrl && + !parsed.cancelled && + inLiveWindow(parsed, new Date()) + ? parseStreamplaceActor(parsed.streamplaceUrl) + : undefined + const {data: streamer} = useProfileQuery({did: actor}) + const status = useActorStatus(streamer) + return streamer ? isLiveOnStreamplace(status, streamer) : false +} + +export function useWatchStreamplace() { + const ax = useAnalytics() + const {hasSession} = useSession() + const navigation = useNavigation() + const openLink = useOpenLink() + const embedsHidden = useExternalEmbedsPrefs()?.streamplace === 'hide' + return useCallback( + (url: string) => { + const actor = + hasSession && + !embedsHidden && + ax.features.enabled(ax.features.StreamplaceWatchEnable) + ? parseStreamplaceActor(url) + : undefined + if (actor) { + navigation.push('StreamplaceWatch', {actor}) + } else { + void openLink(url) + } + }, + [ax, embedsHidden, hasSession, navigation, openLink], + ) +} diff --git a/src/locale/locales/en/messages.po b/src/locale/locales/en/messages.po index 572be48f4..2140295a6 100644 --- a/src/locale/locales/en/messages.po +++ b/src/locale/locales/en/messages.po @@ -54,11 +54,24 @@ msgstr "" msgid "{0, plural, one {# friend found!} other {# friends found!}}" msgstr "" +#. placeholder {0}: event.goingCount +#: src/features/events/components/EventMeta.tsx:69 +#: src/features/events/components/EventMeta.tsx:76 +#: src/screens/Event/EventHeader.tsx:337 +msgid "{0, plural, one {# going} other {# going}}" +msgstr "{0, plural, one {# going} other {# going}}" + #. placeholder {0}: diff.value #: src/lib/hooks/useTimeAgo.ts:159 msgid "{0, plural, one {# hour} other {# hours}}" msgstr "" +#. placeholder {0}: event.interestedCount +#: src/features/events/components/EventMeta.tsx:70 +#: src/screens/Event/EventHeader.tsx:339 +msgid "{0, plural, one {# interested} other {# interested}}" +msgstr "{0, plural, one {# interested} other {# interested}}" + #. placeholder {0}: labels.length #: src/components/moderation/LabelsOnMe.tsx:63 msgid "{0, plural, one {# label has} other {# labels have}} been placed on this account" @@ -165,6 +178,12 @@ msgstr "{0, plural, other {# people have}} joined Blacksky via this starter pack msgid "{0, plural, other {+# more}}" msgstr "" +#. placeholder {0}: import {View} from 'react-native' import {msg, plural} from '@lingui/core/macro' import {useLingui} from '@lingui/react' import {Trans} from '@lingui/react/macro' import {atoms as a, useTheme} from '#/alf' import {AvatarStack} from '#/components/AvatarStack' import {Clock_Stroke2_Corner0_Rounded as ClockIcon} from '#/components/icons/Clock' import {Globe_Stroke2_Corner0_Rounded as GlobeIcon} from '#/components/icons/Globe' import {Pin_Stroke2_Corner0_Rounded as PinIcon} from '#/components/icons/Pin' import {Text} from '#/components/Typography' import {formatEventTime} from '../format' import {type ParsedEvent} from '../record' import {type EventView} from '../types' import {useEventLive} from '../useStreamplace' import {LiveWatchButton} from './LiveWatchButton' export function EventMeta({ event, parsed, }: { event: EventView parsed: ParsedEvent }) { const t = useTheme() const {_, i18n} = useLingui() const time = formatEventTime(parsed, i18n.locale) const live = useEventLive(parsed) const place = parsed.location ?? (parsed.mode === 'virtual' || parsed.streamplaceUrl ? _(msg`Online`) : undefined) const knownGoing = event.knownGoing ?? [] return ( {time && ( {time.primary} {time.local ? ` · ${_(msg`${time.local} your time`)}` : ''} )} {place && ( {parsed.location ? ( ) : ( )} {place} {live && } )} {knownGoing.length > 0 && ( )} {event.interestedCount > 0 ? ( {plural(event.goingCount, {one: '# going', other: '# going'})} ·{' '} {plural(event.interestedCount, { one: '# interested', other: '# interested', })} ) : ( plural(event.goingCount, {one: '# going', other: '# going'}) )} ) } +#. placeholder {1}: import {View} from 'react-native' import {msg, plural} from '@lingui/core/macro' import {useLingui} from '@lingui/react' import {Trans} from '@lingui/react/macro' import {atoms as a, useTheme} from '#/alf' import {AvatarStack} from '#/components/AvatarStack' import {Clock_Stroke2_Corner0_Rounded as ClockIcon} from '#/components/icons/Clock' import {Globe_Stroke2_Corner0_Rounded as GlobeIcon} from '#/components/icons/Globe' import {Pin_Stroke2_Corner0_Rounded as PinIcon} from '#/components/icons/Pin' import {Text} from '#/components/Typography' import {formatEventTime} from '../format' import {type ParsedEvent} from '../record' import {type EventView} from '../types' import {useEventLive} from '../useStreamplace' import {LiveWatchButton} from './LiveWatchButton' export function EventMeta({ event, parsed, }: { event: EventView parsed: ParsedEvent }) { const t = useTheme() const {_, i18n} = useLingui() const time = formatEventTime(parsed, i18n.locale) const live = useEventLive(parsed) const place = parsed.location ?? (parsed.mode === 'virtual' || parsed.streamplaceUrl ? _(msg`Online`) : undefined) const knownGoing = event.knownGoing ?? [] return ( {time && ( {time.primary} {time.local ? ` · ${_(msg`${time.local} your time`)}` : ''} )} {place && ( {parsed.location ? ( ) : ( )} {place} {live && } )} {knownGoing.length > 0 && ( )} {event.interestedCount > 0 ? ( {plural(event.goingCount, {one: '# going', other: '# going'})} ·{' '} {plural(event.interestedCount, { one: '# interested', other: '# interested', })} ) : ( plural(event.goingCount, {one: '# going', other: '# going'}) )} ) } +#: src/features/events/components/EventMeta.tsx:68 +msgid "{0} · {1}" +msgstr "{0} · {1}" + #. placeholder {0}: i18n.date(d, {timeStyle: ts}) #. placeholder {1}: i18n.date(d, {dateStyle: 'medium'}) #: src/lib/strings/time.ts:15 @@ -322,6 +341,11 @@ msgstr "{0} was removed from the group" msgid "{0} watching" msgstr "{0} watching" +#. placeholder {0}: time.local +#: src/features/events/components/EventMeta.tsx:43 +msgid "{0} your time" +msgstr "{0} your time" + #. placeholder {0}: createSanitizedDisplayName(members[0]) #. placeholder {1}: createSanitizedDisplayName(members[1]) #: src/screens/Messages/ConversationSettings/AddMembersLink.tsx:49 @@ -408,6 +432,10 @@ msgstr "{count, plural, =0 {No requests to join} one {# request to join} other { msgid "{count, plural, one {# chat update} other {# chat updates}}" msgstr "{count, plural, one {# chat update} other {# chat updates}}" +#: src/screens/Event/EventScreen.tsx:171 +msgid "{count, plural, one {# muted or blocked account} other {# muted or blocked accounts}}" +msgstr "{count, plural, one {# muted or blocked account} other {# muted or blocked accounts}}" + #: src/screens/Messages/components/RequestStatus.tsx:74 msgid "{count, plural, one {# new join request} other {# new join requests}}" msgstr "{count, plural, one {# new join request} other {# new join requests}}" @@ -658,6 +686,10 @@ msgstr "{JOIN_REQUESTS_THRESHOLD}+ new join requests" msgid "{joinedAllTimeCount, plural, other {# users have}} joined!" msgstr "" +#: src/screens/Event/EventHeader.tsx:112 +msgid "{localTime} your time" +msgstr "{localTime} your time" + #: src/view/com/composer/videos/SubtitleDialog.tsx:138 msgid "{MAX_ALT_TEXT, plural, other {Alt text must be less than # characters.}}" msgstr "" @@ -862,6 +894,10 @@ msgstr "" msgid "⚠Invalid Handle" msgstr "" +#: src/screens/Event/EventHeader.tsx:170 +msgid "📺 Watch on Streamplace" +msgstr "📺 Watch on Streamplace" + #. Displayed when the number of requests is greater than 10 #: src/screens/Messages/components/InboxRequests.tsx:57 msgid "10+" @@ -935,7 +971,8 @@ msgstr "A selected recipient is not followed by the sender." msgid "A thread can only have one discussion." msgstr "A thread can only have one discussion." -#: src/Navigation.tsx:497 +#: src/Navigation.tsx:503 +#: src/screens/Event/EventHeader.tsx:188 #: src/screens/Settings/AboutSettings.tsx:76 #: src/screens/Settings/Settings.tsx:257 #: src/screens/Settings/Settings.tsx:260 @@ -994,11 +1031,11 @@ msgstr "Access requested! The group owner will review your request." msgid "Accessibility" msgstr "" -#: src/Navigation.tsx:412 +#: src/Navigation.tsx:418 msgid "Accessibility Settings" msgstr "" -#: src/Navigation.tsx:436 +#: src/Navigation.tsx:442 #: src/screens/Login/LoginForm.tsx:247 #: src/screens/Settings/AccountSettings.tsx:69 #: src/screens/Settings/Settings.tsx:167 @@ -1402,7 +1439,7 @@ msgstr "Agree" msgid "AI preferences" msgstr "AI preferences" -#: src/Navigation.tsx:420 +#: src/Navigation.tsx:426 msgid "AI Preferences" msgstr "AI Preferences" @@ -1742,7 +1779,7 @@ msgstr "Anyone who has it will no longer be able to join or request to join. You msgid "App directory" msgstr "App directory" -#: src/Navigation.tsx:505 +#: src/Navigation.tsx:511 #: src/screens/Settings/AppIconSettings/index.tsx:62 #: src/screens/Settings/AppIconSettings/SettingsListItem.tsx:19 #: src/screens/Settings/AppIconSettings/SettingsListItem.tsx:24 @@ -1782,7 +1819,7 @@ msgstr "" msgid "App passwords" msgstr "" -#: src/Navigation.tsx:380 +#: src/Navigation.tsx:386 #: src/screens/Settings/AppPasswords.tsx:89 #: src/screens/Settings/AppPasswords.tsx:143 msgid "App Passwords" @@ -1829,7 +1866,7 @@ msgstr "" msgid "Appeal this decision" msgstr "" -#: src/Navigation.tsx:428 +#: src/Navigation.tsx:434 #: src/screens/Settings/AppearanceSettings.tsx:73 #: src/screens/Settings/Settings.tsx:227 #: src/screens/Settings/Settings.tsx:230 @@ -1960,7 +1997,7 @@ msgstr "Automated account" msgid "Automation label" msgstr "Automation label" -#: src/Navigation.tsx:444 +#: src/Navigation.tsx:450 #: src/screens/Settings/AutomationLabelSettings.tsx:103 msgid "Automation Label" msgstr "Automation Label" @@ -2035,7 +2072,7 @@ msgstr "" #: src/components/dialogs/StarterPackDialog.tsx:72 #: src/components/StarterPack/ProfileStarterPacks.tsx:264 #: src/components/StarterPack/ProfileStarterPacks.tsx:274 -#: src/view/screens/Profile.tsx:388 +#: src/view/screens/Profile.tsx:401 msgid "Before creating a starter pack, you must first verify your email." msgstr "" @@ -2205,7 +2242,7 @@ msgstr "" msgid "Block user and/or leave this conversation" msgstr "Block user and/or leave this conversation" -#: src/components/Post/Embed/index.tsx:217 +#: src/components/Post/Embed/index.tsx:240 msgid "Blocked" msgstr "" @@ -2213,7 +2250,7 @@ msgstr "" msgid "Blocked accounts" msgstr "" -#: src/Navigation.tsx:206 +#: src/Navigation.tsx:212 #: src/view/screens/ModerationBlockedAccounts.tsx:95 msgid "Blocked Accounts" msgstr "" @@ -2452,6 +2489,12 @@ msgstr "Cancel reply" msgid "Cancel search" msgstr "" +#: src/features/events/components/EventCard.tsx:87 +#: src/features/events/components/EventEmbed.tsx:102 +#: src/screens/Event/EventHeader.tsx:85 +msgid "Cancelled" +msgstr "Cancelled" + #: src/screens/Login/LoginForm.tsx:354 msgid "Cancels the sign-in process" msgstr "Cancels the sign-in process" @@ -2556,7 +2599,7 @@ msgid "Changes to the starter pack will not be reflected in the list after creat msgstr "" #: src/lib/hooks/useNotificationHandler.ts:133 -#: src/Navigation.tsx:523 +#: src/Navigation.tsx:529 #: src/view/shell/bottom-bar/BottomBar.tsx:237 #: src/view/shell/desktop/LeftNav.tsx:724 #: src/view/shell/Drawer.tsx:590 @@ -2613,7 +2656,7 @@ msgstr "Chat owners cannot leave a group chat." msgid "Chat recipient is not followed by the sender." msgstr "Chat recipient is not followed by the sender." -#: src/Navigation.tsx:543 +#: src/Navigation.tsx:549 msgid "Chat request inbox" msgstr "" @@ -2622,7 +2665,7 @@ msgid "Chat requests" msgstr "" #: src/components/dms/ConvoMenu.tsx:88 -#: src/Navigation.tsx:538 +#: src/Navigation.tsx:544 #: src/screens/Messages/ChatList.tsx:525 #: src/screens/Messages/ChatList.tsx:556 msgid "Chat settings" @@ -2940,7 +2983,7 @@ msgid "Communities" msgstr "Communities" #: src/screens/Search/modules/ExploreTrendingTopics.tsx:232 -#: src/view/screens/Profile.tsx:265 +#: src/view/screens/Profile.tsx:270 msgid "Community" msgstr "Community" @@ -2952,7 +2995,7 @@ msgstr "Community Builder" msgid "Community features are temporarily unavailable. We're working on it — the rest of the app still works." msgstr "Community features are temporarily unavailable. We're working on it — the rest of the app still works." -#: src/Navigation.tsx:370 +#: src/Navigation.tsx:376 #: src/view/screens/CommunityGuidelines.tsx:28 msgid "Community Guidelines" msgstr "" @@ -3067,7 +3110,7 @@ msgstr "" msgid "Content and media" msgstr "" -#: src/Navigation.tsx:481 +#: src/Navigation.tsx:487 msgid "Content and Media" msgstr "" @@ -3299,7 +3342,7 @@ msgstr "" msgid "Copy TXT record value" msgstr "" -#: src/Navigation.tsx:375 +#: src/Navigation.tsx:381 #: src/view/screens/CopyrightPolicy.tsx:25 msgid "Copyright Policy" msgstr "" @@ -3410,10 +3453,31 @@ msgstr "" msgid "Couldn’t load GIFs" msgstr "Couldn’t load GIFs" +#: src/features/events/components/ProfileEvents.tsx:155 +msgid "Couldn't load more events." +msgstr "Couldn't load more events." + +#: src/screens/Event/EventScreen.tsx:128 +msgid "Couldn't load the guest list." +msgstr "Couldn't load the guest list." + +#: src/screens/Event/EventScreen.tsx:66 +msgid "Couldn't load this event. Try again in a moment." +msgstr "Couldn't load this event. Try again in a moment." + +#: src/features/events/components/ProfileEvents.tsx:136 +msgid "Couldn't load your events." +msgstr "Couldn't load your events." + #: src/screens/Deactivated.tsx:157 msgid "Couldn't reactivate the account. Please try again." msgstr "Couldn't reactivate the account. Please try again." +#: src/features/events/components/RsvpButtons.tsx:39 +#: src/screens/Event/EventHeader.tsx:290 +msgid "Couldn't update your RSVP" +msgstr "Couldn't update your RSVP" + #: src/components/InternationalPhoneCodeSelect.tsx:77 msgid "Country code" msgstr "" @@ -3442,12 +3506,12 @@ msgstr "" #: src/components/StarterPack/ProfileStarterPacks.tsx:207 #: src/components/StarterPack/ProfileStarterPacks.tsx:316 -#: src/Navigation.tsx:574 +#: src/Navigation.tsx:580 msgid "Create a starter pack" msgstr "" -#: src/view/screens/Profile.tsx:612 -#: src/view/screens/Profile.tsx:613 +#: src/view/screens/Profile.tsx:636 +#: src/view/screens/Profile.tsx:637 msgid "Create a Starter Pack" msgstr "" @@ -3746,7 +3810,7 @@ msgstr "" msgid "Delete this post?" msgstr "" -#: src/components/Post/Embed/index.tsx:299 +#: src/components/Post/Embed/index.tsx:322 msgid "Deleted" msgstr "" @@ -4267,7 +4331,7 @@ msgstr "" msgid "Edit moderation list" msgstr "" -#: src/Navigation.tsx:385 +#: src/Navigation.tsx:391 #: src/view/screens/Feeds.tsx:511 msgid "Edit My Feeds" msgstr "" @@ -4314,7 +4378,7 @@ msgstr "" msgid "Edit who can reply" msgstr "" -#: src/Navigation.tsx:579 +#: src/Navigation.tsx:585 msgid "Edit your starter pack" msgstr "" @@ -4581,6 +4645,23 @@ msgstr "" msgid "Escalate post" msgstr "Escalate post" +#: src/Navigation.tsx:192 +#: src/screens/Event/EventScreen.tsx:48 +msgid "Event" +msgstr "Event" + +#: src/screens/Event/EventScreen.tsx:61 +msgid "Event not found" +msgstr "Event not found" + +#: src/view/screens/Profile.tsx:275 +msgid "Events" +msgstr "Events" + +#: src/features/events/components/ProfileEvents.tsx:145 +msgid "Events you host or RSVP to show up here. Only you can see this tab." +msgstr "Events you host or RSVP to show up here. Only you can see this tab." + #: src/components/WhoCanReply.tsx:87 msgid "Every community member can reply" msgstr "Every community member can reply" @@ -4690,7 +4771,7 @@ msgstr "" msgid "Explicit sexual images." msgstr "" -#: src/Navigation.tsx:788 +#: src/Navigation.tsx:794 #: src/screens/Search/Shell.tsx:362 #: src/view/shell/desktop/LeftNav.tsx:703 #: src/view/shell/Drawer.tsx:538 @@ -4732,7 +4813,7 @@ msgstr "" msgid "External media may allow websites to collect information about you and your device. No information is sent or requested until you press the \"play\" button." msgstr "" -#: src/Navigation.tsx:404 +#: src/Navigation.tsx:410 #: src/screens/Settings/ExternalMediaPreferences.tsx:40 msgid "External Media Preferences" msgstr "" @@ -5055,7 +5136,7 @@ msgstr "" msgid "False information about elections" msgstr "" -#: src/Navigation.tsx:305 +#: src/Navigation.tsx:311 msgid "Feed" msgstr "" @@ -5098,13 +5179,13 @@ msgctxt "toast" msgid "Feedback sent to feed operator" msgstr "" -#: src/Navigation.tsx:559 +#: src/Navigation.tsx:565 #: src/screens/SavedFeeds.tsx:114 #: src/screens/SavedFeeds.tsx:306 #: src/screens/Search/SearchResults.tsx:80 #: src/screens/StarterPack/StarterPackScreen.tsx:196 #: src/view/screens/Feeds.tsx:504 -#: src/view/screens/Profile.tsx:270 +#: src/view/screens/Profile.tsx:276 #: src/view/shell/desktop/LeftNav.tsx:736 #: src/view/shell/Drawer.tsx:654 msgid "Feeds" @@ -5193,8 +5274,8 @@ msgstr "" msgid "Find and invite friends" msgstr "Find and invite friends" -#: src/Navigation.tsx:468 -#: src/Navigation.tsx:606 +#: src/Navigation.tsx:474 +#: src/Navigation.tsx:612 msgid "Find Contacts" msgstr "" @@ -5360,7 +5441,7 @@ msgid "Followers can join" msgstr "Followers can join" #. placeholder {0}: route.params.name -#: src/Navigation.tsx:259 +#: src/Navigation.tsx:265 msgid "Followers of @{0} that you know" msgstr "" @@ -5411,7 +5492,7 @@ msgstr "" msgid "Following feed preferences" msgstr "" -#: src/Navigation.tsx:391 +#: src/Navigation.tsx:397 #: src/screens/Settings/FollowingFeedPreferences.tsx:57 msgid "Following Feed Preferences" msgstr "" @@ -5713,10 +5794,22 @@ msgstr "" msgid "Go to user’s profile" msgstr "Go to user’s profile" +#: src/features/events/components/ProfileEvents.tsx:101 +#: src/features/events/components/RsvpButtons.tsx:48 +#: src/screens/Event/EventHeader.tsx:267 +#: src/screens/Event/EventHeader.tsx:362 +msgid "Going" +msgstr "Going" + #: src/features/liveNow/components/GoLiveDisabledDialog.tsx:105 msgid "Going live is currently disabled for your account" msgstr "" +#: src/features/events/components/RsvpButtons.tsx:49 +#: src/screens/Event/EventHeader.tsx:268 +msgid "Going, tap to remove" +msgstr "Going, tap to remove" + #: src/screens/Profile/components/GermButton.tsx:253 #: src/screens/Profile/components/GermButton.tsx:258 msgid "Got it" @@ -5767,7 +5860,7 @@ msgctxt "toast" msgid "Group chat name updated" msgstr "Group chat name updated" -#: src/Navigation.tsx:528 +#: src/Navigation.tsx:534 #: src/screens/Messages/ConversationSettings/index.tsx:113 msgid "Group chat settings" msgstr "Group chat settings" @@ -5812,6 +5905,10 @@ msgstr "Group name" msgid "Group name is too long. {MAX_GROUP_NAME_GRAPHEME_LENGTH, plural, other {The maximum number of characters is #.}}" msgstr "Group name is too long. {MAX_GROUP_NAME_GRAPHEME_LENGTH, plural, other {The maximum number of characters is #.}}" +#: src/screens/Event/EventHeader.tsx:218 +msgid "Guest list" +msgstr "Guest list" + #: src/components/moderation/ReportDialog/utils/useReportOptions.ts:219 msgid "Hacking or system attacks" msgstr "" @@ -5841,6 +5938,8 @@ msgid "Handle too long. Please try a shorter one." msgstr "" #: src/components/FeedCard.tsx:156 +#: src/features/events/components/EventCard.tsx:132 +#: src/features/events/components/EventEmbed.tsx:104 #: src/features/liveEvents/components/LiveEventFeedCardWide.tsx:123 msgid "Happening now" msgstr "" @@ -5866,7 +5965,7 @@ msgstr "" msgid "Harming or endangering minors" msgstr "" -#: src/Navigation.tsx:512 +#: src/Navigation.tsx:518 msgid "Hashtag" msgstr "" @@ -5956,6 +6055,10 @@ msgstr "Hide group chat updates" msgid "Hide lists" msgstr "" +#: src/screens/Event/EventScreen.tsx:162 +msgid "Hide muted or blocked accounts" +msgstr "Hide muted or blocked accounts" + #: src/components/PostControls/HideButton.tsx:82 msgid "Hide post" msgstr "Hide post" @@ -6056,8 +6159,8 @@ msgstr "" msgid "Hold up! We’re gradually giving access to video, and you’re still waiting in line. Check back soon!" msgstr "" -#: src/Navigation.tsx:783 -#: src/Navigation.tsx:804 +#: src/Navigation.tsx:789 +#: src/Navigation.tsx:810 #: src/view/shell/bottom-bar/BottomBar.tsx:193 #: src/view/shell/desktop/LeftNav.tsx:693 #: src/view/shell/Drawer.tsx:564 @@ -6068,6 +6171,15 @@ msgstr "" msgid "Host:" msgstr "" +#. placeholder {0}: event.creator.displayName || `@${event.creator.handle}` +#: src/screens/Event/EventHeader.tsx:152 +msgid "Hosted by <0>{0}" +msgstr "Hosted by <0>{0}" + +#: src/features/events/components/ProfileEvents.tsx:99 +msgid "Hosting" +msgstr "Hosting" + #: src/screens/Login/ForgotPasswordForm.tsx:84 msgid "Hosting provider" msgstr "" @@ -6327,6 +6439,18 @@ msgstr "" msgid "Interaction settings" msgstr "" +#: src/features/events/components/ProfileEvents.tsx:103 +#: src/features/events/components/RsvpButtons.tsx:53 +#: src/screens/Event/EventHeader.tsx:273 +#: src/screens/Event/EventHeader.tsx:364 +msgid "Interested" +msgstr "Interested" + +#: src/features/events/components/RsvpButtons.tsx:54 +#: src/screens/Event/EventHeader.tsx:274 +msgid "Interested, tap to remove" +msgstr "Interested, tap to remove" + #: src/screens/Deactivated.tsx:146 msgid "Invalid 2FA code. Please try again." msgstr "Invalid 2FA code. Please try again." @@ -6455,7 +6579,7 @@ msgstr "Invited" msgid "Invites, but personal" msgstr "" -#: src/Navigation.tsx:335 +#: src/Navigation.tsx:341 msgid "iOS 26 Crash Regression" msgstr "iOS 26 Crash Regression" @@ -6490,6 +6614,12 @@ msgstr "" msgid "Join" msgstr "Join" +#. placeholder {0}: toNiceDomain(parsed.joinUrl) +#: src/features/events/components/EventEmbed.tsx:126 +#: src/screens/Event/EventHeader.tsx:145 +msgid "Join · {0}" +msgstr "Join · {0}" + #: src/screens/Signup/StepCommunity/index.tsx:64 #: src/screens/Signup/StepInfo/index.tsx:357 msgid "Join another community" @@ -6512,6 +6642,12 @@ msgstr "Join group" msgid "Join group chat" msgstr "Join group chat" +#. placeholder {0}: toNiceDomain(parsed.joinUrl) +#: src/features/events/components/EventEmbed.tsx:121 +#: src/screens/Event/EventHeader.tsx:140 +msgid "Join online at {0}" +msgstr "Join online at {0}" + #: src/components/intents/GroupChatJoinDialog.tsx:189 #: src/screens/Messages/components/OutgoingRequestListItem.tsx:31 msgid "Join request rescinded." @@ -6558,7 +6694,7 @@ msgid "Labeled by the author." msgstr "" #: src/view/com/composer/labels/LabelsBtn.tsx:70 -#: src/view/screens/Profile.tsx:262 +#: src/view/screens/Profile.tsx:267 msgid "Labels" msgstr "" @@ -6582,7 +6718,7 @@ msgstr "" msgid "Labels on your content" msgstr "" -#: src/Navigation.tsx:232 +#: src/Navigation.tsx:238 msgid "Language Settings" msgstr "" @@ -6753,8 +6889,8 @@ msgstr "" msgid "Like this labeler" msgstr "" -#: src/Navigation.tsx:310 -#: src/Navigation.tsx:315 +#: src/Navigation.tsx:316 +#: src/Navigation.tsx:321 msgid "Liked by" msgstr "" @@ -6781,7 +6917,7 @@ msgstr "" #: src/lib/hooks/useNotificationHandler.ts:160 #: src/screens/Settings/NotificationSettings/index.tsx:139 #: src/screens/Settings/NotificationSettings/index.tsx:260 -#: src/view/screens/Profile.tsx:269 +#: src/view/screens/Profile.tsx:274 msgid "Likes" msgstr "" @@ -6804,7 +6940,11 @@ msgstr "" msgid "Link copied to clipboard" msgstr "Link copied to clipboard" -#: src/Navigation.tsx:265 +#: src/screens/Event/EventHeader.tsx:204 +msgid "Links" +msgstr "Links" + +#: src/Navigation.tsx:271 msgid "List" msgstr "" @@ -6890,10 +7030,10 @@ msgctxt "toast" msgid "List unmuted" msgstr "" -#: src/Navigation.tsx:186 +#: src/Navigation.tsx:187 #: src/view/screens/Lists.tsx:60 -#: src/view/screens/Profile.tsx:263 -#: src/view/screens/Profile.tsx:272 +#: src/view/screens/Profile.tsx:268 +#: src/view/screens/Profile.tsx:278 #: src/view/shell/desktop/LeftNav.tsx:746 #: src/view/shell/Drawer.tsx:669 msgid "Lists" @@ -6907,7 +7047,7 @@ msgstr "" msgid "Lists blocking this user:" msgstr "" -#: src/Navigation.tsx:592 +#: src/Navigation.tsx:598 #: src/screens/StreamplaceWatch/index.tsx:56 msgid "Live" msgstr "Live" @@ -6918,6 +7058,10 @@ msgstr "Live" msgid "LIVE" msgstr "" +#: src/features/events/components/LiveWatchButton.tsx:22 +msgid "LIVE · Watch" +msgstr "LIVE · Watch" + #: src/screens/StreamplaceWatch/index.tsx:207 msgid "Live chat" msgstr "Live chat" @@ -6957,6 +7101,10 @@ msgstr "" msgid "Live link" msgstr "" +#: src/features/events/components/LiveWatchButton.tsx:13 +msgid "Live now, watch on Streamplace" +msgstr "Live now, watch on Streamplace" + #: src/screens/Onboarding/ConnectedApps.tsx:29 msgid "Live streaming" msgstr "Live streaming" @@ -6996,7 +7144,7 @@ msgstr "" msgid "Loading your saved feeds…" msgstr "Loading your saved feeds…" -#: src/components/Post/Embed/index.tsx:271 +#: src/components/Post/Embed/index.tsx:294 #: src/view/com/composer/text-input/mobile/Autocomplete.tsx:60 #: src/view/screens/SupportReturn.tsx:73 msgid "Loading..." @@ -7022,7 +7170,7 @@ msgstr "Lock this group chat" msgid "Locked" msgstr "Locked" -#: src/Navigation.tsx:345 +#: src/Navigation.tsx:351 msgid "Log" msgstr "" @@ -7143,7 +7291,7 @@ msgstr "Maximum support amount is $1,000" msgid "Maybe later" msgstr "" -#: src/view/screens/Profile.tsx:267 +#: src/view/screens/Profile.tsx:272 msgid "Media" msgstr "" @@ -7248,7 +7396,7 @@ msgstr "Message is too long ({graphemeCount}/{MAX_DM_GRAPHEME_LENGTH})" msgid "Message options" msgstr "" -#: src/Navigation.tsx:798 +#: src/Navigation.tsx:804 msgid "Messages" msgstr "" @@ -7280,7 +7428,7 @@ msgstr "Misogynoir" msgid "Missing media" msgstr "" -#: src/Navigation.tsx:191 +#: src/Navigation.tsx:197 #: src/screens/Moderation/index.tsx:100 msgid "Moderation" msgstr "" @@ -7328,7 +7476,7 @@ msgstr "" msgid "Moderation lists" msgstr "" -#: src/Navigation.tsx:196 +#: src/Navigation.tsx:202 #: src/view/screens/ModerationModlists.tsx:60 msgid "Moderation Lists" msgstr "" @@ -7337,7 +7485,7 @@ msgstr "" msgid "moderation settings" msgstr "" -#: src/Navigation.tsx:325 +#: src/Navigation.tsx:331 msgid "Moderation states" msgstr "" @@ -7485,7 +7633,7 @@ msgstr "Muted" msgid "Muted accounts" msgstr "" -#: src/Navigation.tsx:201 +#: src/Navigation.tsx:207 #: src/view/screens/ModerationMutedAccounts.tsx:107 msgid "Muted Accounts" msgstr "" @@ -7662,7 +7810,7 @@ msgstr "" #: src/view/com/feeds/CommunityFeedPage.tsx:320 #: src/view/screens/Feeds.tsx:545 #: src/view/screens/Notifications.tsx:165 -#: src/view/screens/Profile.tsx:643 +#: src/view/screens/Profile.tsx:667 msgid "New post" msgstr "" @@ -7789,7 +7937,7 @@ msgstr "" #: src/components/LikedByList.tsx:84 #: src/view/com/post-thread/PostLikedBy.tsx:85 -#: src/view/screens/Profile.tsx:575 +#: src/view/screens/Profile.tsx:588 msgid "No likes yet" msgstr "" @@ -7806,7 +7954,7 @@ msgstr "" msgid "No longer following {0}" msgstr "" -#: src/view/screens/Profile.tsx:521 +#: src/view/screens/Profile.tsx:534 msgid "No media yet" msgstr "" @@ -7852,12 +8000,16 @@ msgstr "" msgid "No one can send messages" msgstr "No one can send messages" +#: src/screens/Event/EventScreen.tsx:115 +msgid "No one has RSVP'd yet." +msgstr "No one has RSVP'd yet." + #: src/screens/Notifications/ActivityList.tsx:43 msgid "No posts here" msgstr "" #: src/screens/Profile/Sections/Feed.tsx:81 -#: src/view/screens/Profile.tsx:468 +#: src/view/screens/Profile.tsx:481 msgid "No posts yet" msgstr "" @@ -7874,7 +8026,7 @@ msgstr "" msgid "No recent GIFs yet. Pick one to see it here." msgstr "No recent GIFs yet. Pick one to see it here." -#: src/view/screens/Profile.tsx:506 +#: src/view/screens/Profile.tsx:519 msgid "No replies yet" msgstr "" @@ -7907,7 +8059,7 @@ msgstr "" msgid "No results found for “<0>{query}”." msgstr "No results found for “<0>{query}”." -#: src/view/screens/Profile.tsx:607 +#: src/view/screens/Profile.tsx:631 msgid "No Starter Packs yet" msgstr "" @@ -7925,7 +8077,7 @@ msgstr "" msgid "No translation received from your device." msgstr "No translation received from your device." -#: src/view/screens/Profile.tsx:548 +#: src/view/screens/Profile.tsx:561 msgid "No video posts yet" msgstr "" @@ -7979,11 +8131,22 @@ msgstr "Not followed by anyone you’re following" msgid "Not found" msgstr "Not found" -#: src/Navigation.tsx:181 -#: src/view/screens/Profile.tsx:147 +#: src/Navigation.tsx:182 +#: src/view/screens/Profile.tsx:149 msgid "Not Found" msgstr "" +#: src/features/events/components/RsvpButtons.tsx:58 +#: src/screens/Event/EventHeader.tsx:279 +#: src/screens/Event/EventHeader.tsx:365 +msgid "Not going" +msgstr "Not going" + +#: src/features/events/components/RsvpButtons.tsx:59 +#: src/screens/Event/EventHeader.tsx:280 +msgid "Not going, tap to remove" +msgstr "Not going, tap to remove" + #: src/components/moderation/LabelDialog/index.tsx:216 msgid "Note (limit 300 characters)" msgstr "Note (limit 300 characters)" @@ -8008,8 +8171,8 @@ msgid "Nothing saved yet" msgstr "" #: src/components/dialogs/NotificationSettingsDialog.tsx:64 -#: src/Navigation.tsx:475 -#: src/Navigation.tsx:554 +#: src/Navigation.tsx:481 +#: src/Navigation.tsx:560 #: src/view/screens/Notifications.tsx:134 msgid "Notification settings" msgstr "" @@ -8019,8 +8182,8 @@ msgstr "" msgid "Notification sounds" msgstr "" -#: src/Navigation.tsx:549 -#: src/Navigation.tsx:793 +#: src/Navigation.tsx:555 +#: src/Navigation.tsx:799 #: src/screens/Notifications/ActivityList.tsx:31 #: src/screens/Settings/NotificationSettings/index.tsx:105 #: src/screens/Settings/Settings.tsx:199 @@ -8136,6 +8299,11 @@ msgstr "" msgid "One-time" msgstr "One-time" +#: src/features/events/components/EventMeta.tsx:32 +#: src/screens/Event/EventHeader.tsx:66 +msgid "Online" +msgstr "Online" + #. placeholder {0}: settings.map((rule, i) => ( )) #: src/components/WhoCanReply.tsx:292 msgid "Only {0} can reply." @@ -8206,7 +8374,7 @@ msgstr "Oops, this profile doesn't exist. Try scanning another one." #: src/components/StarterPack/ProfileStarterPacks.tsx:372 #: src/screens/Settings/AppPasswords.tsx:151 #: src/screens/Settings/components/ChangeHandleDialog.tsx:108 -#: src/view/screens/Profile.tsx:147 +#: src/view/screens/Profile.tsx:149 msgid "Oops!" msgstr "" @@ -8632,6 +8800,10 @@ msgstr "" msgid "Password updated!" msgstr "" +#: src/features/events/components/EventCard.tsx:134 +msgid "Past" +msgstr "Past" + #: src/components/Post/Embed/VideoEmbed/VideoEmbedInner/VideoEmbedInnerNative.tsx:155 #: src/components/Post/Embed/VideoEmbed/VideoEmbedInner/web-controls/VideoControls.tsx:395 msgid "Pause" @@ -8664,12 +8836,12 @@ msgid "People {ownerName} follows can request to join" msgstr "People {ownerName} follows can request to join" #. placeholder {0}: route.params.name -#: src/Navigation.tsx:252 +#: src/Navigation.tsx:258 msgid "People followed by @{0}" msgstr "" #. placeholder {0}: route.params.name -#: src/Navigation.tsx:245 +#: src/Navigation.tsx:251 msgid "People following @{0}" msgstr "" @@ -9001,13 +9173,13 @@ msgctxt "description" msgid "Post" msgstr "" -#: src/view/screens/Profile.tsx:525 -#: src/view/screens/Profile.tsx:526 +#: src/view/screens/Profile.tsx:538 +#: src/view/screens/Profile.tsx:539 msgid "Post a photo" msgstr "" -#: src/view/screens/Profile.tsx:552 -#: src/view/screens/Profile.tsx:553 +#: src/view/screens/Profile.tsx:565 +#: src/view/screens/Profile.tsx:566 msgid "Post a video" msgstr "" @@ -9020,10 +9192,10 @@ msgid "Post blocked" msgstr "" #. placeholder {0}: route.params.name -#: src/Navigation.tsx:278 -#: src/Navigation.tsx:285 -#: src/Navigation.tsx:292 -#: src/Navigation.tsx:299 +#: src/Navigation.tsx:284 +#: src/Navigation.tsx:291 +#: src/Navigation.tsx:298 +#: src/Navigation.tsx:305 msgid "Post by @{0}" msgstr "" @@ -9062,7 +9234,7 @@ msgstr "" msgid "Post interaction settings" msgstr "" -#: src/Navigation.tsx:212 +#: src/Navigation.tsx:218 #: src/screens/ModerationInteractionSettings/index.tsx:35 msgid "Post Interaction Settings" msgstr "" @@ -9109,7 +9281,7 @@ msgstr "Posting to the private feed..." #: src/components/activity-notifications/SubscribeProfileDialog.tsx:273 #: src/screens/ProfileList/index.tsx:167 #: src/screens/StarterPack/StarterPackScreen.tsx:197 -#: src/view/screens/Profile.tsx:264 +#: src/view/screens/Profile.tsx:269 msgid "Posts" msgstr "" @@ -9177,8 +9349,8 @@ msgstr "" msgid "Privacy and security" msgstr "" -#: src/Navigation.tsx:452 -#: src/Navigation.tsx:460 +#: src/Navigation.tsx:458 +#: src/Navigation.tsx:466 #: src/screens/Settings/ActivityPrivacySettings.tsx:41 #: src/screens/Settings/PrivacyAndSecuritySettings.tsx:51 msgid "Privacy and Security" @@ -9188,7 +9360,7 @@ msgstr "" msgid "Privacy and Security settings" msgstr "" -#: src/Navigation.tsx:360 +#: src/Navigation.tsx:366 #: src/screens/Settings/AboutSettings.tsx:93 #: src/screens/Settings/AboutSettings.tsx:96 #: src/view/screens/PrivacyPolicy.tsx:25 @@ -9669,11 +9841,11 @@ msgstr "" msgid "Remove your verification for this account?" msgstr "" -#: src/components/Post/Embed/index.tsx:245 +#: src/components/Post/Embed/index.tsx:268 msgid "Removed by author" msgstr "" -#: src/components/Post/Embed/index.tsx:243 +#: src/components/Post/Embed/index.tsx:266 msgid "Removed by you" msgstr "" @@ -9759,7 +9931,7 @@ msgstr "Replied-to message, tap to scroll to it" #: src/lib/hooks/useNotificationHandler.ts:174 #: src/screens/Settings/NotificationSettings/index.tsx:161 #: src/screens/Settings/NotificationSettings/index.tsx:276 -#: src/view/screens/Profile.tsx:266 +#: src/view/screens/Profile.tsx:271 msgid "Replies" msgstr "" @@ -9999,7 +10171,7 @@ msgstr "Requested" msgid "Requests" msgstr "Requests" -#: src/Navigation.tsx:533 +#: src/Navigation.tsx:539 #: src/screens/Messages/JoinRequests.tsx:415 msgid "Requests to join" msgstr "Requests to join" @@ -10245,7 +10417,7 @@ msgstr "" msgid "Saved Feeds" msgstr "" -#: src/Navigation.tsx:598 +#: src/Navigation.tsx:604 #: src/screens/Bookmarks/index.tsx:59 msgid "Saved Posts" msgstr "" @@ -10276,7 +10448,7 @@ msgstr "Scan" #: src/features/inviteFriends/InviteScannerScreen.tsx:83 #: src/features/inviteFriends/InviteScannerScreen.web.tsx:23 -#: src/Navigation.tsx:330 +#: src/Navigation.tsx:336 msgid "Scan QR code" msgstr "Scan QR code" @@ -10311,7 +10483,7 @@ msgstr "" #. placeholder {0}: profile.handle #. placeholder {0}: route.params.name -#: src/Navigation.tsx:271 +#: src/Navigation.tsx:277 #: src/screens/Profile/ProfileSearch.tsx:37 msgid "Search @{0}'s posts" msgstr "" @@ -10758,7 +10930,7 @@ msgstr "" msgid "Sets email for password reset" msgstr "" -#: src/Navigation.tsx:227 +#: src/Navigation.tsx:233 #: src/screens/Settings/Settings.tsx:94 #: src/view/shell/desktop/LeftNav.tsx:779 #: src/view/shell/Drawer.tsx:733 @@ -10912,7 +11084,7 @@ msgstr "" msgid "Share your contacts to find friends" msgstr "" -#: src/Navigation.tsx:340 +#: src/Navigation.tsx:346 msgid "Shared Preferences Tester" msgstr "" @@ -10994,6 +11166,10 @@ msgstr "" msgid "Show more replies" msgstr "" +#: src/screens/Event/EventScreen.tsx:163 +msgid "Show muted or blocked accounts" +msgstr "Show muted or blocked accounts" + #: src/screens/Settings/ThreadPreferences.tsx:99 msgid "Show post replies in a threaded tree view" msgstr "" @@ -11178,7 +11354,7 @@ msgstr "" msgid "Signed in as @{0}" msgstr "" -#: src/Navigation.tsx:176 +#: src/Navigation.tsx:177 msgid "Signing in..." msgstr "Signing in..." @@ -11404,8 +11580,8 @@ msgstr "Start chat" msgid "Start chat with {displayName}" msgstr "" -#: src/Navigation.tsx:564 -#: src/Navigation.tsx:569 +#: src/Navigation.tsx:570 +#: src/Navigation.tsx:575 #: src/screens/StarterPack/Wizard/index.tsx:197 msgid "Starter Pack" msgstr "" @@ -11428,7 +11604,7 @@ msgstr "" msgid "Starter pack is invalid" msgstr "" -#: src/view/screens/Profile.tsx:271 +#: src/view/screens/Profile.tsx:277 msgid "Starter Packs" msgstr "" @@ -11440,7 +11616,7 @@ msgstr "" msgid "Starter packs let you share your favorite feeds and people with your friends." msgstr "" -#: src/view/screens/Profile.tsx:605 +#: src/view/screens/Profile.tsx:629 msgid "Starter Packs let you share your favorite feeds and people with your friends." msgstr "" @@ -11480,7 +11656,7 @@ msgstr "" msgid "Stored as part of a secure code for matching with others" msgstr "" -#: src/Navigation.tsx:320 +#: src/Navigation.tsx:326 #: src/screens/Settings/Settings.tsx:454 msgid "Storybook" msgstr "" @@ -11594,8 +11770,8 @@ msgstr "" msgid "Suggestive content meant for adults." msgstr "Suggestive content meant for adults." -#: src/Navigation.tsx:350 -#: src/Navigation.tsx:355 +#: src/Navigation.tsx:356 +#: src/Navigation.tsx:361 #: src/view/screens/Support.tsx:31 #: src/view/screens/SupportReturn.tsx:64 #: src/view/shell/desktop/LeftNav.tsx:789 @@ -11805,7 +11981,7 @@ msgid "Terms" msgstr "" #: src/components/dialogs/BirthDateSettings.tsx:181 -#: src/Navigation.tsx:365 +#: src/Navigation.tsx:371 #: src/screens/Settings/AboutSettings.tsx:85 #: src/screens/Settings/AboutSettings.tsx:88 #: src/view/screens/TermsOfService.tsx:25 @@ -12261,6 +12437,10 @@ msgstr "" msgid "This email is already associated with your account." msgstr "" +#: src/screens/Event/EventScreen.tsx:67 +msgid "This event may have been deleted or isn't available." +msgstr "This event may have been deleted or isn't available." + #: src/screens/Settings/ActivityPrivacySettings.tsx:56 msgid "This feature allows users to receive notifications for your new posts and replies. Who do you want to enable this for?" msgstr "" @@ -12580,7 +12760,7 @@ msgstr "" msgid "Threaded" msgstr "" -#: src/Navigation.tsx:398 +#: src/Navigation.tsx:404 msgid "Threads Preferences" msgstr "" @@ -12649,7 +12829,7 @@ msgstr "" msgid "Top replies first" msgstr "" -#: src/Navigation.tsx:517 +#: src/Navigation.tsx:523 #: src/screens/Topic.tsx:53 msgid "Topic" msgstr "" @@ -13048,6 +13228,10 @@ msgstr "Unsupported clipboard content" msgid "Unsupported video type: {mimeType}" msgstr "" +#: src/features/events/components/EventCard.tsx:130 +msgid "Upcoming" +msgstr "Upcoming" + #: src/screens/Settings/components/OTAInfo.tsx:61 #: src/screens/Settings/components/OTAInfo.tsx:77 msgid "Update" @@ -13198,7 +13382,7 @@ msgstr "Use your data in AI search and recommendation systems. This is how AI fi msgid "Use your data to build or train new AI models. Once your work is in a model, it stays there, even if you delete your account later." msgstr "Use your data to build or train new AI models. Once your work is in a model, it stays there, even if you delete your account later." -#: src/view/screens/Profile.tsx:421 +#: src/view/screens/Profile.tsx:434 msgid "user" msgstr "user" @@ -13300,7 +13484,7 @@ msgstr "" msgid "Verification settings" msgstr "" -#: src/Navigation.tsx:220 +#: src/Navigation.tsx:226 #: src/screens/Moderation/VerificationSettings.tsx:29 msgid "Verification Settings" msgstr "" @@ -13381,7 +13565,7 @@ msgstr "" msgid "Video failed to process" msgstr "" -#: src/Navigation.tsx:585 +#: src/Navigation.tsx:591 msgid "Video Feed" msgstr "" @@ -13425,7 +13609,7 @@ msgstr "" msgid "Video: {0}" msgstr "" -#: src/view/screens/Profile.tsx:268 +#: src/view/screens/Profile.tsx:273 msgid "Videos" msgstr "" @@ -13486,11 +13670,21 @@ msgstr "" msgid "View details" msgstr "" +#. placeholder {0}: parsed.name +#: src/features/events/components/EventCard.tsx:52 +#: src/features/events/components/EventEmbed.tsx:67 +msgid "View event {0}" +msgstr "View event {0}" + #: src/view/com/posts/ViewFullThread.tsx:37 #: src/view/com/posts/ViewFullThread.tsx:70 msgid "View full thread" msgstr "" +#: src/screens/Event/EventHeader.tsx:155 +msgid "View host's profile" +msgstr "View host's profile" + #: src/screens/Messages/ConversationSettings/MembersAndRequests.tsx:48 msgid "View incoming group chat requests" msgstr "View incoming group chat requests" @@ -13658,6 +13852,10 @@ msgstr "" msgid "Watch on Blacksky" msgstr "Watch on Blacksky" +#: src/screens/Event/EventHeader.tsx:165 +msgid "Watch on Streamplace" +msgstr "Watch on Streamplace" + #: src/screens/StreamplaceWatch/index.tsx:113 msgid "Watch Streamplace media inside Blacksky." msgstr "Watch Streamplace media inside Blacksky." @@ -13924,8 +14122,8 @@ msgstr "" msgid "Would you like to save this as a draft to edit later?" msgstr "" -#: src/view/screens/Profile.tsx:472 -#: src/view/screens/Profile.tsx:473 +#: src/view/screens/Profile.tsx:485 +#: src/view/screens/Profile.tsx:486 msgid "Write a post" msgstr "" @@ -14599,7 +14797,7 @@ msgstr "" msgid "Your full handle will be <0>@{0}" msgstr "" -#: src/Navigation.tsx:489 +#: src/Navigation.tsx:495 #: src/screens/Search/modules/ExploreInterestsCard.tsx:68 #: src/screens/Settings/ContentAndMediaSettings.tsx:94 #: src/screens/Settings/ContentAndMediaSettings.tsx:97 diff --git a/src/screens/Event/EventHeader.tsx b/src/screens/Event/EventHeader.tsx index 5f1882275..7c036156f 100644 --- a/src/screens/Event/EventHeader.tsx +++ b/src/screens/Event/EventHeader.tsx @@ -18,6 +18,7 @@ import {InlineLinkText} from '#/components/Link' import * as ProfileCard from '#/components/ProfileCard' import * as Toast from '#/components/Toast' import {Text} from '#/components/Typography' +import {LiveWatchButton} from '#/features/events/components/LiveWatchButton' import { eventDateParts, eventPhase, @@ -34,6 +35,10 @@ import { type RsvpStatus, type RsvpView, } from '#/features/events/types' +import { + useEventLive, + useWatchStreamplace, +} from '#/features/events/useStreamplace' export function EventHeader({ event, @@ -47,6 +52,8 @@ export function EventHeader({ const t = useTheme() const {_, i18n} = useLingui() const openLink = useOpenLink() + const watch = useWatchStreamplace() + const live = useEventLive(parsed) const date = eventDateParts(parsed, i18n.locale) const localTime = formatEventTime(parsed, i18n.locale)?.local const past = eventPhase(parsed, new Date()) === 'past' @@ -108,10 +115,25 @@ export function EventHeader({ )} {place && ( - - 📍 {place} - + + + 📍 {place} + + {live && } + )} {parsed.joinUrl && !parsed.cancelled && !past && (