<?php
global $lang, $smarty;
if (!$lang) $lang=array();
if (!isset($lang["modules"])) $lang["modules"]=array();
if (!isset($lang["modules"]["livechat"])) $lang["modules"]["livechat"]=array();

$lang["modules"]["livechat"] = array(
'display_name'            =>'Online Consultant',
'select_clients_info'     =>'Select information on the client by his id',
'select_client_in_search' =>'Search query for a customer in a table',
'start_message'           =>'welcome message',
'select_realid_by_email'  =>'Select client id, by email',
'show_client_history_messages'=>'How many posts to show in history',
'disconnect_message_text' =>'disconnected from the chat.',
'default_client_name'     =>'Default username',
'disconnect_message_timeout_text'=>'turned off by timeout.',
'default_manager_name'    =>'Default manager name',
'connect_message_text'    =>'connected.',
'open_real_client_url'    =>'Link to open information about the client in the system',
'transmit_message1'       =>'transferred to manager',
'transmit_message2'       =>'from the manager',
'ip_ban_period'           =>'The number of days for which the ip of the banned client is blocked',
'show_status_messages_in_client_window'=>'Show status messages in client window',
'auto_table'              =>'Table number on the basis of which the SQL query is automatically generated',
'auto_build_sql'          =>'Automatically compose an SQL query based on the entered data about automatic tables',
'auto_org_field'          =>'Organization name field in auto-table',
'auto_email_field'        =>'Email field in auto-table',
'auto_search_fields'      =>'List of fields to search for a client',
'offline_emails_address'  =>'Email address to send offline customer messages',
'select_manager_photo_table_id'=>"Table in which the photo of the manager is stored",
'select_manager_photo_field_id'=>"Manager photo field",
'select_manager_login_field_id'=>"Manager login field",
'select_manager_job_field_id'=>"Field manager position",
'select_manager_job_by_login'=>"SQL query selecting position by manager login",
'select_company'          =>'Choose a Company',
'Bind_failed'             =>'Binding failed',
'Livechat'                =>'Online Consultant',
'Client_part'             =>'Klienskaya part',
'Manager_part'            =>'manager&#39;s part',
'standart_settings'       =>'Standard',
'advanced_settings'       =>'Extended',
'ban_settings'            =>'Banned',
'send_mails_to'           =>'Email to which to send offline messages',
'select_user_info_table'  =>'Specify from which table you can get information about the client',
'org_name'                =>'Name of the organization',
'compare_email_field'     =>'Compare email to field',
'search_fileds'           =>'Search in fields',
'select_managers_table'   =>'Specify from which table you can get data about the manager',
'photo_field'             =>'Photos from the field:<br> (recommended size 52x52px)',
'online_image'            =>'Image of the Online Advisory button on the site in Online mode:',
'in_offline_mode'         =>'Offline',
'html_button_code'        =>'HTML code keys',
'ban_ips'                 =>'Banned ip addresses',
'ban_users'               =>'Banned Users',
'ban_user'                =>'Ban a client',
'when_ban'                =>'When banned',
'who_ban'                 =>'Less time',
'Messages_history'        =>'Message history',
'Client_history'          =>'Client message history',
'Company_history'         =>'Company message history',
'no_messages'             =>'No messages',
'no_clients'              =>'There are no clients.',
'you_was_ban'             =>'You are prohibited from sending messages using the Online Consultant.',
'your_ip_was_ban'         =>'Your ip address has been banned, try using the Online Consultant later.',
'alert_ban_user'          =>'Do you really want to ban the user',
'yes_ban'                 =>'ban',
'no_ban'                  =>'close',
'not_selected'            =>'not chosen',
'please_check_sql_request'=>'Check the selected field values, the SQL query is generated incorrectly.',
'Unknown2'                =>'Unknown',
'transfer_user'           =>'Transfer client',
'subscribe_client'        =>'Link client',
'fast_replies'            =>'Quick Answers',
'organization_name'       =>'Name of the organization',
'ok_color'                =>'Color of main elements',
'time_for_status'         =>'Account for working time',
'work_time_start'         =>'The begining of the work day',
'work_time_end'           =>'End of the working day',
'online_default_text'     =>'Welcome text in OK header online',
'offline_default_text'    =>'Welcome text in the OK header in offline mode',
'icon_position_right'     =>'Positioning the OK icon on the site (right indent)',
'icon_position_bottom'    =>'Positioning the OK icon on the site (bottom indent)',
'autotext_on'             =>'Enable auto messages',
'autotext_online'         =>'Online auto-reply text',
'autotext_offline'        =>'Offline auto-reply text',
'ok_color_block_head'     =>'Header background color',
'ok_color_block_2'        =>'The background color of the block with information about the company and the manager',
'ok_color_block_3'        =>'Background color of block with message history',
'ok_color_block_4'        =>'Send message block background color',
'ok_color_manager_txt_color'=>'Manager message text color',
'ok_color_manager_bg_color'=>'Manager message background color',
'message_icons'           =>'Show icons next to messages',
'font_size_block_2'       =>'The text size of the block with information about the company and the manager',
'font_size_block_3'       =>'Block text size with message history',
'font_size_block_4'       =>'Text size of the send message block',
'ok_font_family'          =>'Font selection',
'ok_color_client_txt_color'=>'Client message text color',
'ok_color_client_bg_color'=>'Client message background color',
'all_clients'             =>'Show all clients',
'ok_color_manager'        =>'The color of the main elements is OK',
'ok_color_block_left_manager'=>'Left block background color',
'ok_color_block_right_manager'=>'Right block background color',
'ok_color_mes_buttons_manager'=>'Message button color',
'ok_color_my_clients_manager'=>'Color of my clients',
'ok_color_free_clients_manager'=>'Common color',
'ok_color_client_txt_color_manager'=>'Client message text color',
'ok_color_client_bg_color_manager'=>'Client message background color',
'ok_color_manager_txt_color_manager'=>'Manager message text color',
'ok_color_manager_bg_color_manager'=>'Manager message background color',
'ok_font_family_manager'  =>'Font selection',
'avatar_logo'             =>'Use your image as a greeting image',
'ok_color_theme'          =>'The color of the main elements from the color scheme',
'ok_color_client_bg_color_theme'=>'Background color of client messages from the color scheme',
'ok_color_manager_bg_color_theme'=>'Manager message background color from color scheme',
'ok_color_manager_theme'  =>'The color of the main elements of the IOC from the color scheme',
'ok_color_mes_buttons_manager_theme'=>'Color of IOC message buttons from the color scheme',
'ok_color_client_bg_color_manager_theme'=>'IOC client message background color from color scheme',
'ok_color_manager_bg_color_manager_theme'=>'IOC manager message background color from color scheme',


// client chat
'alert_enter_your_email'  =>'Enter your email address so that our manager can answer you.',
'alert_bad_internet'      =>'Your Internet connection is not stable, some messages may be lost.',
'ban_message'             =>'You have been blocked by the manager. Your further actions are ignored.',
'offline_manager_connected'=>'The manager has connected to you, and you can continue the conversation online.',
'name_filter'             =>'Full name must consist of Russian characters and spaces.',
'email_filter'            =>'You entered the wrong email',
'no_managers'             =>'Sorry, but now our manager can not answer you. Leave your message and enter your email address. We will reply to you as soon as possible.',
'enter_name_email'        =>'Enter your name and email (optional)',
'offline_message_from'    =>'Offline message from',
'wrote'                   =>'writes',
'Manager'                 =>'Manager',
'mark_header'             =>'Evaluate the work of the manager:',
'you_name'                =>'Your name',

//manager chat
'select_send_message_user'=>'Select the user to send the message to.',
'alert_close'             =>'Are you sure you want to close \&quot;Online Consultant\&quot;?',
'select_subscribe_user'   =>'Select the user you want to link to the company.',
'select_tranfer_user'     =>'Select the user you want to transfer to another manager.',
'select_ban_user'         =>'Select the user you want to ban.',
'Clients_list'            =>'List of clients',
'select_user'             =>'Choose a client',
'unbind_client'           =>'Unbind client',
'enter_search_text'       =>'Enter search text',
'transfer_select_manager' =>'Select a manager to transfer the client:',
'transfer_no_managers'    =>'You are the only active manager',
'Manager_name'            =>'Manager&#39;s name',
'manager_clients_count'   =>'Communicates with clients',
'mans'                    =>'human',
'Cwait1'                  =>'Awaiting',
'Cwait2'                  =>'i',
'Your_consultant'         =>'Your consultant',
'manager'                 =>'manager',
'post_on_enter'           =>'Sending a message on click',
'thanks_for_the_mark'     =>'Thanks for the rating!',
'say_hi'                  =>'Good afternoon. How can I help you?',
'greeting_value'          =>'Phrase greets the customer',
'send_fast_reply'         =>'Quick response',
'manager_login_message'   =>'logged in',
'manager_logout_message'  =>'logged out',
'rate_message'            =>'assessment',
'Entry_for_consultant'    =>'Consultant Login',
);

if (isset($smarty)) $smarty->assign('lang', $lang);
