Add new localization constants

This commit is contained in:
Fedor A. Fetisov 2013-09-14 22:15:36 +04:00
parent 6e3f6a4201
commit 2779206a1a
15 changed files with 54 additions and 15 deletions

View File

@ -56,6 +56,8 @@ chat.redirect.choose=Choose:
chat.redirect.group=Group:
chat.redirect.operator=Operator:
chat.redirect.title=Redirect to<br/>another operator
chat.redirect.unknown_group=Unknown group
chat.redirect.unknown_operator=Unknown operator
chat.redirected.close=Close...
chat.redirected.closewindow=Click to close the window
chat.redirected.content=The visitor has been placed in the priorty queue of the operator {0}.
@ -92,6 +94,7 @@ chat.window.title.user=Mibew Messenger
chat.window.toolbar.mail_history=Send chat history by e-mail
chat.window.toolbar.redirect_user=Redirect visitor to another operator
chat.window.toolbar.refresh=Refresh
chat.window.toolbar.toggle_sound=Toggle sound on/off
clients.how_to=To answer the visitor click their name in the list.
clients.intro=This page displays a list of visitors who are waiting.
clients.no_clients=The list of visitors waiting is empty
@ -308,6 +311,8 @@ page.groups.intro=This page displays a list of groups. Each group can have separ
page.groups.isaway=Away
page.groups.isonline=Online
page.groups.new=Create new group
page.groups.none=None
page.groups.remove=Remove
page.groups.title=Groups
page.notifications.intro=The list displays all notifications sent by messenger, including instant text messages and E-Mails.
page.notifications.title=Notifications Log
@ -317,11 +322,14 @@ page.preview.chatsimple=Simple chat window. Refresh to post messages (IE 5, Oper
page.preview.choose=Choose style
page.preview.choosetpl=Choose template
page.preview.error=Error window
page.preview.in_separate_window=in separate window
page.preview.intro=You can view the list of themes you currently have installed here.
page.preview.leavemessage=Leave message window
page.preview.leavemessagesent="Message is delivered" window
page.preview.link=link
page.preview.mail=Mail thread window
page.preview.mailsent="Mail is sent" window
page.preview.no_iframes=No iframes
page.preview.nochat=List of supported browsers window
page.preview.redirect=Redirect visitor to another operator window
page.preview.redirected="Visitor is redirected" window
@ -340,6 +348,7 @@ page_agent.create_new=You can create a new operator here.
page_agent.error.duplicate_login=Please choose another login because an operator with that login is already registered in the system.
page_agent.error.wrong_login=Login should contain only latin characters, numbers and underscore symbol.
page_agent.intro=Edit general operator settings.
page_agent.not_found=-not found-
page_agent.tab.avatar=Photo
page_agent.tab.groups=Groups
page_agent.tab.main=General
@ -353,11 +362,14 @@ page_agents.isaway=Away
page_agents.isonline=Online
page_agents.login=Login
page_agents.new_agent=Add operator...
page_agents.remove=Remove
page_agents.status=Last active
page_agents.title=Operators
page_analysis.full.text.search=User name or message text search:
page_analysis.search.title=Chat history
page_avatar.cannot_load_avatar=cannot load avatar
page_avatar.intro=You can upload your photo only as JPG, GIF, PNG or TIF image files.
page_avatar.no_avatar=No avatar
page_avatar.title=Upload photo
page_ban.intro=Here you can block malicious visitors that affect your work with spam messages.
page_ban.sent=Address {0} is blocked for a specified number of days.
@ -383,6 +395,7 @@ page_settings.tab.features=Optional Services
page_settings.tab.main=General
page_settings.tab.performance=Performance
page_settings.tab.themes=Themes preview
pending.loading=Loading...
pending.menu.hide=Hide menu >>
pending.menu.show=Show menu >>
pending.popup_notification=A new visitor is waiting for an answer.

View File

@ -35,6 +35,7 @@ chat.window.title.user
chat.window.toolbar.mail_history
chat.window.toolbar.redirect_user
chat.window.toolbar.refresh
chat.window.toolbar.toggle_sound
company.title
errors.captcha
errors.required

View File

@ -32,6 +32,8 @@ chat.redirect.choose
chat.redirect.group
chat.redirect.operator
chat.redirect.title
chat.redirect.unknown_group
chat.redirect.unknown_operator
chat.redirected.close
chat.redirected.closewindow
chat.redirected.content
@ -138,11 +140,20 @@ page.gen_button.sample
page.gen_button.secure_links
page.gen_button.title
page.group.no_such
page.groups.none
page.groups.remove
page.notifications.intro
page.notifications.title
page.preview.in_separate_window
page.preview.link
page.preview.no_iframes
page.preview.style_default
page_agent.not_found
page_agents.remove
page_analysis.full.text.search
page_analysis.search.title
page_avatar.cannot_load_avatar
page_avatar.no_avatar
page_ban.intro
page_ban.sent
page_ban.thread
@ -160,6 +171,7 @@ page_login.password
page_login.remember
page_login.title
page_search.intro
pending.loading
pending.menu.hide
pending.menu.show
pending.popup_notification

View File

@ -56,6 +56,8 @@ chat.redirect.choose=
chat.redirect.group=Группа:
chat.redirect.operator=Оператор:
chat.redirect.title=Перенаправить<br/>другому оператору
chat.redirect.unknown_group=Íåèçâåñòíàÿ ãðóïïà
chat.redirect.unknown_operator=Íåèçâåñòíûé îïåðàòîð
chat.redirected.close=Закрыть...
chat.redirected.closewindow=Нажмите на эту ссылку чтобы закрыть окно
chat.redirected.content=Посетитель помещен в привелегированную очередь оператора {0}.
@ -92,6 +94,7 @@ chat.window.title.user=Mibew
chat.window.toolbar.mail_history=Отправить историю диалога по электронной почте
chat.window.toolbar.redirect_user=Перенаправить посетителя другому оператору
chat.window.toolbar.refresh=Обновить содержимое диалога
chat.window.toolbar.toggle_sound=Çâóê âêë/âûêë
clients.how_to=Для ответа посетителю кликните на соответствующее имя в списке.
clients.intro=На этой странице можно просмотреть список ожидающих ответа посетителей.
clients.no_clients=В этой очереди ожидающих посетителей нет
@ -304,6 +307,8 @@ page.groups.intro=
page.groups.isaway=Away
page.groups.isonline=Доступна
page.groups.new=Добавить группу...
page.groups.none=Íåò
page.groups.remove=Óäàëèòü
page.groups.title=Группы
page.notifications.intro=В этом списке вы найдете все уведомления, отправленные мессенджером, включая письма и мгновенные сообщения (Jabber).
page.notifications.title=История Уведомлений
@ -313,11 +318,14 @@ page.preview.chatsimple=Simple chat window, refresh to post messages (IE 5, Oper
page.preview.choose=Выберите стиль
page.preview.choosetpl=Выберите шаблон
page.preview.error=Error window
page.preview.in_separate_window=â íîâîì îêíå
page.preview.intro=Здесь вы можете посмотреть на стиль вашего сайта.
page.preview.leavemessage=Leave message window
page.preview.leavemessagesent="Message is delivered" window
page.preview.link=ññûëêà
page.preview.mail=Mail thread window
page.preview.mailsent="Mail is sent" window
page.preview.no_iframes=Áåç iframe
page.preview.nochat=List of supported browsers window
page.preview.redirect=Redirect visitor to another operator window
page.preview.redirected="Visitor is redirected" window
@ -336,6 +344,7 @@ page_agent.create_new=
page_agent.error.duplicate_login=Выберите другой логин, т.к. оператор с введенным логином уже зарегистрирован в системе.
page_agent.error.wrong_login=Логин должен состоять из латинских символов, цифр и знака подчеркивания.
page_agent.intro=На этой странице вы можете просмотреть детали оператора и отредактировать их.
page_agent.not_found=-íå íàéäåí-
page_agent.tab.avatar=Фотография
page_agent.tab.groups=Группы
page_agent.tab.main=Общее
@ -349,11 +358,14 @@ page_agents.isaway=
page_agents.isonline=Доступен
page_agents.login=Логин
page_agents.new_agent=Добавить оператора...
page_agents.remove=Óäàëèòü
page_agents.status=Последний раз
page_agents.title=Операторы
page_analysis.full.text.search=Поиск по имени посетителя или по тексту сообщения:
page_analysis.search.title=История диалогов
page_avatar.cannot_load_avatar=íåâîçìîæíî çàãðóçèòü àâàòàðêó
page_avatar.intro=Вы можете загрузить фотографию расширения JPG, GIF, PNG или TIF.
page_avatar.no_avatar=Áåç àâàòàðêè
page_avatar.title=Загрузка фотографии
page_ban.intro=С помощью механизма запрета Вы можете бороться с нежелательными посетителями, которые нарушают работу консультантов, открывая большое количество окон или присылая спам сообщения.
page_ban.sent=Адрес {0} запрещен на указанное число дней.
@ -379,6 +391,7 @@ page_settings.tab.features=
page_settings.tab.main=Общее
page_settings.tab.performance=Производительность
page_settings.tab.themes=Просмотр стилей
pending.loading=Çàãðóçêà...
pending.menu.hide=Спрятать меню >>
pending.menu.show=Показать меню >>
pending.popup_notification=Новый посетитель ожидает ответа.

View File

@ -70,7 +70,7 @@ if (!$op) {
$page['permissionsList'] = get_permission_list();
$page['formpermissions'] = array("");
$page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : "-not found-";
$page['currentop'] = $op ? topage(get_operator_name($op)) . " (" . $op['vclogin'] . ")" : getlocal('page_agent.not_found');
if ($op) {
foreach ($permission_ids as $perm => $id) {

View File

@ -52,7 +52,7 @@ if (isset($_GET['nextGroup'])) {
$errors[] = getlocal("chat.redirect.cannot");
}
} else {
$errors[] = "Unknown group";
$errors[] = getlocal("chat.redirect.unknown_group");
}
} else {
@ -78,7 +78,7 @@ if (isset($_GET['nextGroup'])) {
$errors[] = getlocal("chat.redirect.cannot");
}
} else {
$errors[] = "Unknown operator";
$errors[] = getlocal("chat.redirect.unknown_operator");
}
}

View File

@ -176,7 +176,7 @@ ${if:historyParams}
<td><a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onclick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=720,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img class="tplimage ihistory" src="${mibewroot}/images/free.gif" border="0" alt="History&nbsp;"/></a></td>
${endif:historyParams}
${endif:agent}
<td><a id="togglesound" href="javascript:void(0)" onclick="return false;" title="Turn off sound">
<td><a id="togglesound" href="javascript:void(0)" onclick="return false;" title="${msg:chat.window.toolbar.toggle_sound}">
<img id="soundimg" class="tplimage isound" src="${mibewroot}/images/free.gif" border="0" alt="Sound&nbsp;" /></a></td>
<td><a id="refresh" href="javascript:void(0)" onclick="return false;" title="${msg:chat.window.toolbar.refresh}">

View File

@ -173,7 +173,7 @@ ${if:historyParams}
<td><a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onclick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=720,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img class="tplimage ihistory" src="${mibewroot}/images/free.gif" border="0" alt="History&nbsp;"/></a></td>
${endif:historyParams}
${endif:agent}
<td><a id="togglesound" href="javascript:void(0)" onclick="return false;" title="Turn off sound">
<td><a id="togglesound" href="javascript:void(0)" onclick="return false;" title="${msg:chat.window.toolbar.toggle_sound}">
<img id="soundimg" class="tplimage isound" src="${mibewroot}/images/free.gif" border="0" alt="Sound&nbsp;" /></a></td>
<td><a id="refresh" href="javascript:void(0)" onclick="return false;" title="${msg:chat.window.toolbar.refresh}">

View File

@ -123,7 +123,7 @@
<a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onclick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=720,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img class="tplimage ihistory" src="${mibewroot}/images/free.gif" alt="History&nbsp;"/></a>
${endif:historyParams}
${endif:agent}
<a id="togglesound" href="javascript:void(0)" onclick="return false;" title="Turn off sound"><img id="soundimg" class="tplimage isound" src="${mibewroot}/images/free.gif" alt="Sound&nbsp;" /></a>
<a id="togglesound" href="javascript:void(0)" onclick="return false;" title="${msg:chat.window.toolbar.toggle_sound}"><img id="soundimg" class="tplimage isound" src="${mibewroot}/images/free.gif" alt="Sound&nbsp;" /></a>
<a id="refresh" href="javascript:void(0)" onclick="return false;" title="${msg:chat.window.toolbar.refresh}"><img class="tplimage irefresh" src="${mibewroot}/images/free.gif" alt="Refresh&nbsp;" /></a>
${if:sslLink}
<a href="${page:sslLink}&amp;style=${styleid}" title="SSL" ><img class="tplimage issl" src="${mibewroot}/images/free.gif" alt="SSL&nbsp;"/></a>

View File

@ -82,7 +82,7 @@ var threadParams = { servl:"${mibewroot}/thread.php",wroot:"${mibewroot}",freque
${endif:historyParams}
${endif:agent}
<td>
<a id="togglesound" href="javascript:void(0)" onClick="return false;" title="Sound On/Off"><img id="soundimg" class="isound" src="${mibewroot}/images/free.gif" border="0" alt="Sound On/Off" /></a>
<a id="togglesound" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.toolbar.toggle_sound}"><img id="soundimg" class="isound" src="${mibewroot}/images/free.gif" border="0" alt="Sound On/Off" /></a>
</td>
<td>
<a id="refresh" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.toolbar.refresh}"><img src="${tplroot}/images/buttons/refresh.gif" border="0" alt="${msg:chat.window.toolbar.refresh}" /></a>

View File

@ -83,7 +83,7 @@ require_once('inc_errors.php');
<?php if($page['canmodify']) { ?>
<td>
<a class="removelink" id="i<?php echo safe_htmlspecialchars($a['operatorid']) ?>" href="<?php echo $mibewroot ?>/operator/operators.php?act=del&amp;id=<?php echo urlencode($a['operatorid']) ?><?php print_csrf_token_in_url() ?>">
remove
<?php echo getlocal("page_agents.remove") ?>
</a>
</td>
<?php } ?>

View File

@ -48,7 +48,7 @@ require_once('inc_errors.php');
<div class="field">
<div class="flabel"><?php echo getlocal('form.field.avatar.current') ?></div>
<div class="fvalue">
<img src="<?php echo safe_htmlspecialchars($page['avatar']) ?>" alt="cannot load avatar"/><br/>
<img src="<?php echo safe_htmlspecialchars($page['avatar']) ?>" alt="<?php echo safe_htmlspecialchars(getlocal("page_avatar.cannot_load_avatar")) ?>"/><br/>
<?php if($page['canmodify']) { ?>
<a class="formauth" href="<?php echo $mibewroot ?>/operator/avatar.php?op=<?php echo urlencode($page['opid']) ?>&amp;delete=true">
<?php echo getlocal("page_agent.clear_avatar") ?>
@ -61,7 +61,7 @@ require_once('inc_errors.php');
<?php } else if(!$page['canmodify']) { ?>
<div class="field">
<div class="fvaluenodesc">
No avatar
<?php echo getlocal('page_avatar.no_avatar') ?>
</div>
</div>
<?php } ?>

View File

@ -73,7 +73,7 @@ if(count($page['groups']) > 0) {
</a>
</td>
<td class="notlast">
<?php echo $grp['vclocaldescription'] ? safe_htmlspecialchars(topage($grp['vclocaldescription'])) : "&lt;none&gt;" ?>
<?php echo $grp['vclocaldescription'] ? safe_htmlspecialchars(topage($grp['vclocaldescription'])) : "&lt;" . getlocal("page.groups.none") . "&gt;" ?>
</td>
<td class="notlast">
<?php if(is_online($grp)) { ?>
@ -92,7 +92,7 @@ if(count($page['groups']) > 0) {
<?php if($page['canmodify']) { ?>
<td>
<a href="<?php echo $mibewroot ?>/operator/groups.php?act=del&amp;gid=<?php echo urlencode($grp['groupid']) ?><?php print_csrf_token_in_url() ?>" id="i<?php echo safe_htmlspecialchars($grp['groupid']) ?>" class="removelink">
remove
<?php echo getlocal("page.groups.remove") ?>
</a>
</td>
<?php } ?>

View File

@ -76,7 +76,7 @@ function tpl_content() { global $page, $mibewroot;
<tr id="tchat"><td colspan="7"></td></tr>
<tr id="tchatend"><td colspan="7"></td></tr>
<tr><td id="statustd" colspan="7" height="30">Loading....</td></tr>
<tr><td id="statustd" colspan="7" height="30"><?php echo getlocal("pending.loading") ?></td></tr>
</tbody>
</table>

View File

@ -58,11 +58,11 @@ function tpl_content() { global $page, $mibewroot;
<div class="field">
<div class="flabel">
<?php echo safe_htmlspecialchars($pp['label']) ?>
<a href="<?php echo safe_htmlspecialchars($page['showlink']) ?><?php echo safe_htmlspecialchars($pp['id']) ?>" target="_blank" title="in separate window" onclick="this.newWindow = window.open('<?php echo safe_htmlspecialchars($page['showlink']) ?><?php echo safe_htmlspecialchars($pp['id']) ?>', '<?php echo safe_htmlspecialchars($pp['id']) ?>', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=<?php echo safe_htmlspecialchars($pp['w']) ?>,height=<?php echo safe_htmlspecialchars($pp['h']) ?>,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">link</a>
<a href="<?php echo safe_htmlspecialchars($page['showlink']) ?><?php echo safe_htmlspecialchars($pp['id']) ?>" target="_blank" title="<?php echo safe_htmlspecialchars(getlocal("page.preview.in_separate_window")) ?>" onclick="this.newWindow = window.open('<?php echo safe_htmlspecialchars($page['showlink']) ?><?php echo safe_htmlspecialchars($pp['id']) ?>', '<?php echo safe_htmlspecialchars($pp['id']) ?>', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=<?php echo safe_htmlspecialchars($pp['w']) ?>,height=<?php echo safe_htmlspecialchars($pp['h']) ?>,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><?php echo getlocal("page.preview.link") ?></a>
</div>
<div class="fvalueframe">
<iframe id="sample<?php echo safe_htmlspecialchars($pp['id']) ?>" width="<?php echo safe_htmlspecialchars($pp['w']) ?>" height="<?php echo safe_htmlspecialchars($pp['h']) ?>" src="<?php echo $page['showlink'] ?><?php echo safe_htmlspecialchars($pp['id']) ?>" frameborder="0" scrolling="no">
No iframes
<?php echo getlocal("page.preview.no_iframes") ?>
</iframe>
</div>
</div>