[🐴] use "Chats" instead of "Messages" (#4013)

* use "Chats" instead of "Messages"

* chats to chat

* use messages in the header
zio/stable
Samuel Newman 2024-05-14 19:18:08 +01:00 committed by GitHub
parent 6b2635c870
commit 08836ecbec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -304,7 +304,7 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
<Stack.Screen
name="MessagesSettings"
getComponent={() => MessagesSettingsScreen}
options={{title: title(msg`Messaging settings`), requireAuth: true}}
options={{title: title(msg`Chat settings`), requireAuth: true}}
/>
</>
)

View File

@ -195,9 +195,9 @@ export function MessagesScreen({navigation, route}: Props) {
isLoading={isLoading}
isError={isError}
emptyType="results"
emptyTitle={_(msg`No messages yet`)}
emptyTitle={_(msg`No chats yet`)}
emptyMessage={_(
msg`You have no messages yet. Start a conversation with someone!`,
msg`You have no chats yet. Start a conversation with someone!`,
)}
errorMessage={cleanError(error)}
onRetry={isError ? refetch : undefined}

View File

@ -216,7 +216,7 @@ export function BottomBar({navigation}: BottomTabBarProps) {
notificationCount={numUnreadMessages.numUnread}
accessible={true}
accessibilityRole="tab"
accessibilityLabel={_(msg`Messages`)}
accessibilityLabel={_(msg`Chat`)}
accessibilityHint={
numUnreadMessages.count > 0
? `${numUnreadMessages.numUnread} unread`

View File

@ -341,7 +341,7 @@ export function DesktopLeftNav() {
count={numUnreadMessages.numUnread}
icon={<Message style={pal.text} width={iconWidth} />}
iconFilled={<MessageFilled style={pal.text} width={iconWidth} />}
label={_(msg`Messages`)}
label={_(msg`Chat`)}
/>
)}
<NavItem