diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-14 19:18:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 19:18:08 +0100 |
commit | 08836ecbec9d47025fb1474ab772102df4ab0642 (patch) | |
tree | ad57b4963cfc01c8261825eadabce3cd9b0d18ab | |
parent | 6b2635c87027331f82e0bb79b743f870458872ae (diff) | |
download | voidsky-08836ecbec9d47025fb1474ab772102df4ab0642.tar.zst |
[🐴] use "Chats" instead of "Messages" (#4013)
* use "Chats" instead of "Messages" * chats to chat * use messages in the header
-rw-r--r-- | src/Navigation.tsx | 2 | ||||
-rw-r--r-- | src/screens/Messages/List/index.tsx | 4 | ||||
-rw-r--r-- | src/view/shell/bottom-bar/BottomBar.tsx | 2 | ||||
-rw-r--r-- | 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 c7ad40ed8..f68f8ed66 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -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}} /> </> ) diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index 05559b7d1..5c9b93fcd 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 212587e30..7b74880c5 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 b1f58afed..c0034e7be 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={<Message style={pal.text} width={iconWidth} />} iconFilled={<MessageFilled style={pal.text} width={iconWidth} />} - label={_(msg`Messages`)} + label={_(msg`Chat`)} /> )} <NavItem |