switch on new locale approach
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@30 c66351dc-e62f-0410-b875-e3a5c0b9693f
| @ -16,12 +16,12 @@ require('libs/common.php'); | |||||||
| require('libs/operator.php'); | require('libs/operator.php'); | ||||||
| 
 | 
 | ||||||
| $image = verifyparam("image","/^\w+$/", "webim"); | $image = verifyparam("image","/^\w+$/", "webim"); | ||||||
| $lang = verifyparam("lang", "/^\w\w$/", ""); | $lang = verifyparam("lang", "/^[\w-]{2,5}$/", ""); | ||||||
| if( !$lang || !in_array($lang,$available_locales) ) | if( !$lang || !in_array($lang,$available_locales) ) | ||||||
| 	$lang = $current_locale; | 	$lang = $current_locale; | ||||||
| 
 | 
 | ||||||
| $image_postfix = has_online_operators() ? "on" : "off"; | $image_postfix = has_online_operators() ? "on" : "off"; | ||||||
| $name = "images/webim/${image}_${lang}_${image_postfix}.gif"; | $name = "locales/${lang}/button/${image}_${image_postfix}.gif"; | ||||||
| 
 | 
 | ||||||
| $fp = fopen($name, 'rb') or die("no image"); | $fp = fopen($name, 'rb') or die("no image"); | ||||||
| header("Content-Type: image/gif"); | header("Content-Type: image/gif"); | ||||||
|  | |||||||
| Before Width: | Height: | Size: 288 B | 
| Before Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 325 B | 
| Before Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 2.5 KiB | 
| Before Width: | Height: | Size: 303 B | 
| Before Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 336 B | 
| Before Width: | Height: | Size: 2.5 KiB | 
| Before Width: | Height: | Size: 2.5 KiB | 
| @ -99,7 +99,7 @@ function get_user_locale() { | |||||||
| function get_locale() { | function get_locale() { | ||||||
| 	global $available_locales; | 	global $available_locales; | ||||||
| 
 | 
 | ||||||
| 	$locale = verifyparam("locale", "/^\w\w$/", ""); | 	$locale = verifyparam("locale", "/^[\w-]{2,5}$/", ""); | ||||||
| 
 | 
 | ||||||
| 	if( $locale && in_array($locale,$available_locales) ) { | 	if( $locale && in_array($locale,$available_locales) ) { | ||||||
| 		$_SESSION['locale'] = $locale; | 		$_SESSION['locale'] = $locale; | ||||||
| @ -138,7 +138,7 @@ function get_locale_links($href) { | |||||||
| function load_messages($locale) { | function load_messages($locale) { | ||||||
| 	global $messages; | 	global $messages; | ||||||
| 	$hash = array(); | 	$hash = array(); | ||||||
| 	$fp = fopen(dirname(__FILE__)."/../view/properties_$locale","r"); | 	$fp = fopen(dirname(__FILE__)."/../locales/$locale/properties","r"); | ||||||
| 	while (!feof($fp)) { | 	while (!feof($fp)) { | ||||||
|     	$line = fgets($fp, 4096); |     	$line = fgets($fp, 4096); | ||||||
| 		$list = split("=", $line, 2 ); | 		$list = split("=", $line, 2 ); | ||||||
|  | |||||||
| Before Width: | Height: | Size: 4.6 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB | 
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.1 KiB | 
| Before Width: | Height: | Size: 4.0 KiB | 
| Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB | 
| Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB | 
| @ -121,11 +121,11 @@ button.save=Save | |||||||
| button.search=Search | button.search=Search | ||||||
| tag.pagination.info=Page {0} of {1}, {2}-{3} from {4} | tag.pagination.info=Page {0} of {1}, {2}-{3} from {4} | ||||||
| tag.pagination.no_items=Found 0 elements | tag.pagination.no_items=Found 0 elements | ||||||
| image.chat.history=/webim/images/en/history.gif | image.chat.history=/webim/locales/en/images/history.gif | ||||||
| image.chat.message=/webim/images/en/message.gif | image.chat.message=/webim/locales/en/images/message.gif | ||||||
| image.button.login=/webim/images/en/login.gif | image.button.login=/webim/locales/en/images/login.gif | ||||||
| image.button.save=/webim/images/en/save.gif | image.button.save=/webim/locales/en/images/save.gif | ||||||
| image.button.search=/webim/images/en/search.gif | image.button.search=/webim/locales/en/images/search.gif | ||||||
| chat.came.from=Vistor came from page {0} | chat.came.from=Vistor came from page {0} | ||||||
| content.history=Search the dialogs history | content.history=Search the dialogs history | ||||||
| content.logoff=Log out of the system. | content.logoff=Log out of the system. | ||||||
|  | |||||||
| Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB | 
| Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.9 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB | 
| Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB | 
| Before Width: | Height: | Size: 4.2 KiB | 
| Before Width: | Height: | Size: 4.2 KiB | 
| @ -121,11 +121,11 @@ button.save= | |||||||
| button.search=Искать | button.search=Искать | ||||||
| tag.pagination.info=Страница {0} из {1}, показаны {2}-{3} из {4} | tag.pagination.info=Страница {0} из {1}, показаны {2}-{3} из {4} | ||||||
| tag.pagination.no_items=Ничего не найдено | tag.pagination.no_items=Ничего не найдено | ||||||
| image.chat.history=/webim/images/ru/history.gif | image.chat.history=/webim/locales/ru/images/history.gif | ||||||
| image.chat.message=/webim/images/ru/message.gif | image.chat.message=/webim/locales/ru/images/message.gif | ||||||
| image.button.login=/webim/images/ru/login.gif | image.button.login=/webim/locales/ru/images/login.gif | ||||||
| image.button.save=/webim/images/ru/save.gif | image.button.save=/webim/locales/ru/images/save.gif | ||||||
| image.button.search=/webim/images/ru/search.gif | image.button.search=/webim/locales/ru/images/search.gif | ||||||
| chat.came.from=Посетитель пришел со страницы {0} | chat.came.from=Посетитель пришел со страницы {0} | ||||||
| content.history=Поиск по истории диалогов | content.history=Поиск по истории диалогов | ||||||
| content.logoff=Покинуть систему. | content.logoff=Покинуть систему. | ||||||
|  | |||||||
| @ -19,19 +19,21 @@ $operator = check_login(); | |||||||
| 
 | 
 | ||||||
| // collect available images and locales
 | // collect available images and locales
 | ||||||
| $imageLocales = array(); | $imageLocales = array(); | ||||||
| $imagesDir = '../images/webim'; | foreach($available_locales as $curr) { | ||||||
| if($handle = opendir($imagesDir)) { | 	$imagesDir = "../locales/$curr/button"; | ||||||
| 	while (false !== ($file = readdir($handle))) { | 	if($handle = opendir($imagesDir)) { | ||||||
| 		if (preg_match("/^(\w+)_([\w-]+)_on.gif$/", $file, $matches)  | 		while (false !== ($file = readdir($handle))) { | ||||||
| 				&& is_file("$imagesDir/".$matches[1]."_".$matches[2]."_off.gif")) { | 			if (preg_match("/^(\w+)_on.gif$/", $file, $matches)  | ||||||
| 			$image = $matches[1]; | 					&& is_file("$imagesDir/".$matches[1]."_off.gif")) { | ||||||
| 			if( !isset($imageLocales[$image]) ) { | 				$image = $matches[1]; | ||||||
| 				$imageLocales[$image] = array(); | 				if( !isset($imageLocales[$image]) ) { | ||||||
|  | 					$imageLocales[$image] = array(); | ||||||
|  | 				} | ||||||
|  | 				$imageLocales[$image][] = $curr; | ||||||
| 			} | 			} | ||||||
| 			$imageLocales[$image][] = $matches[2]; |  | ||||||
| 		} | 		} | ||||||
|  | 		closedir($handle); | ||||||
| 	} | 	} | ||||||
| 	closedir($handle); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| $image = verifyparam("image","/^\w+$/", "webim"); | $image = verifyparam("image","/^\w+$/", "webim"); | ||||||
| @ -40,11 +42,11 @@ $image_locales = $imageLocales[$image]; | |||||||
| $showhost = verifyparam("hostname","/^on$/", "") == "on"; | $showhost = verifyparam("hostname","/^on$/", "") == "on"; | ||||||
| $forcesecure = verifyparam("secure","/^on$/", "") == "on"; | $forcesecure = verifyparam("secure","/^on$/", "") == "on"; | ||||||
| 
 | 
 | ||||||
| $lang = verifyparam("lang", "/^\w\w$/", ""); | $lang = verifyparam("lang", "/^[\w-]{2,5}$/", ""); | ||||||
| if( !$lang || !in_array($lang,$image_locales) ) | if( !$lang || !in_array($lang,$image_locales) ) | ||||||
| 	$lang = in_array($current_locale,$image_locales) ? $current_locale : $image_locales[0]; | 	$lang = in_array($current_locale,$image_locales) ? $current_locale : $image_locales[0]; | ||||||
| 
 | 
 | ||||||
| $file = "../images/webim/${image}_${lang}_on.gif"; | $file = "../locales/${lang}/button/${image}_on.gif"; | ||||||
| $size = get_gifimage_size($file); | $size = get_gifimage_size($file); | ||||||
| 
 | 
 | ||||||
| $message = get_image(get_app_location($showhost,$forcesecure)."/button.php?image=$image&lang=$lang",$size[0],$size[1]); | $message = get_image(get_app_location($showhost,$forcesecure)."/button.php?image=$image&lang=$lang",$size[0],$size[1]); | ||||||
|  | |||||||
| @ -1,167 +0,0 @@ | |||||||
| app.title=Web Instant Messenger |  | ||||||
| site.url=http://i-services.ru |  | ||||||
| site.title=i-services.ru |  | ||||||
| company.title=Internet Services |  | ||||||
| page.main_layout.meta_keyword=live chat,live help,live support |  | ||||||
| page.main_layout.meta_description=Live chat, live help, and live support for websites |  | ||||||
| page_login.title=Login |  | ||||||
| page_login.login=Login: |  | ||||||
| page_login.password=Password: |  | ||||||
| page_login.remember=Remember |  | ||||||
| page_login.error=Entered login/password is incorrect |  | ||||||
| agent.not_logged_in=Your session is expired please login again |  | ||||||
| page_client.pending_users=Your can find awaiting visitors. |  | ||||||
| chat.window.title.agent=Web Messenger |  | ||||||
| chat.window.title.user=Web Messenger |  | ||||||
| chat.window.product_name=Web <span class="grey">Messenger</span> |  | ||||||
| chat.window.close_title=Close chat |  | ||||||
| chat.window.chatting_with=You chat with: |  | ||||||
| chat.window.poweredby=Powered by: |  | ||||||
| chat.window.poweredreftext=i-services.ru |  | ||||||
| chat.window.send_message=Send message |  | ||||||
| chat.window.send_message_short=Send (Ctrl-Enter) |  | ||||||
| chat.window.toolbar.mail_history=Send chat history by e-mail |  | ||||||
| chat.window.toolbar.refresh=Refresh |  | ||||||
| chat.client.name=Your name: |  | ||||||
| chat.client.changename=Change name |  | ||||||
| chat.status.operator.left=Operator {0} left the chat |  | ||||||
| chat.status.user.left=Visitor {0} left the chat |  | ||||||
| chat.status.user.dead=Visitor closed chat window |  | ||||||
| chat.status.operator.dead=Operator has connection issues, we temporarily moved you to foreground queue. Sorry for keeping you waiting. |  | ||||||
| chat.status.operator.joined=Operator {0} joined the chat |  | ||||||
| chat.status.user.changedname=Visitor changed the name {0} to {1} |  | ||||||
| chat.status.user.reopenedthread=Visitor joined chat again |  | ||||||
| chat.status.operator.changed=Operator {0} changed operator {1} |  | ||||||
| chat.default.username=Visitor |  | ||||||
| chat.error_page.title=Error |  | ||||||
| chat.error_page.head=Error occurred: |  | ||||||
| chat.error_page.close=Close... |  | ||||||
| page.chat.old_browser.title=Please, use newer browser |  | ||||||
| page.chat.old_browser.close=Close... |  | ||||||
| page.chat.old_browser.content=Your web browser is not fully supported by Web Messenger. \nPlease, use one of the following web browsers: \n<p><ul>\n<li>Internet Explorer 5.5+\n<li>Firefox 1.0+\n<li>Opera 8.0+\n<li>Mozilla 1.4+\n<li>Netscape 7.1+\n<li>Safari 1.2+\n</ul></p>\nAlso, we support some old browsers:\n<p><ul>\n<li>Internet Explorer 5.0\n<li>Opera 7.0\n</ul></p> |  | ||||||
| chat.wait=Thank you for contacting us. An operator will be with you shortly... |  | ||||||
| mailthread.title=Send chat history<br>by mail |  | ||||||
| mailthread.enter_email=Enter your e-mail: |  | ||||||
| mailthread.perform=Send |  | ||||||
| mailthread.close=Close... |  | ||||||
| chat.mailthread.sent.title=Sent |  | ||||||
| chat.mailthread.sent.content=History of your chat was sent on address {0} |  | ||||||
| chat.mailthread.sent.closewindow=Click on this link to close the window |  | ||||||
| chat.mailthread.sent.close=Close... |  | ||||||
| chat.thread.state_wait=In queue |  | ||||||
| chat.thread.state_wait_for_another_agent=Waiting for operator |  | ||||||
| chat.thread.state_chatting_with_agent=In chat |  | ||||||
| chat.thread.state_closed=Closed |  | ||||||
| clients.title=List of awaiting visitors |  | ||||||
| clients.no_clients=The of awaiting visitors is empty |  | ||||||
| clients.intro=The page displays list of awaiting visitors. |  | ||||||
| clients.how_to=To answer the visitor click on his/her name in the list. |  | ||||||
| clients.queue.prio=Priority visitors queue |  | ||||||
| clients.queue.wait=Waiting for operator for the first time |  | ||||||
| clients.queue.chat=Visitors in dialogs |  | ||||||
| pending.table.head.name=Name |  | ||||||
| pending.table.head.contactid=Visitor's address |  | ||||||
| pending.table.head.state=State |  | ||||||
| pending.table.head.operator=Operator |  | ||||||
| pending.table.head.total=Total time |  | ||||||
| pending.table.head.waittime=Waiting time |  | ||||||
| pending.table.head.etc=Misc |  | ||||||
| pending.table.speak=Click to chat with the visitor |  | ||||||
| pending.table.view=Watch the chat |  | ||||||
| pending.table.ban=Ban the visitor |  | ||||||
| thread.chat_log=Chat log |  | ||||||
| thread.back_to_search=Go to search |  | ||||||
| thread.intro=The page displays chat |  | ||||||
| page_analysis.search.title=Chats history |  | ||||||
| page.analysis.search.head_name=Name |  | ||||||
| page.analysis.search.head_host=Visitor's address |  | ||||||
| page.analysis.search.head_operator=Operator |  | ||||||
| page.analysis.search.head_time=Time in chat |  | ||||||
| common.asterisk_explanation=<b><font class="red">*</font></b> - mandatory fields |  | ||||||
| page_agents.title=Agents |  | ||||||
| page_agents.agents=Agents full list: |  | ||||||
| page_agents.new_agent=Create new agent... |  | ||||||
| page_agents.agent_name=Name |  | ||||||
| page_agents.login=Login |  | ||||||
| page_agents.intro=This page displays list of company agents it also allows add new ones if you permissions |  | ||||||
| page_agent.title=Operator details |  | ||||||
| page_agent.intro=This page displays agent details, if you have access rights you can edit them. |  | ||||||
| page_agent.error.duplicate_login=Please choose another login, because agent with entered login is already registered in the system. |  | ||||||
| my_settings.error.password_match=Entered passwords do not match |  | ||||||
| topMenu.admin=Administration |  | ||||||
| topMenu.users=Visitors |  | ||||||
| topMenu.logoff=Exit |  | ||||||
| leftMenu.client_agents=Agents |  | ||||||
| leftMenu.client_gen_button=Button code |  | ||||||
| admin.content.description=Functions available for power users. |  | ||||||
| admin.content.client_agents=Create, delete company agents. Manage theirs permissions. |  | ||||||
| admin.content.client_gen_button=Button HTML code generation. |  | ||||||
| page.gen_button.title=Button HTML code generation |  | ||||||
| page.gen_button.intro=You can generate HTML code to place at your site here. |  | ||||||
| page.gen_button.code=HTML code |  | ||||||
| page.gen_button.sample=Example |  | ||||||
| page.gen_button.code.description=<strong>Caution!</strong> Please don't change<br/> the code manually because<br/> we don't guarantee that<br/> it will work! |  | ||||||
| mail.user.history.subject=Web Messenger: dialog history |  | ||||||
| mail.user.history.body=Hello, {0}!\n\nYour chat history: \n\n{1}\n--- \nKind Regards,\nThe I-Services Support Team |  | ||||||
| errors.header=<font color="#c13030"><b>Correct the mistakes:</b><br/><ul> |  | ||||||
| errors.prefix=<li class="error"> |  | ||||||
| errors.suffix=</li> |  | ||||||
| errors.footer=</ul></font> |  | ||||||
| errors.required=Please fill "{0}".   |  | ||||||
| form.field.login=Login |  | ||||||
| form.field.login.description=Login can consist of small Latin letters<br/> and underscore. |  | ||||||
| form.field.agent_name=Name |  | ||||||
| form.field.agent_name.description=This name will be seen by your visitors. |  | ||||||
| form.field.password_confirm=Confirmation |  | ||||||
| form.field.password_confirm.description=Confirm new password |  | ||||||
| form.field.password=Password |  | ||||||
| form.field.password.description= |  | ||||||
| button.enter=Enter |  | ||||||
| button.save=Save |  | ||||||
| button.search=Search |  | ||||||
| tag.pagination.info=Page {0} of {1}, {2}-{3} from {4} |  | ||||||
| tag.pagination.no_items=Found 0 elements |  | ||||||
| image.chat.history=/webim/images/en/history.gif |  | ||||||
| image.chat.message=/webim/images/en/message.gif |  | ||||||
| image.button.login=/webim/images/en/login.gif |  | ||||||
| image.button.save=/webim/images/en/save.gif |  | ||||||
| image.button.search=/webim/images/en/search.gif |  | ||||||
| chat.came.from=Vistor came from page {0} |  | ||||||
| content.history=Search the dialogs history |  | ||||||
| content.logoff=Log out of the system. |  | ||||||
| form.field.agent_commonname=International name (Latin) |  | ||||||
| form.field.agent_commonname.description=This name will be seen by your visitors |  | ||||||
| install.1.connected=You are connected to MySQL server version {0} |  | ||||||
| install.2.create=Create database "{0}" |  | ||||||
| install.2.db_exists=Database "{0}" is created. |  | ||||||
| install.2.notice=Database was not found on server. If you have permissions to create<br/> it now, click on the following link. |  | ||||||
| install.3.create=Create required tables. |  | ||||||
| install.3.tables_exist=Requred tables are created. |  | ||||||
| install.4.create=Update tables |  | ||||||
| install.4.done=Tables structure is up to date. |  | ||||||
| install.4.notice=Structure of your tables should be adjusted for new version of Messenger.  |  | ||||||
| install.connection.error=Could not connect, please check server settings in config.php. Error: {0} |  | ||||||
| install.done=Completed: |  | ||||||
| install.err.back=Resvole problem and try again. Press <a>back</a> to return to wizard. |  | ||||||
| install.err.title=Problem |  | ||||||
| install.kill_tables=Drop existing tables from database |  | ||||||
| install.kill_tables.notice=Impossible to update tables structure. Try to do it manually or recreate all tables (warning: all your data will be lost). |  | ||||||
| install.license=Software license agreement |  | ||||||
| install.message=Follow the wizard to setup your database.  |  | ||||||
| install.next=Next step: |  | ||||||
| install.title=Installation |  | ||||||
| installed.login_link=Proceed to login page |  | ||||||
| installed.message=<b>Application installed successfully.</b> |  | ||||||
| installed.notice=You can logon as admin with empty password. For security reasons, please <br/>change your password immediately and remove /webim/install folder from your server. |  | ||||||
| menu.agents=Agents list |  | ||||||
| menu.main=Main |  | ||||||
| menu.operator=You are {0} |  | ||||||
| no_such_operator=No such operator |  | ||||||
| page.gen_button.choose_image=Choose image |  | ||||||
| page.gen_button.choose_locale=Target locale |  | ||||||
| page.gen_button.include_site_name=Include host name into code |  | ||||||
| page.gen_button.secure_links=Use secure links (https) |  | ||||||
| page_agent.create_new=Here you can create new operator |  | ||||||
| page_agents.agent_commonname=International name |  | ||||||
| page_analysis.full.text.search=User name or message text search: |  | ||||||
| page_search.intro=Search for chat history of a specified user or a specified phrase in a message. |  | ||||||
| @ -1,167 +0,0 @@ | |||||||
| app.title=Вэб мессенджер |  | ||||||
| site.url=http://i-services.ru |  | ||||||
| site.title=i-services.ru |  | ||||||
| company.title=Internet Services |  | ||||||
| page.main_layout.meta_keyword=онлайн поддержка,онлайн консультант,онлайн помощь,улучшение сервиса,поддержка клиентов,центр поддержки,поддержка на сайте,центр сообщений,электронная коммерция,центр мгновенных сообщений,повышение продаж интернет магазина,интернет магазин,онлайн продажи,интернет продажи,посетители,покупатели,повышение коэффициента конверсии,online поддержка,online продажи, online обслуживание,online консультант,online помощь,обслуживание посетителей,обслуживание клиентов,качество обслуживания,бизнес-коммуникации,crm  |  | ||||||
| page.main_layout.meta_description=повышение конвертации, повышение конверсии, увеличение процента покупателей,превращает посетителей в online покупателей,диалог с посетителем,чат с посетителем |  | ||||||
| page_login.title=Вход в систему |  | ||||||
| page_login.login=Логин: |  | ||||||
| page_login.password=Пароль: |  | ||||||
| page_login.remember=Запомнить |  | ||||||
| page_login.error=Введен неправильный логин или пароль |  | ||||||
| agent.not_logged_in=Ваша сессия устарела, войдите, пожалуйста, снова |  | ||||||
| page_client.pending_users=На этой странице можно просмотреть список ожидающих ответа посетителей. |  | ||||||
| chat.window.title.agent=Вэб Мессенджер |  | ||||||
| chat.window.title.user=Вэб Мессенджер |  | ||||||
| chat.window.product_name=Вэб <span class="grey">Мессенджер</span> |  | ||||||
| chat.window.close_title=Закрыть диалог |  | ||||||
| chat.window.chatting_with=Вы общаетесь с: |  | ||||||
| chat.window.poweredby=Предоставлено: |  | ||||||
| chat.window.poweredreftext=i-services.ru |  | ||||||
| chat.window.send_message=Отправить сообщение |  | ||||||
| chat.window.send_message_short=Отправить (Ctrl-Enter) |  | ||||||
| chat.window.toolbar.mail_history=Отправить историю диалога по электронной почте |  | ||||||
| chat.window.toolbar.refresh=Обновить содержимое диалога |  | ||||||
| chat.client.name=Ваше имя: |  | ||||||
| chat.client.changename=Изменить имя |  | ||||||
| chat.status.operator.left=Оператор {0} покинул диалог |  | ||||||
| chat.status.user.left=Посетитель {0} покинул диалог |  | ||||||
| chat.status.user.dead=Посетитель закрыл окно диалога |  | ||||||
| chat.status.operator.dead=У оператора возникли проблемы со связью, мы временно перевели Вас в приоритетную очередь. Приносим извинения за Ваше ожидание. |  | ||||||
| chat.status.operator.joined=Оператор {0} включился в разговор |  | ||||||
| chat.status.user.changedname=Посетитель сменил имя {0} на {1} |  | ||||||
| chat.status.user.reopenedthread=Посетитель заново вошел в диалог |  | ||||||
| chat.status.operator.changed=Оператор {0} сменил оператора {1} |  | ||||||
| chat.default.username=Посетитель |  | ||||||
| chat.error_page.title=Ошибка |  | ||||||
| chat.error_page.head=Произошла ошибка: |  | ||||||
| chat.error_page.close=Закрыть... |  | ||||||
| page.chat.old_browser.title=Используйте более новый browser |  | ||||||
| page.chat.old_browser.close=Закрыть... |  | ||||||
| page.chat.old_browser.content=К сожалению, для работы этой страницы необходим более новый браузер. Для лучшего просмотра используйте:\n<p><ul>\n<li>Internet Explorer 5.5+\n<li>Firefox 1.0+\n<li>Opera 8.0+\n<li>Mozilla 1.4+\n<li>Netscape 7.1+\n<li>Safari 1.2+\n</ul></p>\nТакже поддерживаются некоторые старые браузеры:\n<p><ul>\n<li>Internet Explorer 5.0\n<li>Opera 7.0\n</ul></p> |  | ||||||
| chat.wait=Пожалуйста, подождите немного, к Вам присоединится оператор.. |  | ||||||
| mailthread.title=Отправить историю разговора<br>на почтовый ящик |  | ||||||
| mailthread.enter_email=Введите Ваш E-mail: |  | ||||||
| mailthread.perform=Отправить |  | ||||||
| mailthread.close=Закрыть... |  | ||||||
| chat.mailthread.sent.title=Отправлено |  | ||||||
| chat.mailthread.sent.content=История Вашего разговора была отправлена на адрес {0} |  | ||||||
| chat.mailthread.sent.closewindow=Нажмите на эту ссылку чтобы закрыть окно |  | ||||||
| chat.mailthread.sent.close=Закрыть... |  | ||||||
| chat.thread.state_wait=В очереди |  | ||||||
| chat.thread.state_wait_for_another_agent=Ожидание оператора |  | ||||||
| chat.thread.state_chatting_with_agent=В диалоге |  | ||||||
| chat.thread.state_closed=Закрыто |  | ||||||
| clients.title=Список ожидающих посетителей |  | ||||||
| clients.no_clients=В этой очереди ожидающих посетителей нет |  | ||||||
| clients.intro=На этой странице можно просмотреть список ожидающих ответа посетителей. |  | ||||||
| clients.how_to=Для ответа посетителю кликните на соответствующее имя в списке. |  | ||||||
| clients.queue.prio=Приоритетная очередь посетителей |  | ||||||
| clients.queue.wait=Ожидающие оператора в первый раз |  | ||||||
| clients.queue.chat=Посетители в диалогах |  | ||||||
| pending.table.head.name=Имя |  | ||||||
| pending.table.head.contactid=Адрес посетителя |  | ||||||
| pending.table.head.state=Состояние |  | ||||||
| pending.table.head.operator=Оператор |  | ||||||
| pending.table.head.total=Общее время |  | ||||||
| pending.table.head.waittime=Время ожидания |  | ||||||
| pending.table.head.etc=Разное |  | ||||||
| pending.table.speak=Нажмите для того, чтобы обслужить посетителя |  | ||||||
| pending.table.view=Подключиться к диалогу в режиме просмотра |  | ||||||
| pending.table.ban=Пометить посетителя как нежелательного |  | ||||||
| thread.chat_log=Протокол разговора |  | ||||||
| thread.back_to_search=Перейти в поиск |  | ||||||
| thread.intro=На данной странице Вы можете просмотреть диалог. |  | ||||||
| page_analysis.search.title=История диалогов |  | ||||||
| page.analysis.search.head_name=Имя |  | ||||||
| page.analysis.search.head_host=Адрес посетителя |  | ||||||
| page.analysis.search.head_operator=Оператор |  | ||||||
| page.analysis.search.head_time=Время в диалоге |  | ||||||
| common.asterisk_explanation=<b><font class="red">*</font></b> - поля, обязательные для заполнения |  | ||||||
| page_agents.title=Агенты |  | ||||||
| page_agents.agents=Полный список агентов: |  | ||||||
| page_agents.new_agent=Создать нового агента... |  | ||||||
| page_agents.agent_name=Имя |  | ||||||
| page_agents.login=Логин |  | ||||||
| page_agents.intro=На этой странице можно просмотреть список агентов компании, добавить нового при наличии соответствующих прав доступа |  | ||||||
| page_agent.title=Детали агента |  | ||||||
| page_agent.intro=На этой странице Вы можете просмотреть детали и свойства агента и отредактировать их |  | ||||||
| page_agent.error.duplicate_login=Выберите другой логин, т.к. агент с введенным логином уже зарегистрирован в системе. |  | ||||||
| my_settings.error.password_match=Введенные пароли должны совпадать |  | ||||||
| topMenu.admin=Операторское меню |  | ||||||
| topMenu.users=Посетители |  | ||||||
| topMenu.logoff=Выход |  | ||||||
| leftMenu.client_agents=Агенты |  | ||||||
| leftMenu.client_gen_button=Код кнопки |  | ||||||
| admin.content.description=Набор функций, доступный только зарегистрированным операторам |  | ||||||
| admin.content.client_agents=Создание, удаление агентов компании. Управление их правами и возможностями. |  | ||||||
| admin.content.client_gen_button=Получение HTML-кода для кнопки "Вэб Мессенджера". |  | ||||||
| page.gen_button.title=Получение HTML-кода кнопки |  | ||||||
| page.gen_button.intro=На этой странице Вы можете получить HTML-код кнопки "Вэб Мессенджера" для размещения на своем сайте. |  | ||||||
| page.gen_button.code=HTML-код |  | ||||||
| page.gen_button.sample=Пример |  | ||||||
| page.gen_button.code.description=<strong>Внимание!</strong> При внесении<br/> каких-либо изменений<br/> в этот код работоспособность<br/> кнопки не гарантируется! |  | ||||||
| mail.user.history.subject=Вэб Мессенджер: история диалога |  | ||||||
| mail.user.history.body=Здраствуйте, {0}!\n\nПо Вашему запросу, высылаем историю: \n\n{1}\n--- \nС уважением,\nСлужба поддержки i-services.ru |  | ||||||
| errors.header=<font color="#c13030"><b>Исправьте ошибки:</b><br/><ul> |  | ||||||
| errors.prefix=<li class="error"> |  | ||||||
| errors.suffix=</li> |  | ||||||
| errors.footer=</ul></font> |  | ||||||
| errors.required=Заполните поле "{0}".   |  | ||||||
| form.field.login=Логин |  | ||||||
| form.field.login.description=Логин может состоять из маленьких латинских<br/> букв и знака подчеркивания. |  | ||||||
| form.field.agent_name=Имя |  | ||||||
| form.field.agent_name.description=Под этим именем Вас увидят ваши посетители, <br/> по нему же к Вам будет обращаться система. |  | ||||||
| form.field.password_confirm=Подтверждение |  | ||||||
| form.field.password_confirm.description=Подтвердите введенный пароль |  | ||||||
| form.field.password=Пароль |  | ||||||
| form.field.password.description= |  | ||||||
| button.enter=Войти |  | ||||||
| button.save=Сохранить |  | ||||||
| button.search=Искать |  | ||||||
| tag.pagination.info=Страница {0} из {1}, показаны {2}-{3} из {4} |  | ||||||
| tag.pagination.no_items=Ничего не найдено |  | ||||||
| image.chat.history=/webim/images/ru/history.gif |  | ||||||
| image.chat.message=/webim/images/ru/message.gif |  | ||||||
| image.button.login=/webim/images/ru/login.gif |  | ||||||
| image.button.save=/webim/images/ru/save.gif |  | ||||||
| image.button.search=/webim/images/ru/search.gif |  | ||||||
| chat.came.from=Посетитель пришел со страницы {0} |  | ||||||
| content.history=Поиск по истории диалогов |  | ||||||
| content.logoff=Покинуть систему. |  | ||||||
| form.field.agent_commonname=Интернациональное имя (латиницей) |  | ||||||
| form.field.agent_commonname.description=Под этим именем Вас увидят ваши посетители из других стран |  | ||||||
| install.1.connected=Вы подсоединены к серверу MySQL версии {0}. |  | ||||||
| install.2.create=Создать базу данных "{0}" |  | ||||||
| install.2.db_exists=Создана база данных "{0}". |  | ||||||
| install.2.notice=База, которую вы выбрали не существует на сервере. Если у вас есть права <br/>на ее создание, ее можно создать сейчас.  |  | ||||||
| install.3.create=Создать необходимые таблицы. |  | ||||||
| install.3.tables_exist=Необходимые таблицы созданы. |  | ||||||
| install.4.create=Обновить  |  | ||||||
| install.4.done=Структура таблиц готова к использованию. |  | ||||||
| install.4.notice=Необходимо обновить структуру таблиц для корректной работы Вэб Мессенджера. |  | ||||||
| install.connection.error=Нет доступа к MySQL серверу, проверьте настройки в config.php. Ошибка: {0} |  | ||||||
| install.done=Выполнено: |  | ||||||
| install.err.back=Исправьте проблему и попробуйте еще раз. Нажмите <a>назад</a> чтобы вернуться к мастеру установки. |  | ||||||
| install.err.title=Ошибка |  | ||||||
| install.kill_tables=Удалить существующие таблицы |  | ||||||
| install.kill_tables.notice=Невозможно обновить структуру таблиц. Попробуйте сделать это вручную или пересоздайте все таблицы заново. |  | ||||||
| install.license=Лицензионное соглашение о программном обеспечении |  | ||||||
| install.message=Следуйте указаниям мастера для правильной настройки базы данных. |  | ||||||
| install.next=Следующий шаг: |  | ||||||
| install.title=Установка |  | ||||||
| installed.login_link=Войти в систему |  | ||||||
| installed.message=<b>Установка успешно завершена. </b> |  | ||||||
| installed.notice=Вы можете войти в систему как admin с пустым паролем.<br/>В целях безопасности, удалите, пожалуйста, каталог /webim/install с вашего сервера и поменяйте пароль. |  | ||||||
| menu.agents=Список агентов |  | ||||||
| menu.main=Главная |  | ||||||
| menu.operator=Вы {0} |  | ||||||
| no_such_operator=Запрашиваемая учетная запись не существует |  | ||||||
| page.gen_button.choose_image=Выбор картинки |  | ||||||
| page.gen_button.choose_locale=Для какой локали создавать кнопку |  | ||||||
| page.gen_button.include_site_name=Включать имя сайта в код |  | ||||||
| page.gen_button.secure_links=Использовать защищенное соединение (https) |  | ||||||
| page_agent.create_new=Создание нового оператора |  | ||||||
| page_agents.agent_commonname=Интернациональное имя |  | ||||||
| page_analysis.full.text.search=Поиск по имени посетителя или по тексту сообщения: |  | ||||||
| page_search.intro=На данной странице можно осуществить поиск диалогов по имени пользователя или фразе, встречающейся в сообщении. |  | ||||||