[🐴] 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 <Stack.Screen
name="MessagesSettings" name="MessagesSettings"
getComponent={() => MessagesSettingsScreen} 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} isLoading={isLoading}
isError={isError} isError={isError}
emptyType="results" emptyType="results"
emptyTitle={_(msg`No messages yet`)} emptyTitle={_(msg`No chats yet`)}
emptyMessage={_( 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)} errorMessage={cleanError(error)}
onRetry={isError ? refetch : undefined} onRetry={isError ? refetch : undefined}

View File

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

View File

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