From 471ee4d1792288c2cd99f683dca076021eebe142 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 30 Aug 2022 13:08:04 -0500 Subject: [PATCH] Rename chats to messages --- app/soapbox/components/sidebar-navigation.tsx | 4 ++-- app/soapbox/components/thumb_navigation.tsx | 4 ++-- app/soapbox/features/chats/index.tsx | 2 +- app/soapbox/locales/en.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/soapbox/components/sidebar-navigation.tsx b/app/soapbox/components/sidebar-navigation.tsx index 583006070..e7a65326d 100644 --- a/app/soapbox/components/sidebar-navigation.tsx +++ b/app/soapbox/components/sidebar-navigation.tsx @@ -113,9 +113,9 @@ const SidebarNavigation = () => { return ( } + text={} /> ); } diff --git a/app/soapbox/components/thumb_navigation.tsx b/app/soapbox/components/thumb_navigation.tsx index e46f7c7c3..1935526ed 100644 --- a/app/soapbox/components/thumb_navigation.tsx +++ b/app/soapbox/components/thumb_navigation.tsx @@ -17,8 +17,8 @@ const ThumbNavigation: React.FC = (): JSX.Element => { if (features.chats) { return ( } + src={require('@tabler/icons/mail.svg')} + text={} to='/chats' exact count={chatsCount} diff --git a/app/soapbox/features/chats/index.tsx b/app/soapbox/features/chats/index.tsx index 5635cbdc8..eeb34efcd 100644 --- a/app/soapbox/features/chats/index.tsx +++ b/app/soapbox/features/chats/index.tsx @@ -12,7 +12,7 @@ import { Column } from '../../components/ui'; import ChatList from './components/chat-list'; const messages = defineMessages({ - title: { id: 'column.chats', defaultMessage: 'Chats' }, + title: { id: 'column.chats', defaultMessage: 'Messages' }, searchPlaceholder: { id: 'chats.search_placeholder', defaultMessage: 'Start a chat with…' }, }); diff --git a/app/soapbox/locales/en.json b/app/soapbox/locales/en.json index 5a0f5deb5..e0ff0b13e 100644 --- a/app/soapbox/locales/en.json +++ b/app/soapbox/locales/en.json @@ -194,7 +194,7 @@ "column.birthdays": "Birthdays", "column.blocks": "Blocked users", "column.bookmarks": "Bookmarks", - "column.chats": "Chats", + "column.chats": "Messages", "column.community": "Local timeline", "column.crypto_donate": "Donate Cryptocurrency", "column.developers": "Developers",