Unverified Commit 31b812b9 authored by Renato Becker's avatar Renato Becker Committed by GitHub

Alert improvements (#210)

* Remove connecting agent message from composer and added it as an alert.

* Removed autoClose property.

* Changed the default connecting message.

* Improve connect/disconnect alerts.

* Subscribe room when reconnect to the server.

* The new messages alert was being displayed when an edited message was being edited on server side.
parent 84eec9f3
......@@ -7,6 +7,7 @@ import styles from './styles';
export class Alert extends Component {
static defaultProps = {
timeout: 3000,
hideCloseButton: false,
}
handleDismiss = () => {
......@@ -25,7 +26,7 @@ export class Alert extends Component {
clearTimeout(this.dismissTimeout);
}
render = ({ success, warning, error, color, className, style = {}, children }) => (
render = ({ success, warning, error, color, hideCloseButton, className, style = {}, children }) => (
<div
role="alert"
className={createClassName(styles, 'alert', { success, warning, error }, [className])}
......@@ -37,13 +38,13 @@ export class Alert extends Component {
<div className={createClassName(styles, 'alert__content')}>
{children}
</div>
<button
{!hideCloseButton && <button
onClick={this.handleDismiss}
className={createClassName(styles, 'alert__close')}
aria-label={I18n.t('Dismiss this alert')}
>
<CloseIcon width={20} />
</button>
</button>}
</div>
)
}
......@@ -17,6 +17,8 @@ import GDPRAgreement from '../../routes/GDPRAgreement';
import Register from '../../routes/Register';
import { Provider as StoreProvider, Consumer as StoreConsumer } from '../../store';
import { visibility } from '../helpers';
import constants from '../../lib/constants';
import { initRoom, loadMessages } from '../../lib/room';
export class App extends Component {
......@@ -118,6 +120,36 @@ export class App extends Component {
this.forceUpdate();
}
handleConnected = async() => {
const { alerts: oldAlerts, dispatch } = this.props;
const skipAlerts = [constants.livechatDisconnectedAlertId, constants.livechatConnectedAlertId];
const alerts = oldAlerts.filter((item) => !skipAlerts.includes(item.id));
alerts.push({
id: constants.livechatConnectedAlertId,
children: I18n.t('Livechat connected.'),
success: true,
});
await loadMessages();
await dispatch({ alerts });
}
handleDisconnected = async() => {
const { alerts: oldAlerts, dispatch } = this.props;
const skipAlerts = [constants.livechatDisconnectedAlertId, constants.livechatConnectedAlertId];
const alerts = oldAlerts.filter((item) => !skipAlerts.includes(item.id));
alerts.push({
id: constants.livechatDisconnectedAlertId,
children: I18n.t('Livechat is not connected.'),
error: true,
timeout: 0,
});
await dispatch({ alerts });
}
async initialize() {
// TODO: split these behaviors into composable components
await Livechat.connect();
......@@ -164,6 +196,9 @@ export class App extends Component {
I18n.changeLocale(normalizeLanguageString(configLanguage() || browserLanguage()));
I18n.on('change', this.handleLanguageChange);
Livechat.onStreamData('connected', this.handleConnected);
Livechat.onStreamData('close', this.handleDisconnected);
}
async finalize() {
......
......@@ -145,14 +145,10 @@ export class Composer extends Component {
this.value = this.props.value;
}
// we only update composer if connecting prop changed or if value length changed from 0 to 1 or 1 to 0
// we only update composer if value length changed from 0 to 1 or 1 to 0
// everything else is managed by this.el
shouldComponentUpdate({ connecting: nextConnecting, value: nextValue }) {
const { connecting, value } = this.props;
if (nextConnecting !== connecting) {
return true;
}
shouldComponentUpdate({ value: nextValue }) {
const { value } = this.props;
const nextValueEmpty = !nextValue || nextValue.length === 0;
const valueEmpty = !value || value.length === 0;
......@@ -176,31 +172,27 @@ export class Composer extends Component {
replaceCaret(el);
}
render = ({ connecting, pre, post, value, placeholder, onChange, onSubmit, onUpload, className, style }) => (
<div className={createClassName(styles, 'composer', { connecting }, [className])} style={style}>
{connecting ? null : pre}
render = ({ pre, post, value, placeholder, onChange, onSubmit, onUpload, className, style }) => (
<div className={createClassName(styles, 'composer', { }, [className])} style={style}>
{pre}
<div
ref={this.handleRef}
{...(
connecting ?
{
'data-placeholder': I18n.t('Connecting to an agent...'),
} :
{
dangerouslySetInnerHTML: {
__html: parse(value),
},
contentEditable: true,
'data-placeholder': placeholder,
onInput: this.handleInput(onChange),
onKeypress: this.handleKeypress(onSubmit),
onPaste: this.handlePaste(onUpload),
onDrop: this.handleDrop(onUpload),
}
{
dangerouslySetInnerHTML: {
__html: parse(value),
},
contentEditable: true,
'data-placeholder': placeholder,
onInput: this.handleInput(onChange),
onKeypress: this.handleKeypress(onSubmit),
onPaste: this.handlePaste(onUpload),
onDrop: this.handleDrop(onUpload),
}
)}
className={createClassName(styles, 'composer__input')}
/>
{connecting ? null : post}
{post}
</div>
)
}
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Gesprek afgehandel",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "opsies",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "تم إنهاء المحادثة",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "خيارات",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Söhbət başa çatdı",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Seçimlər",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Размова скончана",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Опцыі",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Разговорът завърши",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Настроики",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Conversation finished",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Options",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Conversa acabada",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Opcions",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Konverzace ukončena",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Volby",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Mae'r sgwrs wedi gorffen",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Dewisiadau",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Samtalen er slut",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Indstillinger",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Gespräch beendet",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Optionen",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Gespräch beendet",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Optionen",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Conversation finished",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Options",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Η συνομιλία τελείωσε",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Επιλογές",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Conversation finished",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Options",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Konversacio finis",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Opcioj",
"please_tell_us_some_informations_to_start_the_chat_7d6b71de": "Please, tell us some informations to start the chat",
"please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
"restore_chat_3bfecf2b": "Restore chat",
"room_name_changed_9c42350a": "Room name changed",
......
......@@ -10,7 +10,6 @@
"choose_a_department_b106da55": "Choose a department...",
"choose_a_department_fe9755fd": "Choose a department",
"choose_an_option_26ac97d2": "Choose an option...",
"connecting_to_an_agent_5d1a34c4": "Connecting to an agent...",
"conversation_finished_6a0f2811": "Conversación terminada",
"count_new_messages_since_since_47c9d2a0": {
"one": "One new message since %{since}",
......@@ -23,6 +22,8 @@
"drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
"email_22a7d52d": "Email",
"enable_notifications_a3daf4b1": "Enable notifications",
"error_closing_chat_4c5e29d7": "Error closing chat.",
"error_removing_user_data_ce507478": "Error removing user data.",
"error_starting_a_new_conversation_reason_a1b491a1": "Error starting a new conversation: %{reason}",
"expand_chat_a0045dbd": "Expand chat",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
......@@ -37,6 +38,8 @@
"insert_your_email_here_2e37fc94": "Insert your email here...",
"insert_your_name_here_3a8f5f46": "Insert your name here...",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
"media_types_not_accepted_4e25676a": "Media Types Not Accepted.",
"message_5c38209d": "Message",
"minimize_chat_804b3135": "Minimize chat",
......@@ -48,6 +51,7 @@
"ok_c47544a2": "OK",
"options_3ab0ea65": "Opciones",