diff --git a/CHANGELOG.md b/CHANGELOG.md
index ded861ccf..5ecdb76f1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,15 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+## 1.5.0 - 2020-05-20
+* [NEW] Support Registration Form custom fields (#407) …
+* [NEW] Translated to Hebrew (#348)
+* [NEW] Update es.json (#357)
+* [NEW] Russian translation (#359)
+* [FIX] Dutch translations (#391)
+* [IMPROVE] Update ro.json (397)
+* [FIX] Dutch translations
+
## 1.4.0 - 2020-03-19
* [NEW] Add new API method the set the default Agent before chatting (#383)
* [NEW] Keep trigger messages after the conversation starts. (#384)
diff --git a/package.json b/package.json
index 462b21090..7bd533189 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,10 @@
{
"name": "@rocket.chat/livechat",
- "version": "1.4.0",
+ "version": "1.5.0",
"files": [
"/build"
],
+
"license": "MIT",
"repository": {
"type": "git",
diff --git a/src/components/App/index.js b/src/components/App/index.js
index b93be015b..a0f2f0117 100644
--- a/src/components/App/index.js
+++ b/src/components/App/index.js
@@ -19,6 +19,13 @@ import { parentCall } from '../../lib/parentCall';
import userPresence from '../../lib/userPresence';
import Connection from '../../lib/connection';
+function isRTL(s) {
+ const rtlChars = '\u0591-\u07FF\u200F\u202B\u202E\uFB1D-\uFDFD\uFE70-\uFEFC';
+ const rtlDirCheck = new RegExp(`^[^${ rtlChars }]*?[${ rtlChars }]`);
+
+ return rtlDirCheck.test(s);
+}
+
export class App extends Component {
state = {
initialized: false,
@@ -162,6 +169,10 @@ export class App extends Component {
this.finalize();
}
+ componentDidUpdate() {
+ document.dir = isRTL(I18n.t('Yes')) ? 'rtl' : 'auto';
+ }
+
render = ({
sound,
undocked,
diff --git a/src/components/Form/SelectInput/index.js b/src/components/Form/SelectInput/index.js
index b4df2c028..9fd214e27 100644
--- a/src/components/Form/SelectInput/index.js
+++ b/src/components/Form/SelectInput/index.js
@@ -38,6 +38,7 @@ export class SelectInput extends Component {
onInput,
className,
style = {},
+ ...props
}) => (
{Array.from(options).map(({ value, label }, key) => (
diff --git a/src/components/Form/TextInput/index.js b/src/components/Form/TextInput/index.js
index 289aa1b14..69f27cca6 100644
--- a/src/components/Form/TextInput/index.js
+++ b/src/components/Form/TextInput/index.js
@@ -15,6 +15,7 @@ export const TextInput = memo(({
onInput,
className,
style = {},
+ ...props
}) => (
multiline
? (
@@ -28,6 +29,7 @@ export const TextInput = memo(({
onInput={onInput}
className={createClassName(styles, 'text-input', { disabled, error, small, multiline }, [className])}
style={style}
+ {...props}
/>
)
: (
@@ -41,6 +43,7 @@ export const TextInput = memo(({
onInput={onInput}
className={createClassName(styles, 'text-input', { disabled, error, small }, [className])}
style={style}
+ {...props}
/>
)
));
diff --git a/src/components/Form/index.js b/src/components/Form/index.js
index a95d5875b..c57003e84 100644
--- a/src/components/Form/index.js
+++ b/src/components/Form/index.js
@@ -20,11 +20,14 @@ export class Form extends MemoizedComponent {
}
export const Validations = {
- nonEmpty: (value) => (!value ? 'Field required' : undefined),
+ nonEmpty: ({ value }) => (!value ? I18n.t('Field required') : undefined),
- email: (value) => (!/^\S+@\S+\.\S+/.test(String(value).toLowerCase()) ? 'Invalid email' : null),
+ email: ({ value }) => (!/^\S+@\S+\.\S+/.test(String(value).toLowerCase()) ? I18n.t('Invalid email') : null),
+
+ custom: ({ value, pattern }) => (new RegExp(pattern, 'i').test(String(value)) ? null : I18n.t('Invalid value')),
};
+
export { FormField } from './FormField';
export { TextInput } from './TextInput';
export { PasswordInput } from './PasswordInput';
diff --git a/src/components/helpers.js b/src/components/helpers.js
index acb24b2aa..a208f5a15 100644
--- a/src/components/helpers.js
+++ b/src/components/helpers.js
@@ -125,6 +125,10 @@ export const sortArrayByColumn = (array, column, inverted) => array.sort((a, b)
return 1;
});
+export const parseOfflineMessage = (fields = {}) => {
+ const host = window.location.origin;
+ return Object.assign(fields, { host });
+};
export const normalizeDOMRect = ({ left, top, right, bottom }) => ({ left, top, right, bottom });
diff --git a/src/i18n/af.json b/src/i18n/af.json
index b3c08fd0a..1fcd94fa9 100644
--- a/src/i18n/af.json
+++ b/src/i18n/af.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ar.json b/src/i18n/ar.json
index 29e5d8a42..2358b7426 100644
--- a/src/i18n/ar.json
+++ b/src/i18n/ar.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/az.json b/src/i18n/az.json
index 6393db6a5..5f40cdc48 100644
--- a/src/i18n/az.json
+++ b/src/i18n/az.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/be_BY.json b/src/i18n/be_BY.json
index ebb43ff12..e1fc01109 100644
--- a/src/i18n/be_BY.json
+++ b/src/i18n/be_BY.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/bg.json b/src/i18n/bg.json
index 9381cd1f1..beaebeb0e 100644
--- a/src/i18n/bg.json
+++ b/src/i18n/bg.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/bs.json b/src/i18n/bs.json
index f71da607c..3dc5d7232 100644
--- a/src/i18n/bs.json
+++ b/src/i18n/bs.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ca.json b/src/i18n/ca.json
index d4a2dcf24..2bc12bef4 100644
--- a/src/i18n/ca.json
+++ b/src/i18n/ca.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/cs.json b/src/i18n/cs.json
index fa41b5204..54efed54a 100644
--- a/src/i18n/cs.json
+++ b/src/i18n/cs.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/cy.json b/src/i18n/cy.json
index 3d539f95e..89a00aed3 100644
--- a/src/i18n/cy.json
+++ b/src/i18n/cy.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/da.json b/src/i18n/da.json
index 25fda5ad2..cd5e9c945 100644
--- a/src/i18n/da.json
+++ b/src/i18n/da.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/de.json b/src/i18n/de.json
index 070950313..e694fa34a 100644
--- a/src/i18n/de.json
+++ b/src/i18n/de.json
@@ -26,6 +26,7 @@
"error_removing_user_data_ce507478": "Fehler, lösche Nutzer Daten",
"error_starting_a_new_conversation_reason_a1b491a1": "Fehler starte eine neue Konversation: %{reason}",
"expand_chat_a0045dbd": "Chat vergrößern",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "Die Datei überschreitet die maximal erlaubte Größe von: %{size}.",
"fileupload_error_9eedee68": "Datei Upload Fehler",
"finish_this_chat_87b79542": "Diesen Chat beenden",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "Ich stimme zu",
"i_need_help_with_61054e21": "Ich brauche Hilfe mit...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Falls Sie noch Fragen haben, drücken Sie einfach unten den Knopf, um einen neuen Chat zu beginnen.",
- "insert_your_email_here_2e37fc94": "Tragen Sie hier Ihre Email Adresse ein...",
- "insert_your_name_here_3a8f5f46": "Tragen Sie hier Ihren Namen ein...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Hinterlassen Sie eine Nachricht",
"livechat_connected_afee1c5b": "Livechat verbunden.",
"livechat_is_not_connected_b40328ca": "Livechat ist nicht verbunden.",
diff --git a/src/i18n/de_AT.json b/src/i18n/de_AT.json
index 0b2576e65..e737e5b5d 100644
--- a/src/i18n/de_AT.json
+++ b/src/i18n/de_AT.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/default.json b/src/i18n/default.json
index 3f6a12a35..7c67a198d 100644
--- a/src/i18n/default.json
+++ b/src/i18n/default.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/el.json b/src/i18n/el.json
index 1c1cad07d..9706ddfdb 100644
--- a/src/i18n/el.json
+++ b/src/i18n/el.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 3f6a12a35..48bdf09e2 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid e-mail",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/eo.json b/src/i18n/eo.json
index ed09ad8dd..f91a2d3e0 100644
--- a/src/i18n/eo.json
+++ b/src/i18n/eo.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/es.json b/src/i18n/es.json
index 2db5763e1..897724b45 100644
--- a/src/i18n/es.json
+++ b/src/i18n/es.json
@@ -1,80 +1,82 @@
{
"es": {
- "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Are you sure you want to finish this chat?",
- "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Are you sure you want to remove all of your personal data?",
- "are_you_sure_you_want_to_switch_the_department_d50a0b08": "¿Está seguro que quiere cambiar el departamento?",
+ "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "¿Estás seguro que quieres finalizar este chat?",
+ "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "¿Estás seguro que quieres remover todos sus datos personales?",
+ "are_you_sure_you_want_to_switch_the_department_d50a0b08": "¿Estás seguro que quieres cambiar el departamento?",
"cancel_caeb1e68": "Cancelar",
- "change_department_1d671538": "Change department",
- "change_department_523a16e8": "Change Department",
- "chat_finished_effbd589": "Chat Finished",
- "choose_a_department_b106da55": "Choose a department...",
- "choose_a_department_fe9755fd": "Choose a department",
- "choose_an_option_26ac97d2": "Choose an option...",
+ "change_department_1d671538": "Cambiar el Departamento",
+ "change_department_523a16e8": "Cambiar el departamento",
+ "chat_finished_effbd589": "Chat Terminado",
+ "choose_a_department_b106da55": "Elija un departmento...",
+ "choose_a_department_fe9755fd": "Elija un departmento",
+ "choose_an_option_26ac97d2": "Elija una opción...",
"conversation_finished_6a0f2811": "Conversación terminada",
"count_new_messages_since_since_47c9d2a0": {
- "one": "One new message since %{since}",
- "other": "%{count} new messages since %{since}"
+ "one": "Un nuevo mensaje desde %{since}",
+ "other": "%{count} nuesvos mensajes desde %{since}"
},
"department_switched_cff305cf": "Departamento cambiado",
- "departments_3826b025": "Departments",
- "disable_notifications_dd6a3180": "Disable notifications",
- "dismiss_this_alert_ea9b3104": "Dismiss this alert",
- "drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
+ "departments_3826b025": "Departmentos",
+ "disable_notifications_dd6a3180": "Desactivar notificaciones",
+ "dismiss_this_alert_ea9b3104": "Descartar esta alerta",
+ "drop_here_to_upload_a_file_e5f4dd60": "Arrastre aquí para subir un archivo",
"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}.",
- "fileupload_error_9eedee68": "FileUpload Error",
- "finish_this_chat_87b79542": "Finish this chat",
- "forget_remove_my_data_e1d68cdd": "Forget/Remove my data",
+ "enable_notifications_a3daf4b1": "Activar notificaciones",
+ "error_closing_chat_4c5e29d7": "Error cerrando el chat.",
+ "error_removing_user_data_ce507478": "Error removiendo datos de usuario.",
+ "error_starting_a_new_conversation_reason_a1b491a1": "Error comenzado una nueva conversación: %{reason}",
+ "expand_chat_a0045dbd": "Expandir chat",
+ "field_required_fc5c6b05": "Field required",
+ "file_exceeds_allowed_size_of_size_bd65c389": "El archivo excede el tamaño permitido %{size}.",
+ "fileupload_error_9eedee68": "Error en subida de archivo",
+ "finish_this_chat_87b79542": "Finalizar este chat",
+ "forget_remove_my_data_e1d68cdd": "Olvidar/Eliminar mis datos",
"gdpr_8b366c2b": "GDPR",
- "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Go to **menu options → Forget/Remove my personal data** to request the immediate removal of your data.",
- "i_agree_df2ecbd4": "I Agree",
- "i_need_help_with_61054e21": "I need help with...",
- "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "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",
- "name_1aed4a1b": "Name",
- "need_help_803a61": "Need help?",
- "new_chat_f525c39e": "New Chat",
- "no_available_agents_to_transfer_3ae30cec": "No available agents to transfer",
+ "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Ir al **menu optiones → Olvidar/Eliminar mis datos** para solicitar la inmediata remoción de tus datos.",
+ "i_agree_df2ecbd4": "Acepto",
+ "i_need_help_with_61054e21": "Necesito ayuda con...",
+ "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Si tiene otra pregunta, simplemente presione el botón a continuación para iniciar un nuevo chat.",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
+ "leave_a_message_5b581048": "Deje un mensaje",
+ "livechat_connected_afee1c5b": "Livechat conectado.",
+ "livechat_is_not_connected_b40328ca": "Livechat no está conectado.",
+ "media_types_not_accepted_4e25676a": "Tipos de Medios No Aceptado.",
+ "message_5c38209d": "Mensage",
+ "minimize_chat_804b3135": "Minimizar chat",
+ "name_1aed4a1b": "Nombre",
+ "need_help_803a61": "¿Necesita ayuda?",
+ "new_chat_f525c39e": "Nuevo Chat",
+ "no_available_agents_to_transfer_3ae30cec": "No hay agentes disponibles para transferir",
"no_e16d9132": "No",
"ok_c47544a2": "OK",
"options_3ab0ea65": "Opciones",
- "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Please, tell us some information to start the chat",
- "please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
+ "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Por favor, ingrese alguna información para iniciar el chat",
+ "please_wait_for_the_next_available_agent_b2a49c4c": "Por favor, espere al próximo agente disponible.",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
- "restore_chat_3bfecf2b": "Restore chat",
- "room_name_changed_9c42350a": "Room name changed",
+ "restore_chat_3bfecf2b": "Restaurar chat",
+ "room_name_changed_9c42350a": "Nombre de Sala cambiado",
"send_e3bd0ed0": "Enviar",
- "sound_is_off_a743f419": "Sound is off",
- "sound_is_on_98a9ec58": "Sound is on",
- "start_chat_8606d464": "Start chat",
- "thanks_for_talking_with_us_719cce22": "Thanks for talking with us",
- "the_controller_of_your_personal_data_is_company_na_c82f5567": "The controller of your personal data is [Company Name], with registered office at [Company Address]. To start the chat you agree that your personal data shall be processed and trasmitted in accordance with the General Data Protection Regulation (GDPR).",
- "type_your_message_here_6a05bd0f": "Type your message here",
- "unread_messages_5e18e7b7": "unread messages",
- "user_added_by_525b6b11": "User added by",
- "user_joined_407ba0d": "Usuario unido",
+ "sound_is_off_a743f419": "Sonido encendido",
+ "sound_is_on_98a9ec58": "Sonido apagado",
+ "start_chat_8606d464": "Comenzar chat",
+ "thanks_for_talking_with_us_719cce22": "Gracias por hablar con nosotros",
+ "the_controller_of_your_personal_data_is_company_na_c82f5567": "El controlador de tus datos personales es [Company Address], con domicilio en [Company Address]. Para iniciar el chat, acepta que sus datos personales se procesen y transmitan de acuerdo con el Reglamento General de Protección de Datos (GDPR).",
+ "type_your_message_here_6a05bd0f": "Escribe tu mensaje aquí",
+ "unread_messages_5e18e7b7": "mensajes no leídos",
+ "user_added_by_525b6b11": "Usuario agregado por",
+ "user_joined_407ba0d": "Usuario agregado",
"user_left_58ed9c36": "El usuario ha abandonado la sala",
- "user_removed_by_e990f856": "User removed by",
- "waiting_queue_800061da": "Waiting queue...",
+ "user_removed_by_e990f856": "Usuario removido por",
+ "waiting_queue_800061da": "Esperando cola...",
"we_are_not_online_right_now_please_leave_a_message_57df1966": "No estamos en línea en este momento. Por favor, deje un mensaje.",
- "welcome_dd4e7151": "Welcome",
- "write_your_message_6eee0188": "Write your message...",
+ "welcome_dd4e7151": "Bienvenido",
+ "write_your_message_6eee0188": "Escribe tu mensaje...",
"yes_dde87d5": "Si",
- "you_browser_doesn_t_support_audio_element_3391386f": "You browser doesn't support audio element",
- "you_browser_doesn_t_support_video_element_e9cbd81e": "You browser doesn't support video element",
- "your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
- "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
+ "you_browser_doesn_t_support_audio_element_3391386f": "Tu navegador no soporta elementos de audio",
+ "you_browser_doesn_t_support_video_element_e9cbd81e": "Tu navegador no soporta elementos de video",
+ "your_spot_is_spot_a35cd288": "Tu spot es #%{spot}",
+ "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Tu spot es #%{spot} (Tiempo de espera estimado: %{estimatedWaitTime})"
}
}
\ No newline at end of file
diff --git a/src/i18n/et.json b/src/i18n/et.json
index 070e6e36e..b08f5b16f 100644
--- a/src/i18n/et.json
+++ b/src/i18n/et.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/eu.json b/src/i18n/eu.json
index 906332040..062f6711c 100644
--- a/src/i18n/eu.json
+++ b/src/i18n/eu.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/fa.json b/src/i18n/fa.json
index 18e9dbdd5..2e3be5b88 100644
--- a/src/i18n/fa.json
+++ b/src/i18n/fa.json
@@ -26,6 +26,7 @@
"error_removing_user_data_ce507478": "خطا در حذف اطلاعات کاربر.",
"error_starting_a_new_conversation_reason_a1b491a1": "خطا در ایجاد گفتگوی جدید: %{reason}",
"expand_chat_a0045dbd": "گسترش گفتگو",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "حجم فایل بیشتر از حد مجاز (%{size}) است.",
"fileupload_error_9eedee68": "خطا در آپلود فایل",
"finish_this_chat_87b79542": "پایان این گفتگو",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "موافقم",
"i_need_help_with_61054e21": "نیاز به کمک در بخش زیر را دارم",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "اگر هرگونه سوال دیگری دارید، بر روی دکمه ی زیر کلیک کنید تا یک گفتگو آغاز شود",
- "insert_your_email_here_2e37fc94": "ایمیل خود را وارد کنید...",
- "insert_your_name_here_3a8f5f46": "نام خود را وارد کنید...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "یک پیغام بگذارید",
"livechat_connected_afee1c5b": "Livechat وصل شد.",
"livechat_is_not_connected_b40328ca": "Livechat وصل نشد.",
@@ -77,4 +79,4 @@
"your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
"your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
}
-}
+}
\ No newline at end of file
diff --git a/src/i18n/fi.json b/src/i18n/fi.json
index 47a6929c3..d1ae08aab 100644
--- a/src/i18n/fi.json
+++ b/src/i18n/fi.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/fr.json b/src/i18n/fr.json
index 9feac684a..331e70b44 100644
--- a/src/i18n/fr.json
+++ b/src/i18n/fr.json
@@ -26,6 +26,7 @@
"error_removing_user_data_ce507478": "Erreur lors de la suppression des données utilisateur.",
"error_starting_a_new_conversation_reason_a1b491a1": "Erreur lors de la création d'une nouvelle conversation : %{reason}",
"expand_chat_a0045dbd": "Agrandir le chat",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "Le fichier dépasse la taille autorisée de %{size}.",
"fileupload_error_9eedee68": "Erreur d'envoi",
"finish_this_chat_87b79542": "Terminer cette conversation",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "J'accepte",
"i_need_help_with_61054e21": "J'ai besoin d'aide pour...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Si vous avez une autre question, cliquez sur le bouton ci-dessous pour démarrer une nouvelle conversation.",
- "insert_your_email_here_2e37fc94": "Saisissez votre email ici...",
- "insert_your_name_here_3a8f5f46": "Saisissez votre nom ici...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Laissez un message",
"livechat_connected_afee1c5b": "Livechat connecté.",
"livechat_is_not_connected_b40328ca": "Le livechat n'est pas connecté.",
@@ -77,4 +79,4 @@
"your_spot_is_spot_a35cd288": "Votre rang est #%{spot}",
"your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Votre rang est #%{spot} (Temps d'attente estimé: %{estimatedWaitTime})"
}
-}
+}
\ No newline at end of file
diff --git a/src/i18n/he.json b/src/i18n/he.json
index ade243957..519e73865 100644
--- a/src/i18n/he.json
+++ b/src/i18n/he.json
@@ -1,80 +1,82 @@
{
"he": {
- "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Are you sure you want to finish this chat?",
- "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Are you sure you want to remove all of your personal data?",
+ "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "אתה בטוח שברצונך לסיים את השיחה?",
+ "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "אתה בטוח שברצונך להסיר את כל המידע האישי?",
"are_you_sure_you_want_to_switch_the_department_d50a0b08": "האם אתה בטוח שברצונך להחליף מחלקה?",
"cancel_caeb1e68": "ביטול",
- "change_department_1d671538": "Change department",
- "change_department_523a16e8": "Change Department",
- "chat_finished_effbd589": "Chat Finished",
- "choose_a_department_b106da55": "Choose a department...",
- "choose_a_department_fe9755fd": "Choose a department",
- "choose_an_option_26ac97d2": "Choose an option...",
- "conversation_finished_6a0f2811": "שיחת סיים",
+ "change_department_1d671538": "החלף מחלקה",
+ "change_department_523a16e8": "החלף מחלקה",
+ "chat_finished_effbd589": "הצ'אט הסתיים",
+ "choose_a_department_b106da55": "בחר מחלקה...",
+ "choose_a_department_fe9755fd": "בחר מחלקה",
+ "choose_an_option_26ac97d2": "בחר אפשרות...",
+ "conversation_finished_6a0f2811": "נגמרה השיחה",
"count_new_messages_since_since_47c9d2a0": {
- "one": "One new message since %{since}",
- "other": "%{count} new messages since %{since}"
+ "one": "הודעה אחת חדשה מאז %{since}",
+ "other": "%{count} הודעות חדשות מאז %{since}"
},
- "department_switched_cff305cf": "Department switched",
- "departments_3826b025": "Departments",
- "disable_notifications_dd6a3180": "Disable notifications",
- "dismiss_this_alert_ea9b3104": "Dismiss this alert",
- "drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
+ "department_switched_cff305cf": "החלף מחלקה",
+ "departments_3826b025": "מחלקות",
+ "disable_notifications_dd6a3180": "בטל התראות",
+ "dismiss_this_alert_ea9b3104": "הסר אזהרה",
+ "drop_here_to_upload_a_file_e5f4dd60": "זרוק כאן את הקובץ",
"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}.",
- "fileupload_error_9eedee68": "FileUpload Error",
- "finish_this_chat_87b79542": "Finish this chat",
+ "enable_notifications_a3daf4b1": "הפעל התראות",
+ "error_closing_chat_4c5e29d7": "שגיאה בסגירת הצ'אט.",
+ "error_removing_user_data_ce507478": "שגיאה בהסרת המידע.",
+ "error_starting_a_new_conversation_reason_a1b491a1": "לא הצלחנו ליצור שיחה חדשה: %{reason}",
+ "expand_chat_a0045dbd": "הרחב צ'אט",
+ "field_required_fc5c6b05": "Field required",
+ "file_exceeds_allowed_size_of_size_bd65c389": "הקובץ חורג מגודל %{size}.",
+ "fileupload_error_9eedee68": "שגיאה בהעלאת הקובץ",
+ "finish_this_chat_87b79542": "סיים צ'אט זה",
"forget_remove_my_data_e1d68cdd": "Forget/Remove my data",
"gdpr_8b366c2b": "GDPR",
"go_to_menu_options_forget_remove_my_personal_data__99c40934": "Go to **menu options → Forget/Remove my personal data** to request the immediate removal of your data.",
- "i_agree_df2ecbd4": "I Agree",
- "i_need_help_with_61054e21": "I need help with...",
- "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "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",
- "name_1aed4a1b": "Name",
- "need_help_803a61": "Need help?",
- "new_chat_f525c39e": "New Chat",
- "no_available_agents_to_transfer_3ae30cec": "No available agents to transfer",
+ "i_agree_df2ecbd4": "אני מסכים",
+ "i_need_help_with_61054e21": "אני צריך עזרה עם...",
+ "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "אם יש לך שאלות כלשהם, לחץ על הכפתור למטה בכדי להתחיל צ'אט.",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
+ "leave_a_message_5b581048": "השאר הודעה",
+ "livechat_connected_afee1c5b": "צ'אט לייב מחובר.",
+ "livechat_is_not_connected_b40328ca": "צ'אט לייב לא מחובר.",
+ "media_types_not_accepted_4e25676a": "סוג המדיה אינו מאושר.",
+ "message_5c38209d": "הדועה",
+ "minimize_chat_804b3135": "מזער צ'אט",
+ "name_1aed4a1b": "שם",
+ "need_help_803a61": "צריך עזרה?",
+ "new_chat_f525c39e": "צ'אט חדש",
+ "no_available_agents_to_transfer_3ae30cec": "אין סוכנים פנויים בכדי להעביר",
"no_e16d9132": "לא",
- "ok_c47544a2": "OK",
+ "ok_c47544a2": "אוקיי",
"options_3ab0ea65": "אפשרויות",
- "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Please, tell us some information to start the chat",
- "please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
+ "please_tell_us_some_information_to_start_the_chat_ac135cbb": "אנא שלחו לנו מידע בכדי להתחיל בצ'אט.",
+ "please_wait_for_the_next_available_agent_b2a49c4c": "אנא המתן לסוכן הבא הפנוי.",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
- "restore_chat_3bfecf2b": "Restore chat",
- "room_name_changed_9c42350a": "Room name changed",
+ "restore_chat_3bfecf2b": "שחזר צ'אט",
+ "room_name_changed_9c42350a": "שם החדר השתנה",
"send_e3bd0ed0": "שליחה",
- "sound_is_off_a743f419": "Sound is off",
- "sound_is_on_98a9ec58": "Sound is on",
- "start_chat_8606d464": "Start chat",
- "thanks_for_talking_with_us_719cce22": "Thanks for talking with us",
+ "sound_is_off_a743f419": "סאונד מושתק",
+ "sound_is_on_98a9ec58": "סאונד דולק",
+ "start_chat_8606d464": "התחל צ'אט",
+ "thanks_for_talking_with_us_719cce22": "תודה שדיברתם איתנו",
"the_controller_of_your_personal_data_is_company_na_c82f5567": "The controller of your personal data is [Company Name], with registered office at [Company Address]. To start the chat you agree that your personal data shall be processed and trasmitted in accordance with the General Data Protection Regulation (GDPR).",
- "type_your_message_here_6a05bd0f": "Type your message here",
- "unread_messages_5e18e7b7": "unread messages",
+ "type_your_message_here_6a05bd0f": "כתוב את ההודעה כאן",
+ "unread_messages_5e18e7b7": "הודעות שלא נקראו",
"user_added_by_525b6b11": "User added by",
"user_joined_407ba0d": "המשתמש הצטרף",
"user_left_58ed9c36": "המשתמש עזב",
"user_removed_by_e990f856": "User removed by",
- "waiting_queue_800061da": "Waiting queue...",
- "we_are_not_online_right_now_please_leave_a_message_57df1966": "We are not online right now. Please, leave a message.",
- "welcome_dd4e7151": "Welcome",
- "write_your_message_6eee0188": "Write your message...",
- "yes_dde87d5": "Yes",
- "you_browser_doesn_t_support_audio_element_3391386f": "You browser doesn't support audio element",
- "you_browser_doesn_t_support_video_element_e9cbd81e": "You browser doesn't support video element",
- "your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
- "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
+ "waiting_queue_800061da": "ממתין בתור...",
+ "we_are_not_online_right_now_please_leave_a_message_57df1966": "אנחנו לא מחוברים כרגע, אנא השאירו הודעה",
+ "welcome_dd4e7151": "ברוכים הבאים",
+ "write_your_message_6eee0188": "כתוב את ההודעה שלך",
+ "yes_dde87d5": "כן",
+ "you_browser_doesn_t_support_audio_element_3391386f": "הדפדפן שלך לא תומך בסאונד",
+ "you_browser_doesn_t_support_video_element_e9cbd81e": "הדפדפן שלך לא תומך בוידאו",
+ "your_spot_is_spot_a35cd288": "מיקומך הוא #%{spot}",
+ "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "מיקומך הוא #%{spot} זמן מוערך %{estimatedWaitTime})"
}
}
\ No newline at end of file
diff --git a/src/i18n/hr.json b/src/i18n/hr.json
index 367569c71..289ca6f7b 100644
--- a/src/i18n/hr.json
+++ b/src/i18n/hr.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/hu.json b/src/i18n/hu.json
index a73579b68..3a4d3b396 100644
--- a/src/i18n/hu.json
+++ b/src/i18n/hu.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/id.json b/src/i18n/id.json
index a6bba6076..0a1cba83a 100644
--- a/src/i18n/id.json
+++ b/src/i18n/id.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/it.json b/src/i18n/it.json
index 3a87c65d7..d348278b1 100644
--- a/src/i18n/it.json
+++ b/src/i18n/it.json
@@ -26,6 +26,7 @@
"error_removing_user_data_ce507478": "Errore durante la rimozione dei dati personali.",
"error_starting_a_new_conversation_reason_a1b491a1": "Errore durante la creazione di una nuova conversazione: %{reason}",
"expand_chat_a0045dbd": "Espandi chat",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "Il file supera la dimensione massima consentita di %{size}.",
"fileupload_error_9eedee68": "FileUpload Errore",
"finish_this_chat_87b79542": "Termina questa chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "Sono Daccordo",
"i_need_help_with_61054e21": "Ho bisogno di aiuto con...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Se hai altre domande ti basta premere il tasto sotto per iniziare una nuova chat.",
- "insert_your_email_here_2e37fc94": "Inserisci la tua email qui...",
- "insert_your_name_here_3a8f5f46": "Inserisci il tuo nome qui...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Lascia un messaggio",
"livechat_connected_afee1c5b": "Livechat connesso.",
"livechat_is_not_connected_b40328ca": "Livechat non è connesso.",
diff --git a/src/i18n/ja.json b/src/i18n/ja.json
index 9edd3bf53..e5dec5d4d 100644
--- a/src/i18n/ja.json
+++ b/src/i18n/ja.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/km.json b/src/i18n/km.json
index 420da7ef0..fb99411ff 100644
--- a/src/i18n/km.json
+++ b/src/i18n/km.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ko.json b/src/i18n/ko.json
index 84efffd16..4c1cd2904 100644
--- a/src/i18n/ko.json
+++ b/src/i18n/ko.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ku.json b/src/i18n/ku.json
index 416585b34..fcefe70b9 100644
--- a/src/i18n/ku.json
+++ b/src/i18n/ku.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/lo.json b/src/i18n/lo.json
index 19eb5f979..7a3b74489 100644
--- a/src/i18n/lo.json
+++ b/src/i18n/lo.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/lt.json b/src/i18n/lt.json
index 1dd0bd45a..8898ee458 100644
--- a/src/i18n/lt.json
+++ b/src/i18n/lt.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/lv.json b/src/i18n/lv.json
index 2a50b2fa3..5fdd8461f 100644
--- a/src/i18n/lv.json
+++ b/src/i18n/lv.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/mn.json b/src/i18n/mn.json
index 8559bfc63..17a1fa980 100644
--- a/src/i18n/mn.json
+++ b/src/i18n/mn.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ms_MY.json b/src/i18n/ms_MY.json
index 557b607f0..b2a293cc0 100644
--- a/src/i18n/ms_MY.json
+++ b/src/i18n/ms_MY.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/nl.json b/src/i18n/nl.json
index d72615ca6..ce6518b21 100644
--- a/src/i18n/nl.json
+++ b/src/i18n/nl.json
@@ -1,80 +1,82 @@
{
"nl": {
- "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Are you sure you want to finish this chat?",
- "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Are you sure you want to remove all of your personal data?",
+ "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Weet je zeker dat je deze chat wilt beëindigen?",
+ "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Weet u zeker dat u al je persoonlijke gegevens wilt verwijderen?",
"are_you_sure_you_want_to_switch_the_department_d50a0b08": "Weet je het zeker dat je wilt wisselen van afdeling?",
"cancel_caeb1e68": "Annuleren",
- "change_department_1d671538": "Change department",
- "change_department_523a16e8": "Change Department",
- "chat_finished_effbd589": "Chat Finished",
- "choose_a_department_b106da55": "Choose a department...",
- "choose_a_department_fe9755fd": "Choose a department",
- "choose_an_option_26ac97d2": "Choose an option...",
+ "change_department_1d671538": "Afdeling wijzigen",
+ "change_department_523a16e8": "Afdeling wijzigen",
+ "chat_finished_effbd589": "Chat afgesloten",
+ "choose_a_department_b106da55": "Kies een afdeling...",
+ "choose_a_department_fe9755fd": "Kies een afdeling",
+ "choose_an_option_26ac97d2": "Kies een optie...",
"conversation_finished_6a0f2811": "Gesprek beëindigd",
"count_new_messages_since_since_47c9d2a0": {
- "one": "One new message since %{since}",
- "other": "%{count} new messages since %{since}"
+ "one": "Eén nieuw bericht sinds %{since}",
+ "other": "%{count} nieuwe berichten sinds %{since}"
},
"department_switched_cff305cf": "Afdeling gewisseld",
- "departments_3826b025": "Departments",
- "disable_notifications_dd6a3180": "Disable notifications",
- "dismiss_this_alert_ea9b3104": "Dismiss this alert",
- "drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
+ "departments_3826b025": "Afdelingen",
+ "disable_notifications_dd6a3180": "Meldingen uitschakelen",
+ "dismiss_this_alert_ea9b3104": "Deze waarschuwing negeren",
+ "drop_here_to_upload_a_file_e5f4dd60": "Drop hier je bestand om deze op te laden",
"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}.",
- "fileupload_error_9eedee68": "FileUpload Error",
- "finish_this_chat_87b79542": "Finish this chat",
- "forget_remove_my_data_e1d68cdd": "Forget/Remove my data",
+ "enable_notifications_a3daf4b1": "Notificaties aanzetten",
+ "error_closing_chat_4c5e29d7": "Fout bij sluiten van chat.",
+ "error_removing_user_data_ce507478": "Fout bij verwijderen van gebruikersgegevens.",
+ "error_starting_a_new_conversation_reason_a1b491a1": "Fout bij het starten van een nieuw gesprek: %{reason}",
+ "expand_chat_a0045dbd": "Chat uitbreiden",
+ "field_required_fc5c6b05": "Field required",
+ "file_exceeds_allowed_size_of_size_bd65c389": "Bestand overschrijdt de toegestane grootte van %{size}.",
+ "fileupload_error_9eedee68": "Fout bij het opladen",
+ "finish_this_chat_87b79542": "Sluit deze chat af",
+ "forget_remove_my_data_e1d68cdd": "Vergeet/verwijder mijn gegevens",
"gdpr_8b366c2b": "GDPR",
- "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Go to **menu options → Forget/Remove my personal data** to request the immediate removal of your data.",
- "i_agree_df2ecbd4": "I Agree",
- "i_need_help_with_61054e21": "I need help with...",
- "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "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",
- "name_1aed4a1b": "Name",
- "need_help_803a61": "Need help?",
- "new_chat_f525c39e": "New Chat",
- "no_available_agents_to_transfer_3ae30cec": "No available agents to transfer",
+ "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Ga naar **optie menu → Vergeet/verwijder mijn gegevens** om een aanvraag te doen om je gegevens te verwijderen.",
+ "i_agree_df2ecbd4": "Ik ga akkoord",
+ "i_need_help_with_61054e21": "Ik heb hulp nodig met...",
+ "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Als je nog andere vragen hebt, druk dan op de onderstaande knop om een nieuwe chat te starten.",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
+ "leave_a_message_5b581048": "Laat een bericht na",
+ "livechat_connected_afee1c5b": "Laat een bericht na.",
+ "livechat_is_not_connected_b40328ca": "Livechat is niet verbonden.",
+ "media_types_not_accepted_4e25676a": "Mediatypen worden niet geaccepteerd.",
+ "message_5c38209d": "Bericht",
+ "minimize_chat_804b3135": "Chat minimaliseren",
+ "name_1aed4a1b": "Naam",
+ "need_help_803a61": "Hulp nodig?",
+ "new_chat_f525c39e": "Nieuwe chat",
+ "no_available_agents_to_transfer_3ae30cec": "Er zijn geen beschikbare medewerkers om naar over te dragen",
"no_e16d9132": "Nee",
"ok_c47544a2": "OK",
"options_3ab0ea65": "Opties",
- "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Please, tell us some information to start the chat",
- "please_wait_for_the_next_available_agent_b2a49c4c": "Please, wait for the next available agent..",
+ "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Vertel ons wat informatie om de chat te starten",
+ "please_wait_for_the_next_available_agent_b2a49c4c": "Wacht alstublieft op de volgende beschikbare medewerker..",
"powered_by_rocket_chat_4d7c2ab4": "Powered by Rocket.Chat",
- "restore_chat_3bfecf2b": "Restore chat",
- "room_name_changed_9c42350a": "Room name changed",
- "send_e3bd0ed0": "Sturen",
- "sound_is_off_a743f419": "Sound is off",
- "sound_is_on_98a9ec58": "Sound is on",
+ "restore_chat_3bfecf2b": "Chat herstellen",
+ "room_name_changed_9c42350a": "De naam van de chatroom werd aangepast",
+ "send_e3bd0ed0": "Versturen",
+ "sound_is_off_a743f419": "Geluid is uit",
+ "sound_is_on_98a9ec58": "Geluid is aan",
"start_chat_8606d464": "Start chat",
- "thanks_for_talking_with_us_719cce22": "Thanks for talking with us",
- "the_controller_of_your_personal_data_is_company_na_c82f5567": "The controller of your personal data is [Company Name], with registered office at [Company Address]. To start the chat you agree that your personal data shall be processed and trasmitted in accordance with the General Data Protection Regulation (GDPR).",
- "type_your_message_here_6a05bd0f": "Type your message here",
- "unread_messages_5e18e7b7": "unread messages",
- "user_added_by_525b6b11": "User added by",
+ "thanks_for_talking_with_us_719cce22": "Bedankt voor je gesprek",
+ "the_controller_of_your_personal_data_is_company_na_c82f5567": "De beheerder van je persoonlijke gegevens is [Company Name], met maatschappelijke zetel op [Company Address]. Om de chat te starten, gaat u ermee akkoord dat je persoonlijke gegevens worden verwerkt en verzonden in overeenstemming met de Algemene Verordening Gegevensbescherming (AVG).",
+ "type_your_message_here_6a05bd0f": "Schrijf je bericht hier",
+ "unread_messages_5e18e7b7": "ongelezen berichten",
+ "user_added_by_525b6b11": "Gebruiker toegevoegd door",
"user_joined_407ba0d": "Gebruiker is toegetreden",
"user_left_58ed9c36": "Gebruiker is weggegaan",
- "user_removed_by_e990f856": "User removed by",
- "waiting_queue_800061da": "Waiting queue...",
+ "user_removed_by_e990f856": "Gebruiker verwijderd door",
+ "waiting_queue_800061da": "Wachtrij...",
"we_are_not_online_right_now_please_leave_a_message_57df1966": "We zijn nu niet online. Laat alsjeblieft een bericht achter.",
- "welcome_dd4e7151": "Welcome",
- "write_your_message_6eee0188": "Write your message...",
+ "welcome_dd4e7151": "Welkom",
+ "write_your_message_6eee0188": "Schrijf je bericht...",
"yes_dde87d5": "Ja",
- "you_browser_doesn_t_support_audio_element_3391386f": "You browser doesn't support audio element",
- "you_browser_doesn_t_support_video_element_e9cbd81e": "You browser doesn't support video element",
- "your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
- "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
+ "you_browser_doesn_t_support_audio_element_3391386f": "Je browser ondersteunt geen audio-element",
+ "you_browser_doesn_t_support_video_element_e9cbd81e": "Je browser ondersteunt geen video-element",
+ "your_spot_is_spot_a35cd288": "Je plaats is #%{spot}",
+ "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Je plek is #%{spot} (geschatte wachttijd: %{estimatedWaitTime})"
}
}
\ No newline at end of file
diff --git a/src/i18n/no.json b/src/i18n/no.json
index 0e6cbad44..8f8e0d9b4 100644
--- a/src/i18n/no.json
+++ b/src/i18n/no.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/pl.json b/src/i18n/pl.json
index 7569e93a0..1944c1c04 100644
--- a/src/i18n/pl.json
+++ b/src/i18n/pl.json
@@ -26,6 +26,7 @@
"error_removing_user_data_ce507478": "Wystąpił błąd podczas usuwania danych.",
"error_starting_a_new_conversation_reason_a1b491a1": "Wystąpił błąd podczas tworzenia rozmowy: %{reason}",
"expand_chat_a0045dbd": "Otwórz w nowym oknie",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "Plik przekroczył dopuszczalny rozmiar %{size}.",
"fileupload_error_9eedee68": "Błąd podczas wysyłania pliku",
"finish_this_chat_87b79542": "Zakończ rozmowę",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "Zgadzam się",
"i_need_help_with_61054e21": "Potrzebuję pomocy...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Jeśli masz jeszcze jakieś pytania, naciśnij poniższy przycisk, aby rozpocząć rozmowę.",
- "insert_your_email_here_2e37fc94": "Podaj swój adres email...",
- "insert_your_name_here_3a8f5f46": "Wpisz swoje imię...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Zostaw wiadomość",
"livechat_connected_afee1c5b": "Połączono.",
"livechat_is_not_connected_b40328ca": "Nie połączono.",
diff --git a/src/i18n/pt.json b/src/i18n/pt.json
index feaaf7832..4dac0472f 100644
--- a/src/i18n/pt.json
+++ b/src/i18n/pt.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
@@ -77,4 +79,4 @@
"your_spot_is_spot_a35cd288": "Seu lugar é #%{spot}",
"your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Seu lugar é #%{spot} (Tempo estimado: %{estimatedWaitTime})"
}
-}
+}
\ No newline at end of file
diff --git a/src/i18n/pt_BR.json b/src/i18n/pt_BR.json
index 987b5cb4a..f01358ccd 100644
--- a/src/i18n/pt_BR.json
+++ b/src/i18n/pt_BR.json
@@ -26,6 +26,7 @@
"error_removing_user_data_ce507478": "Erro ao remover os dados do usuário.",
"error_starting_a_new_conversation_reason_a1b491a1": "Erro ao iniciar nova conversa: %{reason}",
"expand_chat_a0045dbd": "Expandir chat",
+ "field_required_fc5c6b05": "Campo obrigatório",
"file_exceeds_allowed_size_of_size_bd65c389": "Arquivo excede o tamanho permitido de %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Encerrar este chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "Concordo",
"i_need_help_with_61054e21": "Preciso de ajuda com...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Se você tiver qualquer outras dúvidas, basta pressionar o botão abaixo para iniciar um novo chat.",
- "insert_your_email_here_2e37fc94": "Insira seu email aqui...",
- "insert_your_name_here_3a8f5f46": "Insira seu nome aqui...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "E-mail inválido",
+ "invalid_value_12ca12c2": "Valor inválido",
"leave_a_message_5b581048": "Deixe uma mensagem",
"livechat_connected_afee1c5b": "Livechat conectado.",
"livechat_is_not_connected_b40328ca": "Livechat não está conectado ao servidor.",
@@ -77,4 +79,4 @@
"your_spot_is_spot_a35cd288": "Seu lugar é #%{spot}",
"your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Seu lugar é #%{spot} (Tempo estimado: %{estimatedWaitTime})"
}
-}
+}
\ No newline at end of file
diff --git a/src/i18n/ro.json b/src/i18n/ro.json
index d1f9856b4..69e8f05f6 100644
--- a/src/i18n/ro.json
+++ b/src/i18n/ro.json
@@ -1,14 +1,14 @@
{
"ro": {
- "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Are you sure you want to finish this chat?",
+ "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Sigur doriți să încheiați acest chat?",
"are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Are you sure you want to remove all of your personal data?",
"are_you_sure_you_want_to_switch_the_department_d50a0b08": "Are you sure you want to switch the department?",
- "cancel_caeb1e68": "Anula",
+ "cancel_caeb1e68": "Anulează",
"change_department_1d671538": "Change department",
"change_department_523a16e8": "Change Department",
- "chat_finished_effbd589": "Chat Finished",
- "choose_a_department_b106da55": "Choose a department...",
- "choose_a_department_fe9755fd": "Choose a department",
+ "chat_finished_effbd589": "Chat-ul s-a terminat!",
+ "choose_a_department_b106da55": "Alegeți un departament...",
+ "choose_a_department_fe9755fd": "Alegeți un departament",
"choose_an_option_26ac97d2": "Choose an option...",
"conversation_finished_6a0f2811": "conversație terminat",
"count_new_messages_since_since_47c9d2a0": {
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
@@ -64,7 +66,7 @@
"type_your_message_here_6a05bd0f": "Type your message here",
"unread_messages_5e18e7b7": "unread messages",
"user_added_by_525b6b11": "User added by",
- "user_joined_407ba0d": "utilizator sa alăturat",
+ "user_joined_407ba0d": "utilizator s-a alăturat",
"user_left_58ed9c36": "stânga utilizator",
"user_removed_by_e990f856": "User removed by",
"waiting_queue_800061da": "Waiting queue...",
@@ -77,4 +79,4 @@
"your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
"your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
}
-}
\ No newline at end of file
+}
diff --git a/src/i18n/ru.json b/src/i18n/ru.json
index b1c8aca7c..b0d8495cc 100644
--- a/src/i18n/ru.json
+++ b/src/i18n/ru.json
@@ -1,80 +1,82 @@
{
"ru": {
- "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Are you sure you want to finish this chat?",
- "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Are you sure you want to remove all of your personal data?",
+ "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Вы уверены, что хотите закончить разговор?",
+ "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Вы уверены, что хотите удалить все ваши персональные данные?",
"are_you_sure_you_want_to_switch_the_department_d50a0b08": "Вы уверены, что хотите сменить отдел?",
"cancel_caeb1e68": "Отмена",
- "change_department_1d671538": "Change department",
- "change_department_523a16e8": "Change Department",
- "chat_finished_effbd589": "Chat Finished",
- "choose_a_department_b106da55": "Choose a department...",
- "choose_a_department_fe9755fd": "Choose a department",
- "choose_an_option_26ac97d2": "Choose an option...",
- "conversation_finished_6a0f2811": "Беседа окончена",
+ "change_department_1d671538": "Сменить отдел",
+ "change_department_523a16e8": "Сменить Отдел",
+ "chat_finished_effbd589": "Разговор Закончен",
+ "choose_a_department_b106da55": "Выберите отдел...",
+ "choose_a_department_fe9755fd": "Выберите отдел",
+ "choose_an_option_26ac97d2": "Выберите опцию...",
+ "conversation_finished_6a0f2811": "Разговор окончен",
"count_new_messages_since_since_47c9d2a0": {
- "one": "One new message since %{since}",
- "other": "%{count} new messages since %{since}"
+ "one": "Одно новое сообщение с %{since}",
+ "other": "%{count} новых сообщений с %{since}"
},
- "department_switched_cff305cf": "Отдел сменён",
- "departments_3826b025": "Departments",
- "disable_notifications_dd6a3180": "Disable notifications",
- "dismiss_this_alert_ea9b3104": "Dismiss this alert",
- "drop_here_to_upload_a_file_e5f4dd60": "Drop here to upload a file",
+ "department_switched_cff305cf": "Отдел сменeн",
+ "departments_3826b025": "Отделы",
+ "disable_notifications_dd6a3180": "Выключить оповещение",
+ "dismiss_this_alert_ea9b3104": "Пропустить данное предупреждение",
+ "drop_here_to_upload_a_file_e5f4dd60": "Бросить сюда файл для загрузки",
"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}.",
- "fileupload_error_9eedee68": "FileUpload Error",
- "finish_this_chat_87b79542": "Finish this chat",
- "forget_remove_my_data_e1d68cdd": "Forget/Remove my data",
+ "enable_notifications_a3daf4b1": "Включить оповещения",
+ "error_closing_chat_4c5e29d7": "Ошибка закрытия чата.",
+ "error_removing_user_data_ce507478": "Ошибка удаления пользовательских данных.",
+ "error_starting_a_new_conversation_reason_a1b491a1": "Ошибка при запуске нового диалога: %{reason}",
+ "expand_chat_a0045dbd": "Развернуть окно чата",
+ "field_required_fc5c6b05": "Field required",
+ "file_exceeds_allowed_size_of_size_bd65c389": "Файл превышает разрешенный размер в %{size}.",
+ "fileupload_error_9eedee68": "Ошибка загрузки файла",
+ "finish_this_chat_87b79542": "Завершить этот чат",
+ "forget_remove_my_data_e1d68cdd": "Забыть/удалить мои данные",
"gdpr_8b366c2b": "GDPR",
- "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Go to **menu options → Forget/Remove my personal data** to request the immediate removal of your data.",
- "i_agree_df2ecbd4": "I Agree",
- "i_need_help_with_61054e21": "I need help with...",
- "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "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",
- "name_1aed4a1b": "Name",
- "need_help_803a61": "Need help?",
- "new_chat_f525c39e": "New Chat",
- "no_available_agents_to_transfer_3ae30cec": "No available agents to transfer",
+ "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Перейти **меню опции → Забыть/удалить мои персональные данные**, чтобы запросить немедленное удаление ваших данных.",
+ "i_agree_df2ecbd4": "Я согласен",
+ "i_need_help_with_61054e21": "Мне требуется помощь с...",
+ "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Если у вас есть еще вопросы, нажмите на кнопку ниже, чтобы начать новый чат.",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
+ "leave_a_message_5b581048": "Оставить сообщение",
+ "livechat_connected_afee1c5b": "Livechat подключен.",
+ "livechat_is_not_connected_b40328ca": "Livechat не подключен.",
+ "media_types_not_accepted_4e25676a": "Данный тип медиа не поддерживается.",
+ "message_5c38209d": "Сообщение",
+ "minimize_chat_804b3135": "Свернуть окно чата",
+ "name_1aed4a1b": "Имя",
+ "need_help_803a61": "Требуется помощь?",
+ "new_chat_f525c39e": "Новый чат",
+ "no_available_agents_to_transfer_3ae30cec": "Нет доступных операторов для передачи",
"no_e16d9132": "Нет",
"ok_c47544a2": "OK",
"options_3ab0ea65": "Параметры",
- "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Please, tell us some information 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",
+ "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Пожалуйста, расскажите о себе прежде чем, начать чат",
+ "please_wait_for_the_next_available_agent_b2a49c4c": "Пожалуйста, подождите пока освободится следующий оператор...",
+ "powered_by_rocket_chat_4d7c2ab4": "Работает на Rocket.Chat",
+ "restore_chat_3bfecf2b": "Восстановить чат",
+ "room_name_changed_9c42350a": "Имя комнаты изменено",
"send_e3bd0ed0": "Отправить",
- "sound_is_off_a743f419": "Sound is off",
- "sound_is_on_98a9ec58": "Sound is on",
- "start_chat_8606d464": "Start chat",
- "thanks_for_talking_with_us_719cce22": "Thanks for talking with us",
+ "sound_is_off_a743f419": "Звук отключен",
+ "sound_is_on_98a9ec58": "Звук включен",
+ "start_chat_8606d464": "Начать чат",
+ "thanks_for_talking_with_us_719cce22": "Спасибо, что обратились к нам",
"the_controller_of_your_personal_data_is_company_na_c82f5567": "The controller of your personal data is [Company Name], with registered office at [Company Address]. To start the chat you agree that your personal data shall be processed and trasmitted in accordance with the General Data Protection Regulation (GDPR).",
- "type_your_message_here_6a05bd0f": "Type your message here",
- "unread_messages_5e18e7b7": "unread messages",
- "user_added_by_525b6b11": "User added by",
+ "type_your_message_here_6a05bd0f": "Напечатайте ваше сообщение",
+ "unread_messages_5e18e7b7": "непрочитанные сообщения",
+ "user_added_by_525b6b11": "Пользователь добавлен пользователем",
"user_joined_407ba0d": "Пользователь присоединился",
"user_left_58ed9c36": "Пользователь вышел",
- "user_removed_by_e990f856": "User removed by",
- "waiting_queue_800061da": "Waiting queue...",
+ "user_removed_by_e990f856": "Пользователь удален пользователем",
+ "waiting_queue_800061da": "Ожидание очереди...",
"we_are_not_online_right_now_please_leave_a_message_57df1966": "Мы сейчас не в сети. Пожалуйста, оставьте сообщение.",
- "welcome_dd4e7151": "Welcome",
- "write_your_message_6eee0188": "Write your message...",
+ "welcome_dd4e7151": "Добро пожаловать",
+ "write_your_message_6eee0188": "Напишите ваше сообщение...",
"yes_dde87d5": "Да",
- "you_browser_doesn_t_support_audio_element_3391386f": "You browser doesn't support audio element",
- "you_browser_doesn_t_support_video_element_e9cbd81e": "You browser doesn't support video element",
- "your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
- "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
+ "you_browser_doesn_t_support_audio_element_3391386f": "Ваш браузер не поддерживает аудио",
+ "you_browser_doesn_t_support_video_element_e9cbd81e": "Ваш браузер не поддерживает видео",
+ "your_spot_is_spot_a35cd288": "Ваше место в очереди: #%{spot}",
+ "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Ваше место в очереди: #%{spot} (Предполагаемое время ожидания: %{estimatedWaitTime})"
}
}
\ No newline at end of file
diff --git a/src/i18n/sk_SK.json b/src/i18n/sk_SK.json
index d42f8e3f1..d9f6a1c73 100644
--- a/src/i18n/sk_SK.json
+++ b/src/i18n/sk_SK.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/sl_SI.json b/src/i18n/sl_SI.json
index 4fefbf37c..ba25f96fa 100644
--- a/src/i18n/sl_SI.json
+++ b/src/i18n/sl_SI.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/sq.json b/src/i18n/sq.json
index e364ddda2..b24cb49fd 100644
--- a/src/i18n/sq.json
+++ b/src/i18n/sq.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/sr.json b/src/i18n/sr.json
index 204331c88..a5401ea70 100644
--- a/src/i18n/sr.json
+++ b/src/i18n/sr.json
@@ -1,80 +1,82 @@
{
"sr": {
- "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Are you sure you want to finish this chat?",
- "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Are you sure you want to remove all of your personal data?",
- "are_you_sure_you_want_to_switch_the_department_d50a0b08": "Are you sure you want to switch the department?",
+ "are_you_sure_you_want_to_finish_this_chat_1db5c13b": "Желите ли да завршите овај разговор?",
+ "are_you_sure_you_want_to_remove_all_of_your_person_426720f1": "Желите ли да уклонимо све Ваше податке?",
+ "are_you_sure_you_want_to_switch_the_department_d50a0b08": "Желите ли да променити одељење?",
"cancel_caeb1e68": "Отказати",
- "change_department_1d671538": "Change department",
- "change_department_523a16e8": "Change Department",
- "chat_finished_effbd589": "Chat Finished",
- "choose_a_department_b106da55": "Choose a department...",
- "choose_a_department_fe9755fd": "Choose a department",
- "choose_an_option_26ac97d2": "Choose an option...",
- "conversation_finished_6a0f2811": "разговор завршио",
+ "change_department_1d671538": "Промени одељење",
+ "change_department_523a16e8": "Промени одељење",
+ "chat_finished_effbd589": "Разговор завршен",
+ "choose_a_department_b106da55": "Изабери одељење...",
+ "choose_a_department_fe9755fd": "Изабери одељење",
+ "choose_an_option_26ac97d2": "Изабери опцију...",
+ "conversation_finished_6a0f2811": "Разговор завршен",
"count_new_messages_since_since_47c9d2a0": {
- "one": "One new message since %{since}",
- "other": "%{count} new messages since %{since}"
+ "one": "Једна нова порука од %{since}",
+ "other": "%{count} порукe/a од %{since}"
},
"department_switched_cff305cf": "Одељење је промењено",
- "departments_3826b025": "Departments",
- "disable_notifications_dd6a3180": "Disable notifications",
- "dismiss_this_alert_ea9b3104": "Dismiss this alert",
- "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}.",
- "fileupload_error_9eedee68": "FileUpload Error",
- "finish_this_chat_87b79542": "Finish this chat",
- "forget_remove_my_data_e1d68cdd": "Forget/Remove my data",
+ "departments_3826b025": "Одељења",
+ "disable_notifications_dd6a3180": "Искључи обавештења",
+ "dismiss_this_alert_ea9b3104": "Одбаци ово обавештење",
+ "drop_here_to_upload_a_file_e5f4dd60": "Превуци овде за слање датотеке",
+ "email_22a7d52d": "E-пошта",
+ "enable_notifications_a3daf4b1": "Омогући обавештења",
+ "error_closing_chat_4c5e29d7": "Грешка приликом завршетка разговора.",
+ "error_removing_user_data_ce507478": "Грешка приликом уклањања корисничких података.",
+ "error_starting_a_new_conversation_reason_a1b491a1": "Грешка приликом започињања новог разговора: %{reason}",
+ "expand_chat_a0045dbd": "Прошири прозор разговора",
+ "field_required_fc5c6b05": "Field required",
+ "file_exceeds_allowed_size_of_size_bd65c389": "Датотека превазилази дозвољену величину од %{size}.",
+ "fileupload_error_9eedee68": "Греша пирликом слања датотеке",
+ "finish_this_chat_87b79542": "Заврши овај разговор",
+ "forget_remove_my_data_e1d68cdd": "Уклони моје податке",
"gdpr_8b366c2b": "GDPR",
- "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Go to **menu options → Forget/Remove my personal data** to request the immediate removal of your data.",
- "i_agree_df2ecbd4": "I Agree",
- "i_need_help_with_61054e21": "I need help with...",
- "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "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",
- "name_1aed4a1b": "Name",
- "need_help_803a61": "Need help?",
- "new_chat_f525c39e": "New Chat",
- "no_available_agents_to_transfer_3ae30cec": "No available agents to transfer",
+ "go_to_menu_options_forget_remove_my_personal_data__99c40934": "Идите на **menu options → Forget/Remove my personal data** да захтевате уклањање Ваших података.",
+ "i_agree_df2ecbd4": "Слажем се",
+ "i_need_help_with_61054e21": "Потребна ми је помоћ са...",
+ "if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "Уколико имате других питања, само притисните дугме испод да започенете нови разговор.",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
+ "leave_a_message_5b581048": "Оставите поруку",
+ "livechat_connected_afee1c5b": "Разговор уживо укљичен.",
+ "livechat_is_not_connected_b40328ca": "Разговор уживо није повезан.",
+ "media_types_not_accepted_4e25676a": "Тип датотеке није прихватљив.",
+ "message_5c38209d": "Порука",
+ "minimize_chat_804b3135": "Смањи прозор за разговор",
+ "name_1aed4a1b": "Име",
+ "need_help_803a61": "Потребна Вам је помоћ?",
+ "new_chat_f525c39e": "Нови разговор",
+ "no_available_agents_to_transfer_3ae30cec": "Тренутно нема доступних оператера",
"no_e16d9132": "Ne",
- "ok_c47544a2": "OK",
+ "ok_c47544a2": "У реду",
"options_3ab0ea65": "Опције",
- "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Please, tell us some information 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",
- "send_e3bd0ed0": "послати",
- "sound_is_off_a743f419": "Sound is off",
- "sound_is_on_98a9ec58": "Sound is on",
- "start_chat_8606d464": "Start chat",
- "thanks_for_talking_with_us_719cce22": "Thanks for talking with us",
- "the_controller_of_your_personal_data_is_company_na_c82f5567": "The controller of your personal data is [Company Name], with registered office at [Company Address]. To start the chat you agree that your personal data shall be processed and trasmitted in accordance with the General Data Protection Regulation (GDPR).",
- "type_your_message_here_6a05bd0f": "Type your message here",
- "unread_messages_5e18e7b7": "unread messages",
- "user_added_by_525b6b11": "User added by",
+ "please_tell_us_some_information_to_start_the_chat_ac135cbb": "Молим Вас, унесите следеће информације за почетак разговора",
+ "please_wait_for_the_next_available_agent_b2a49c4c": "Молим Вас, сачекајте првог слободног оператера...",
+ "powered_by_rocket_chat_4d7c2ab4": "омогућио RocketChat",
+ "restore_chat_3bfecf2b": "Наставите разговор",
+ "room_name_changed_9c42350a": "Промена назива собе",
+ "send_e3bd0ed0": "Послати",
+ "sound_is_off_a743f419": "Звук је искључен",
+ "sound_is_on_98a9ec58": "Звук је укљичен",
+ "start_chat_8606d464": "Започни разговор",
+ "thanks_for_talking_with_us_719cce22": "Захваљујемо на разговору!",
+ "the_controller_of_your_personal_data_is_company_na_c82f5567": "Вашим приватним подацима управља [Company Name], са седиштем на адреси [Company Address]. Када започнете разговор, прихватате да ће Ваши приватни подаци бити процесуирани и складиштени у складу са General Data Protection Regulation (GDPR).",
+ "type_your_message_here_6a05bd0f": "Укуцајте Вашу поруку овде",
+ "unread_messages_5e18e7b7": "Непрочитане поруке",
+ "user_added_by_525b6b11": "Корисник додат од стране",
"user_joined_407ba0d": "Корисник се придружио",
- "user_left_58ed9c36": "Корисник лево",
- "user_removed_by_e990f856": "User removed by",
- "waiting_queue_800061da": "Waiting queue...",
+ "user_left_58ed9c36": "Корисник отишао",
+ "user_removed_by_e990f856": "Корисник уклоњен од стране",
+ "waiting_queue_800061da": "Чекање у реду...",
"we_are_not_online_right_now_please_leave_a_message_57df1966": "Тренутно нисмо на мрежи. Молимо оставите поруку.",
- "welcome_dd4e7151": "Welcome",
- "write_your_message_6eee0188": "Write your message...",
- "yes_dde87d5": "Јесте",
- "you_browser_doesn_t_support_audio_element_3391386f": "You browser doesn't support audio element",
- "you_browser_doesn_t_support_video_element_e9cbd81e": "You browser doesn't support video element",
- "your_spot_is_spot_a35cd288": "Your spot is #%{spot}",
- "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Your spot is #%{spot} (Estimated wait time: %{estimatedWaitTime})"
+ "welcome_dd4e7151": "Добро дошли!",
+ "write_your_message_6eee0188": "Укуцајте Вашу поруку...",
+ "yes_dde87d5": "Да",
+ "you_browser_doesn_t_support_audio_element_3391386f": "Ваш претраживач не подржава звучне елементе",
+ "you_browser_doesn_t_support_video_element_e9cbd81e": "Ваш претраживач не подржава видео елементе",
+ "your_spot_is_spot_a35cd288": "Ваше место је #%{spot}",
+ "your_spot_is_spot_estimated_wait_time_estimatedwai_d0ff46e0": "Ваше место је #%{spot} (Очекивано време чекања: %{estimatedWaitTime})"
}
}
\ No newline at end of file
diff --git a/src/i18n/sv.json b/src/i18n/sv.json
index 778ae7e64..a8ec232bb 100644
--- a/src/i18n/sv.json
+++ b/src/i18n/sv.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ta_IN.json b/src/i18n/ta_IN.json
index 150e82e70..9943f6943 100644
--- a/src/i18n/ta_IN.json
+++ b/src/i18n/ta_IN.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/th_TH.json b/src/i18n/th_TH.json
index 4dd33788d..2d2de6432 100644
--- a/src/i18n/th_TH.json
+++ b/src/i18n/th_TH.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/tr.json b/src/i18n/tr.json
index 8ecf56fe0..1427113eb 100644
--- a/src/i18n/tr.json
+++ b/src/i18n/tr.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/ug.json b/src/i18n/ug.json
index 30430273c..48bc7eedc 100644
--- a/src/i18n/ug.json
+++ b/src/i18n/ug.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/uk.json b/src/i18n/uk.json
index 5a2d0fd54..8b7111d69 100644
--- a/src/i18n/uk.json
+++ b/src/i18n/uk.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/vi_VN.json b/src/i18n/vi_VN.json
index 5492ae662..1f638eb73 100644
--- a/src/i18n/vi_VN.json
+++ b/src/i18n/vi_VN.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/zh.json b/src/i18n/zh.json
index d352311ff..c895f32c5 100644
--- a/src/i18n/zh.json
+++ b/src/i18n/zh.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/zh_HK.json b/src/i18n/zh_HK.json
index 6ac20dd91..8622080a1 100644
--- a/src/i18n/zh_HK.json
+++ b/src/i18n/zh_HK.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/i18n/zh_TW.json b/src/i18n/zh_TW.json
index ba98c9656..24cc61f37 100644
--- a/src/i18n/zh_TW.json
+++ b/src/i18n/zh_TW.json
@@ -26,6 +26,7 @@
"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",
+ "field_required_fc5c6b05": "Field required",
"file_exceeds_allowed_size_of_size_bd65c389": "File exceeds allowed size of %{size}.",
"fileupload_error_9eedee68": "FileUpload Error",
"finish_this_chat_87b79542": "Finish this chat",
@@ -35,8 +36,9 @@
"i_agree_df2ecbd4": "I Agree",
"i_need_help_with_61054e21": "I need help with...",
"if_you_have_any_other_questions_just_press_the_but_ceaadfa0": "If you have any other questions, just press the button below to start a new chat.",
- "insert_your_email_here_2e37fc94": "Insert your email here...",
- "insert_your_name_here_3a8f5f46": "Insert your name here...",
+ "insert_your_field_here_d631e875": "Insert your %{field} here...",
+ "invalid_email_e82f3682": "Invalid email",
+ "invalid_value_12ca12c2": "Invalid value",
"leave_a_message_5b581048": "Leave a message",
"livechat_connected_afee1c5b": "Livechat connected.",
"livechat_is_not_connected_b40328ca": "Livechat is not connected.",
diff --git a/src/routes/LeaveMessage/component.js b/src/routes/LeaveMessage/component.js
index e93006b8a..ba2705af5 100644
--- a/src/routes/LeaveMessage/component.js
+++ b/src/routes/LeaveMessage/component.js
@@ -13,13 +13,6 @@ const defaultMessage = I18n.t('We are not online right now. Please, leave a mess
const defaultUnavailableMessage = ''; // TODO
export default class LeaveMessage extends Component {
- state = {
- name: { value: '' },
- email: { value: '' },
- department: null,
- message: { value: '' },
- }
-
validations = {
name: [Validations.nonEmpty],
email: [Validations.nonEmpty, Validations.email],
@@ -27,24 +20,42 @@ export default class LeaveMessage extends Component {
message: [Validations.nonEmpty],
}
+ getDefaultState = () => {
+ const { hasDepartmentField, departments } = this.props;
+
+ let department = null;
+ if (hasDepartmentField && departments && departments.length > 0) {
+ department = { value: '' };
+ }
+
+ return {
+ name: { value: '' },
+ email: { value: '' },
+ department,
+ message: { value: '' },
+ };
+ };
+
getValidableFields = () => Object.keys(this.validations)
.map((fieldName) => (this.state[fieldName] ? { fieldName, ...this.state[fieldName] } : null))
.filter(Boolean)
- validate = (fieldName, value) => this.validations[fieldName].reduce((error, validation) => error || validation(value), undefined)
+ validate = ({ name, value }) => this.validations[name].reduce((error, validation) => error || validation({ value }), undefined)
validateAll = () => {
- for (const { fieldName, value } of this.getValidableFields()) {
- const error = this.validate(fieldName, value);
- this.setState({ [fieldName]: { ...this.state[fieldName], value, error, showError: false } });
+ for (const { fieldName: name, value } of this.getValidableFields()) {
+ const error = this.validate({ name, value });
+ this.setState({ [name]: { ...this.state[name], value, error, showError: false } });
}
}
+ reset = () => this.setState(this.getDefaultState());
+
isValid = () => this.getValidableFields().every(({ error } = {}) => !error)
- handleFieldChange = (fieldName) => ({ target: { value } }) => {
- const error = this.validate(fieldName, value);
- this.setState({ [fieldName]: { ...this.state[fieldName], value, error, showError: false } });
+ handleFieldChange = (name) => ({ target: { value } }) => {
+ const error = this.validate({ name, value });
+ this.setState({ [name]: { ...this.state[name], value, error, showError: false } });
}
handleNameChange = this.handleFieldChange('name')
@@ -55,7 +66,7 @@ export default class LeaveMessage extends Component {
handleMessageChange = this.handleFieldChange('message')
- handleSubmit = (event) => {
+ handleSubmit = async (event) => {
event.preventDefault();
if (this.props.onSubmit) {
@@ -63,23 +74,16 @@ export default class LeaveMessage extends Component {
.filter(([, state]) => state !== null)
.map(([name, { value }]) => ({ [name]: value }))
.reduce((values, entry) => ({ ...values, ...entry }), {});
- this.props.onSubmit(values);
+
+ if (await this.props.onSubmit(values)) {
+ this.reset();
+ }
}
}
constructor(props) {
super(props);
-
- const { hasDepartmentField, departments } = props;
-
- if (hasDepartmentField && departments) {
- if (departments.length > 0) {
- this.state.department = { value: '' };
- } else {
- this.state.department = null;
- }
- }
-
+ this.setState(this.getDefaultState());
this.validateAll();
}
@@ -95,7 +99,7 @@ export default class LeaveMessage extends Component {
@@ -113,7 +117,7 @@ export default class LeaveMessage extends Component {
diff --git a/src/routes/LeaveMessage/container.js b/src/routes/LeaveMessage/container.js
index 08f164831..5e08ae325 100644
--- a/src/routes/LeaveMessage/container.js
+++ b/src/routes/LeaveMessage/container.js
@@ -4,24 +4,29 @@ import { Livechat } from '../../api';
import { parentCall } from '../../lib/parentCall';
import { Consumer } from '../../store';
import LeaveMessage from './component';
-import { createToken } from '../../components/helpers';
+import { ModalManager } from '../../components/Modal';
+import { createToken, parseOfflineMessage } from '../../components/helpers';
export class LeaveMessageContainer extends Component {
handleSubmit = async (fields) => {
- const { alerts, dispatch, successMessage } = this.props;
+ const { alerts, dispatch } = this.props;
await dispatch({ loading: true });
try {
- const message = await Livechat.sendOfflineMessage(fields);
- const success = { id: createToken(), children: successMessage || message, success: true, timeout: 5000 };
- await dispatch({ alerts: (alerts.push(success), alerts) });
+ const payload = parseOfflineMessage(fields);
+ const text = await Livechat.sendOfflineMessage(payload);
+ await ModalManager.alert({
+ text,
+ });
parentCall('callback', ['offline-form-submit', fields]);
+ return true;
} catch (error) {
const { data: { message } } = error;
console.error(message);
- const alert = { id: createToken(), children: message, error: true, timeout: 0 };
+ const alert = { id: createToken(), children: message, error: true, timeout: 5000 };
await dispatch({ alerts: (alerts.push(alert), alerts) });
+ return false;
} finally {
await dispatch({ loading: false });
}
diff --git a/src/routes/Register/component.js b/src/routes/Register/component.js
index f3d8ebaae..20e82fb54 100644
--- a/src/routes/Register/component.js
+++ b/src/routes/Register/component.js
@@ -13,10 +13,50 @@ import Screen from '../../components/Screen';
import { createClassName, sortArrayByColumn } from '../../components/helpers';
import styles from './styles.scss';
-
const defaultTitle = I18n.t('Need help?');
const defaultMessage = I18n.t('Please, tell us some information to start the chat');
+const getDefaultDepartment = (departments = []) => (departments.length === 1 && departments[0]._id) || '';
+
+const renderCustomFields = (customFields, { loading, handleFieldChange = () => {} }, state) => customFields.map(({ _id, required, label, type, options }) => {
+ switch (type) {
+ case 'input':
+ return
+
+ ;
+ case 'select':
+ return
+ ({ value: option, label: option }))}
+ disabled={loading}
+ onInput={handleFieldChange}
+ custom
+ />
+ ;
+ }
+ return null;
+});
+
export default class Register extends Component {
state = {
name: null,
@@ -30,32 +70,71 @@ export default class Register extends Component {
department: [],
}
+ getDefaultState = () => {
+ const { hasNameField, hasEmailField, hasDepartmentField, departments, customFields = [] } = this.props;
+
+ const state = {
+ ...hasNameField && { name: { value: '' } },
+ ...hasEmailField && { email: { value: '' } },
+ ...hasDepartmentField && { department: { value: getDefaultDepartment(departments) } },
+ };
+
+ customFields.forEach(({ _id, defaultValue, options, regexp }) => {
+ let value = '';
+ if (defaultValue && !options || (Array.isArray(options) && options.includes(defaultValue))) {
+ value = defaultValue;
+ }
+
+ state[_id] = {
+ value,
+ ...regexp && { regexp },
+ };
+ });
+
+ return state;
+ }
+
+ getCustomValidations = () => {
+ const { customFields = [] } = this.props;
+ return customFields
+ .map(({ _id, required, regexp }) => {
+ const validations = [];
+
+ if (required) {
+ validations.push(Validations.nonEmpty);
+ }
+
+ if (regexp) {
+ validations.push(Validations.custom);
+ }
+
+ return { [_id]: validations };
+ })
+ .reduce((values, entry) => ({ ...values, ...entry }), {});
+ }
+
getValidableFields = () => Object.keys(this.validations)
.map((fieldName) => (this.state[fieldName] ? { fieldName, ...this.state[fieldName] } : null))
.filter(Boolean)
- validate = (fieldName, value) => this.validations[fieldName].reduce((error, validation) => error || validation(value), undefined)
+ validate = ({ name, value, regexp: pattern }) => this.validations[name].reduce((error, validation) => error || validation({ value, pattern }), undefined)
validateAll = () => {
- for (const { fieldName, value } of this.getValidableFields()) {
- const error = this.validate(fieldName, value);
- this.setState({ [fieldName]: { ...this.state[fieldName], value, error, showError: false } });
+ for (const { fieldName: name, value, regexp } of this.getValidableFields()) {
+ const error = this.validate({ name, value, regexp });
+ this.setState({ [name]: { ...this.state[name], value, error, showError: false } });
}
}
isValid = () => this.getValidableFields().every(({ error } = {}) => !error)
- handleFieldChange = (fieldName) => ({ target: { value } }) => {
- const error = this.validate(fieldName, value);
- this.setState({ [fieldName]: { ...this.state[fieldName], value, error, showError: false } });
+ handleFieldChange = ({ target }) => {
+ const { name, value } = target;
+ const { regexp } = this.state[name];
+ const error = this.validate({ name, value, regexp });
+ this.setState({ [name]: { ...this.state[name], value, error, showError: true } });
}
- handleNameChange = this.handleFieldChange('name')
-
- handleEmailChange = this.handleFieldChange('email')
-
- handleDepartmentChange = this.handleFieldChange('department')
-
handleSubmit = (event) => {
event.preventDefault();
@@ -70,27 +149,8 @@ export default class Register extends Component {
constructor(props) {
super(props);
-
- const { hasNameField, hasEmailField, hasDepartmentField, departments } = props;
-
- if (hasNameField) {
- this.state.name = { value: '' };
- }
-
- if (hasEmailField) {
- this.state.email = { value: '' };
- }
-
- if (hasDepartmentField && departments) {
- if (departments.length > 1) {
- this.state.department = { value: '' };
- } else if (departments.length === 1) {
- this.state.department = { value: departments[0]._id };
- } else {
- this.state.department = null;
- }
- }
-
+ this.setState(this.getDefaultState());
+ this.validations = { ...this.validations, ...this.getCustomValidations() };
this.validateAll();
}
@@ -109,7 +169,7 @@ export default class Register extends Component {
this.setState({ email: null });
}
- const departmentValue = departmentDefault || (departments && departments.length === 1 && departments[0]._id) || '';
+ const departmentValue = departmentDefault || getDefaultDepartment(departments);
const showDepartmentField = hasDepartmentField && departments && departments.length > 1;
if (showDepartmentField && (!this.state.department || this.state.department !== departmentValue)) {
this.setState({ department: { ...this.state.department, value: departmentValue } });
@@ -120,7 +180,7 @@ export default class Register extends Component {
this.validateAll();
}
- render({ title, color, message, loading, departments, ...props }, { name, email, department }) {
+ render({ title, color, message, loading, departments, customFields, ...props }, { name, email, department, ...state }) {
const valid = this.isValid();
return (
@@ -144,9 +204,9 @@ export default class Register extends Component {
)
@@ -162,9 +222,9 @@ export default class Register extends Component {
)
@@ -182,12 +242,14 @@ export default class Register extends Component {
options={sortArrayByColumn(departments, 'name').map(({ _id, name }) => ({ value: _id, label: name }))}
placeholder={I18n.t('Choose an option...')}
disabled={loading}
- onInput={this.handleDepartmentChange}
+ onInput={this.handleFieldChange}
/>
)
: null}
+ {customFields && renderCustomFields(customFields, { loading, handleFieldChange: this.handleFieldChange }, state)}
+
diff --git a/src/routes/Register/container.js b/src/routes/Register/container.js
index 5eae60fa7..6b2eb4849 100644
--- a/src/routes/Register/container.js
+++ b/src/routes/Register/container.js
@@ -3,35 +3,48 @@ import { route } from 'preact-router';
import { Livechat } from '../../api';
import { parentCall } from '../../lib/parentCall';
-import { loadConfig } from '../../lib/main';
+import CustomFields from '../../lib/customFields';
import { Consumer } from '../../store';
import Register from './component';
export class RegisterContainer extends Component {
- getDepartment = (fields = {}) => {
- let { department } = fields;
-
- if (department === '') {
- const { departments = {} } = this.props;
- const deptDefault = departments.filter((dept) => dept.showOnRegistration)[0];
- if (deptDefault) {
- department = deptDefault._id;
+ registerCustomFields(customFields = {}) {
+ Object.entries(customFields).forEach(([key, value]) => {
+ if (!value || value === '') {
+ return;
}
+
+ CustomFields.setCustomField(key, value, true);
+ });
+ }
+
+ getDepartment = (department) => {
+ if (department !== '') {
+ return department;
}
- return department;
+ const { departments = {} } = this.props;
+ const deptDefault = departments.find((dept) => dept.showOnRegistration);
+
+ if (deptDefault) {
+ return deptDefault._id;
+ }
}
- handleSubmit = async (fields) => {
+ handleSubmit = async ({ name, email, department, ...customFields }) => {
const { dispatch, token } = this.props;
- const department = this.getDepartment(fields);
- Object.assign(fields, { department });
+ const fields = {
+ name,
+ email,
+ department: this.getDepartment(department),
+ };
await dispatch({ loading: true, department });
try {
const user = await Livechat.grantVisitor({ visitor: { ...fields, token } });
await dispatch({ user });
parentCall('callback', ['pre-chat-form-submit', fields]);
+ this.registerCustomFields(customFields);
} finally {
await dispatch({ loading: false });
}
@@ -74,6 +87,7 @@ export const RegisterConnector = ({ ref, ...props }) => (
title,
color,
} = {},
+ customFields = [],
} = {},
iframe: {
guest: {
@@ -115,6 +129,7 @@ export const RegisterConnector = ({ ref, ...props }) => (
token={token}
dispatch={dispatch}
user={user}
+ customFields={customFields}
/>
)}
diff --git a/src/routes/Register/stories.js b/src/routes/Register/stories.js
index 52681c707..28d693972 100644
--- a/src/routes/Register/stories.js
+++ b/src/routes/Register/stories.js
@@ -5,6 +5,21 @@ import { storiesOf } from '@storybook/react';
import { screenCentered, screenProps } from '../../helpers.stories';
import Register from './component';
+const customFields = [
+ {
+ _id: 'website',
+ label: 'Website',
+ type: 'input',
+ required: true,
+ }, {
+ _id: 'area',
+ label: 'Area',
+ type: 'select',
+ defaultValue: 'Marketing',
+ options: ['Human Resources', 'Sales', 'Marketing', 'Supply', 'Development'],
+ required: true,
+ },
+];
storiesOf('Routes|Register', module)
.addDecorator(screenCentered)
@@ -60,4 +75,31 @@ storiesOf('Routes|Register', module)
onSubmit={action('submit')}
{...screenProps()}
/>
+ ))
+ .add('with custom fields', () => (
+
));