diff --git a/src/components/ageAssurance/AgeAssurancePrompt.tsx b/src/components/ageAssurance/AgeAssurancePrompt.tsx index 1f4a93bc42..2dc9c9132d 100644 --- a/src/components/ageAssurance/AgeAssurancePrompt.tsx +++ b/src/components/ageAssurance/AgeAssurancePrompt.tsx @@ -55,9 +55,11 @@ function Inner({style}: ViewStyleProp & {}) { - You're currently accessing Bluesky from a location that by law - requires you to verify your age prior to accessing certain content - and features. + + You're currently accessing Bluesky from a location that by law + requires you to verify your age prior to accessing certain content + and features. + { return ( fallback || ( @@ -38,16 +51,58 @@ export function AgeRestrictedScreen({ - Not allowed + {screenTitle ?? Unavailable} - - - We're sorry, but this content is unavailable. + + + + + + + + + + You're currently accessing Bluesky from a location that by law + requires you to verify your age prior to accessing certain + content and features. + + + + + 👉 You must complete age verification to access this screen. + + + + + + + + Verification takes only a few minutes + + + + diff --git a/src/screens/Messages/ChatList.tsx b/src/screens/Messages/ChatList.tsx index 093ba7aeed..ae4a99abdb 100644 --- a/src/screens/Messages/ChatList.tsx +++ b/src/screens/Messages/ChatList.tsx @@ -67,8 +67,9 @@ function keyExtractor(item: ListItem) { type Props = NativeStackScreenProps export function MessagesScreen(props: Props) { + const {_} = useLingui() return ( - + ) diff --git a/src/screens/Messages/Conversation.tsx b/src/screens/Messages/Conversation.tsx index 032080599e..74ccfa979a 100644 --- a/src/screens/Messages/Conversation.tsx +++ b/src/screens/Messages/Conversation.tsx @@ -49,8 +49,9 @@ type Props = NativeStackScreenProps< > export function MessagesConversationScreen(props: Props) { + const {_} = useLingui() return ( - + ) diff --git a/src/screens/Messages/Inbox.tsx b/src/screens/Messages/Inbox.tsx index d7ddfad0a6..2fcefcdc44 100644 --- a/src/screens/Messages/Inbox.tsx +++ b/src/screens/Messages/Inbox.tsx @@ -48,8 +48,9 @@ import {RequestListItem} from './components/RequestListItem' type Props = NativeStackScreenProps export function MessagesInboxScreen(props: Props) { + const {_} = useLingui() return ( - + ) diff --git a/src/screens/Messages/Settings.tsx b/src/screens/Messages/Settings.tsx index 539201d4be..9e4aa320b0 100644 --- a/src/screens/Messages/Settings.tsx +++ b/src/screens/Messages/Settings.tsx @@ -24,8 +24,9 @@ type AllowIncoming = 'all' | 'none' | 'following' type Props = NativeStackScreenProps export function MessagesSettingsScreen(props: Props) { + const {_} = useLingui() return ( - + )