From 08836ecbec9d47025fb1474ab772102df4ab0642 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 14 May 2024 19:18:08 +0100 Subject: [PATCH] =?UTF-8?q?[=F0=9F=90=B4]=20use=20"Chats"=20instead=20of?= =?UTF-8?q?=20"Messages"=20(#4013)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * use "Chats" instead of "Messages" * chats to chat * use messages in the header --- src/Navigation.tsx | 2 +- src/screens/Messages/List/index.tsx | 4 ++-- src/view/shell/bottom-bar/BottomBar.tsx | 2 +- src/view/shell/desktop/LeftNav.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Navigation.tsx b/src/Navigation.tsx index c7ad40ed84..f68f8ed660 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -304,7 +304,7 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) { MessagesSettingsScreen} - options={{title: title(msg`Messaging settings`), requireAuth: true}} + options={{title: title(msg`Chat settings`), requireAuth: true}} /> ) diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index 05559b7d19..5c9b93fcdb 100644 --- a/src/screens/Messages/List/index.tsx +++ b/src/screens/Messages/List/index.tsx @@ -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} diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx index 212587e30b..7b74880c52 100644 --- a/src/view/shell/bottom-bar/BottomBar.tsx +++ b/src/view/shell/bottom-bar/BottomBar.tsx @@ -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` diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index b1f58afedc..c0034e7bec 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -341,7 +341,7 @@ export function DesktopLeftNav() { count={numUnreadMessages.numUnread} icon={} iconFilled={} - label={_(msg`Messages`)} + label={_(msg`Chat`)} /> )}