[🐴] use "Chats" instead of "Messages" (#4013)
* use "Chats" instead of "Messages" * chats to chat * use messages in the headerzio/stable
parent
6b2635c870
commit
08836ecbec
|
@ -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}}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -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`
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue