Add ability to copy the message

This commit is contained in:
Justin 2022-08-30 10:42:55 -04:00
parent 5dd44d3094
commit 3939e27827
53 changed files with 84 additions and 72 deletions

View File

@ -29,8 +29,8 @@ const BIG_EMOJI_LIMIT = 1;
const messages = defineMessages({ const messages = defineMessages({
today: { id: 'chats.dividers.today', defaultMessage: 'Today' }, today: { id: 'chats.dividers.today', defaultMessage: 'Today' },
more: { id: 'chats.actions.more', defaultMessage: 'More' }, more: { id: 'chats.actions.more', defaultMessage: 'More' },
delete: { id: 'chats.actions.delete', defaultMessage: 'Delete message' }, delete: { id: 'chats.actions.delete', defaultMessage: 'Delete' },
report: { id: 'chats.actions.report', defaultMessage: 'Report user' }, copy: { id: 'chats.actions.copy', defaultMessage: 'Copy' },
}); });
type TimeFormat = 'today' | 'date'; type TimeFormat = 'today' | 'date';
@ -203,29 +203,31 @@ const ChatMessageList: React.FC<IChatMessageList> = ({ chat, autosize }) => {
const renderDivider = (key: React.Key, text: string) => <Divider key={key} text={text} textSize='sm' />; const renderDivider = (key: React.Key, text: string) => <Divider key={key} text={text} textSize='sm' />;
const handleReportUser = (userId: string) => { const handleCopyText = (chatMessage: IChatMessage) => {
return () => { if (navigator.clipboard) {
dispatch(initReportById(userId)); navigator.clipboard.writeText(chatMessage.content);
}; }
}; };
const renderMessage = (chatMessage: any) => { const renderMessage = (chatMessage: any) => {
const isMyMessage = chatMessage.account_id === me; const isMyMessage = chatMessage.account_id === me;
const menu: Menu = [ const menu: Menu = [];
{
if (navigator.clipboard) {
menu.push({
text: intl.formatMessage(messages.copy),
action: () => handleCopyText(chatMessage),
icon: require('@tabler/icons/copy.svg'),
});
}
if (isMyMessage) {
menu.push({
text: intl.formatMessage(messages.delete), text: intl.formatMessage(messages.delete),
action: () => handleDeleteMessage.mutate(chatMessage.id), action: () => handleDeleteMessage.mutate(chatMessage.id),
icon: require('@tabler/icons/trash.svg'), icon: require('@tabler/icons/trash.svg'),
destructive: true, destructive: true,
},
];
if (chatMessage.account_id !== me) {
menu.push({
text: intl.formatMessage(messages.report),
action: handleReportUser(chatMessage.account_id),
icon: require('@tabler/icons/flag.svg'),
}); });
} }
@ -244,19 +246,29 @@ const ChatMessageList: React.FC<IChatMessageList> = ({ chat, autosize }) => {
'opacity-50': chatMessage.pending, 'opacity-50': chatMessage.pending,
})} })}
> >
{isMyMessage ? ( {menu.length > 0 && (
<div className='hidden focus:block group-hover:block mr-2 text-gray-500'> <div
className={classNames({
'hidden focus:block group-hover:block text-gray-500': true,
'mr-2 order-1': isMyMessage,
'ml-2 order-2': !isMyMessage,
})}
>
<DropdownMenuContainer <DropdownMenuContainer
items={menu} items={menu}
src={require('@tabler/icons/dots.svg')} src={require('@tabler/icons/dots.svg')}
title={intl.formatMessage(messages.more)} title={intl.formatMessage(messages.more)}
/> />
</div> </div>
) : null} )}
<HStack <HStack
alignItems='center' alignItems='center'
className='max-w-[85%]' className={classNames({
'max-w-[85%]': true,
'order-2': isMyMessage,
'order-1': !isMyMessage,
})}
justifyContent={isMyMessage ? 'end' : 'start'} justifyContent={isMyMessage ? 'end' : 'start'}
> >
<div <div

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Чат", "chat_panels.main_window.title": "Чат",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",

View File

@ -168,7 +168,7 @@
"chat_box.input.placeholder": "Type a message", "chat_box.input.placeholder": "Type a message",
"chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.", "chat_panels.main_window.empty": "No chats found. To start a chat, visit a user's profile.",
"chat_panels.main_window.title": "Chats", "chat_panels.main_window.title": "Chats",
"chats.actions.delete": "Delete message", "chats.actions.delete": "Delete",
"chats.actions.more": "More", "chats.actions.more": "More",
"chats.actions.report": "Report user", "chats.actions.report": "Report user",
"chats.attachment": "Attachment", "chats.attachment": "Attachment",