mirror of
https://github.com/openvk/openvk
synced 2025-04-23 16:43:02 +03:00
Byuueueueueeee
This commit is contained in:
parent
076309eec6
commit
331e1cb0d4
11 changed files with 164 additions and 75 deletions
|
@ -143,24 +143,24 @@
|
|||
{/if}
|
||||
{var $canReport = $thisUser->getId() != $club->getOwner()->getId()}
|
||||
{if $canReport}
|
||||
<a class="profile_link" style="display:block;width:96%;" href="javascript:reportVideo()">{_report}</a>
|
||||
<a class="profile_link" style="display:block;" href="javascript:reportVideo()">{_report}</a>
|
||||
|
||||
<script>
|
||||
function reportVideo() {
|
||||
uReportMsgTxt = "Вы собираетесь пожаловаться на данное сообщество.";
|
||||
uReportMsgTxt += "<br/>Что именно вам кажется недопустимым в этом материале?";
|
||||
uReportMsgTxt += "<br/><br/><b>Причина жалобы</b>: <input type='text' id='uReportMsgInput' placeholder='Причина' />"
|
||||
uReportMsgTxt = tr("going_to_report_club");
|
||||
uReportMsgTxt += "<br/>"+tr("report_question_text");
|
||||
uReportMsgTxt += "<br/><br/><b>"+tr("report_reason")+"</b>: <input type='text' id='uReportMsgInput' placeholder='" + tr("reason") + "' />"
|
||||
|
||||
MessageBox("Пожаловаться?", uReportMsgTxt, ["Подтвердить", "Отмена"], [
|
||||
MessageBox(tr("report_question"), uReportMsgTxt, [tr("confirm_m"), tr("cancel")], [
|
||||
(function() {
|
||||
res = document.querySelector("#uReportMsgInput").value;
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "/report/" + {$club->getId()} + "?reason=" + res + "&type=group", true);
|
||||
xhr.onload = (function() {
|
||||
if(xhr.responseText.indexOf("reason") === -1)
|
||||
MessageBox("Ошибка", "Не удалось подать жалобу...", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("error"), tr("error_sending_report"), ["OK"], [Function.noop]);
|
||||
else
|
||||
MessageBox("Операция успешна", "Скоро её рассмотрят модераторы", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("action_successfully"), tr("will_be_watched"), ["OK"], [Function.noop]);
|
||||
});
|
||||
xhr.send(null);
|
||||
}),
|
||||
|
|
|
@ -27,13 +27,13 @@
|
|||
<tbody id="models-list">
|
||||
<tr id="0-model">
|
||||
<td width="83px">
|
||||
<span class="nobold">Раздел:</span>
|
||||
<span class="nobold">{_section}:</span>
|
||||
</td>
|
||||
<td>
|
||||
<div style="display: flex; gap: 8px; justify-content: space-between;">
|
||||
<div id="add-model" class="noSpamIcon noSpamIcon-Add" style="display: none;" />
|
||||
<select name="model" id="model" class="model initialModel" style="margin-left: -2px;">
|
||||
<option selected value="none">Не выбрано</option>
|
||||
<option selected value="none">{_relationship_0}</option>
|
||||
<option n:foreach="$models as $model" value="{$model}">{$model}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<tbody>
|
||||
<tr style="width: 129px; border-top: 1px solid #ECECEC;">
|
||||
<td>
|
||||
<span class="nobold">Подстрока:</span>
|
||||
<span class="nobold">{_substring}:</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="regex" placeholder="Regex" id="regex">
|
||||
|
@ -55,10 +55,10 @@
|
|||
</tr>
|
||||
<tr style="width: 129px; border-top: 1px solid #ECECEC;">
|
||||
<td>
|
||||
<span class="nobold">Пользователь:</span>
|
||||
<span class="nobold">{_n_user}:</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="user" placeholder="Ссылка на страницу" id="user">
|
||||
<input type="text" name="user" placeholder="{_link_to_page}" id="user">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="width: 129px">
|
||||
|
@ -66,12 +66,12 @@
|
|||
<span class="nobold">IP:</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="ip" id="ip" placeholder="или подсеть">
|
||||
<input type="text" name="ip" id="ip" placeholder="{_or_subnet}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="width: 129px">
|
||||
<td>
|
||||
<span class="nobold">Юзер-агент:</span>
|
||||
<span class="nobold">User-Agent:</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="useragent" id="useragent" placeholder="Mozila 1.0 Blablabla/test">
|
||||
|
@ -79,7 +79,7 @@
|
|||
</tr>
|
||||
<tr style="width: 129px">
|
||||
<td>
|
||||
<span class="nobold">Время раньше, чем:</span>
|
||||
<span class="nobold">{_time_before}:</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type="datetime-local" name="ts" id="ts">
|
||||
|
@ -87,7 +87,7 @@
|
|||
</tr>
|
||||
<tr style="width: 129px">
|
||||
<td>
|
||||
<span class="nobold">Время позже, чем:</span>
|
||||
<span class="nobold">{_time_after}:</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type="datetime-local" name="te" id="te">
|
||||
|
@ -97,19 +97,19 @@
|
|||
</table>
|
||||
<textarea style="resize: vertical; width: calc(100% - 6px)" placeholder='city = "Воскресенск" && id = 1'
|
||||
name="where" id="where"/>
|
||||
<span style="color: grey; font-size: 8px;">WHERE для поиска по разделу</span>
|
||||
<span style="color: grey; font-size: 8px;">{_where_for_search}</span>
|
||||
<div style="border-top: 1px solid #ECECEC; margin: 8px 0;"/>
|
||||
<table cellspacing="7" cellpadding="0" width="100%" border="0">
|
||||
<tbody>
|
||||
<tr style="width: 129px; border-top: 1px solid #ECECEC;">
|
||||
<td>
|
||||
<span class="nobold">Параметры блокировки:</span>
|
||||
<span class="nobold">{_block_params}:</span>
|
||||
</td>
|
||||
<td>
|
||||
<select name="ban_type" id="noSpam-ban-type">
|
||||
<option value="1">Только откат</option>
|
||||
<option value="2">Только блокировка</option>
|
||||
<option value="3">Откат и блокировка</option>
|
||||
<option value="1">{_only_rollback}</option>
|
||||
<option value="2">{_only_block}</option>
|
||||
<option value="3">{_rollback_and_block}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -118,8 +118,8 @@
|
|||
<div style="border-top: 1px solid #ECECEC; margin: 8px 0;"/>
|
||||
<center>
|
||||
<div id="noSpam-buttons">
|
||||
<input id="search" type="submit" value="Поиск" class="button"/>
|
||||
<input id="apply" type="submit" value="Применить" class="button" style="display: none;"/>
|
||||
<input id="search" type="submit" value="{_header_search}" class="button"/>
|
||||
<input id="apply" type="submit" value="{_subm}" class="button" style="display: none;"/>
|
||||
</div>
|
||||
<div id="noSpam-loader" style="display: none;">
|
||||
<img src="/assets/packages/static/openvk/img/loading_mini.gif" style="width: 40px;">
|
||||
|
@ -127,7 +127,7 @@
|
|||
</center>
|
||||
</div>
|
||||
<div id="noSpam-model-not-selected">
|
||||
<center id="noSpam-model-not-selected-text" style="padding: 71px 25px;">Выберите раздел для начала работы</center>
|
||||
<center id="noSpam-model-not-selected-text" style="padding: 71px 25px;">{_select_section_for_start}</center>
|
||||
<center id="noSpam-model-not-selected-loader" style="display: none;">
|
||||
<img src="/assets/packages/static/openvk/img/loading_mini.gif" style="width: 40px; margin: 125px 0;">
|
||||
</center>
|
||||
|
@ -137,11 +137,11 @@
|
|||
<center id="noSpam-results-loader" style="display: none;">
|
||||
<img src="/assets/packages/static/openvk/img/loading_mini.gif" style="width: 40px; margin: 125px 0;">
|
||||
</center>
|
||||
<center id="noSpam-results-text" style="margin: 125px 25px;">Здесь будут отображаться результаты поиска</center>
|
||||
<center id="noSpam-results-text" style="margin: 125px 25px;">{_results_will_be_there}</center>
|
||||
<div id="noSpam-results-block" style="display: none;">
|
||||
<h4 style="padding: 8px;">Результаты поиска
|
||||
<h4 style="padding: 8px;">{_search_results}
|
||||
<span style="color: #a2a2a2; font-weight: inherit">
|
||||
(<span id="noSpam-results-count" style="color: #a2a2a2; font-weight: inherit;"></span> шт.)
|
||||
(<span id="noSpam-results-count" style="color: #a2a2a2; font-weight: inherit;"></span> {_cnt}.)
|
||||
</span>
|
||||
</h4>
|
||||
<ul style="padding-inline-start:18px;" id="noSpam-results-list"></ul>
|
||||
|
@ -218,17 +218,17 @@
|
|||
$("#noSpam-results-block").show();
|
||||
$("#apply").show();
|
||||
} else {
|
||||
$("#noSpam-results-text").text(ban ? "Операция завершена успешно" : "Ничего не найдено :(");
|
||||
$("#noSpam-results-text").text(ban ? tr("operation_successfully") : tr("no_found"));
|
||||
$("#noSpam-results-text").show();
|
||||
}
|
||||
} else {
|
||||
$("#noSpam-results-text").text(response?.error ?? "Неизвестная ошибка");
|
||||
$("#noSpam-results-text").text(response?.error ?? tr("unknown_error"));
|
||||
$("#noSpam-results-text").show();
|
||||
}
|
||||
},
|
||||
error: (error) => {
|
||||
console.error("Error while searching noSpam:", error);
|
||||
$("#noSpam-results-text").text("Ошибка при выполнении запроса");
|
||||
$("#noSpam-results-text").text(tr("error_when_searching"));
|
||||
$("#noSpam-results-text").show();
|
||||
}
|
||||
});
|
||||
|
@ -288,7 +288,7 @@
|
|||
<div style="display: flex; gap: 8px; justify-content: space-between;">
|
||||
<div class="noSpamIcon noSpamIcon-Delete" onClick="deleteModelSelect(${ $('.model').length});"></div>
|
||||
<select name="model" class="model" style="margin-left: -2px;" onChange="selectChange($(this).val())">
|
||||
<option selected value="none">Не выбрано</option>
|
||||
<option selected value="none">{_relationship_0}</option>
|
||||
{foreach $models as $model}
|
||||
<option value={$model}>{$model|noescape}</option>
|
||||
{/foreach}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<div n:attr="id => ($mode === 'form' ? 'activetabs' : 'ki')" class="tab">
|
||||
<a n:attr="id => ($mode === 'form' ? 'act_tab_a' : 'ki')" href="/noSpam">Бан по шаблону</a>
|
||||
<a n:attr="id => ($mode === 'form' ? 'act_tab_a' : 'ki')" href="/noSpam">{_template_ban}</a>
|
||||
</div>
|
||||
<div n:attr="id => ($mode === 'templates' ? 'activetabs' : 'ki')" class="tab">
|
||||
<a n:attr="id => ($mode === 'templates' ? 'act_tab_a' : 'ki')" href="/noSpam?act=templates">Действующие шаблоны</a>
|
||||
<a n:attr="id => ($mode === 'templates' ? 'act_tab_a' : 'ki')" href="/noSpam?act=templates">{_active_templates}</a>
|
||||
</div>
|
||||
<div n:attr="id => ($mode === 'reports' ? 'activetabs' : 'ki')" class="tab">
|
||||
<a n:attr="id => ($mode === 'reports' ? 'act_tab_a' : 'ki')" href="/scumfeed">Жалобы пользователей</a>
|
||||
<a n:attr="id => ($mode === 'reports' ? 'act_tab_a' : 'ki')" href="/scumfeed">{_users_reports}</a>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{extends "../@layout.xml"}
|
||||
|
||||
{block title}Шаблоны{/block}
|
||||
{block title}{_templates}{/block}
|
||||
{block header}{include title}{/block}
|
||||
|
||||
{block content}
|
||||
|
@ -44,14 +44,14 @@
|
|||
<table n:if="count($templates) > 0" cellspacing="0" cellpadding="7" width="100%">
|
||||
<tr>
|
||||
<th style="text-align: center;">ID</th>
|
||||
<th>Пользователь</th>
|
||||
<th style="text-align: center;">Раздел</th>
|
||||
<th>Подстрока</th>
|
||||
<th>{_n_user}</th>
|
||||
<th style="text-align: center;">{_section}</th>
|
||||
<th>{_substring}</th>
|
||||
<th>Where</th>
|
||||
<th style="text-align: center;">Тип</th>
|
||||
<th style="text-align: center;">Количество</th>
|
||||
<th>Время</th>
|
||||
<th style="text-align: center;">Действия</th>
|
||||
<th style="text-align: center;">{_type}</th>
|
||||
<th style="text-align: center;">{_count}</th>
|
||||
<th>{_time}</th>
|
||||
<th style="text-align: center;">{_actions}</th>
|
||||
</tr>
|
||||
<tr n:foreach="$templates as $template">
|
||||
<td id="id-{$template->getId()}" onClick="openTableField('id', {$template->getId()})" style="text-align: center;"><b>{$template->getId()}</b></td>
|
||||
|
@ -75,8 +75,8 @@
|
|||
<div id="noSpam-rollback-loader-{$template->getId()}" style="display: none;">
|
||||
<img src="/assets/packages/static/openvk/img/loading_mini.gif" style="width: 40px;">
|
||||
</div>
|
||||
<a n:if="!$template->isRollbacked()" id="noSpam-rollback-template-link-{$template->getId()}" onClick="rollbackTemplate({$template->getId()})">откатить</a>
|
||||
<span n:attr="style => $template->isRollbacked() ? '' : 'display: none;'" id="noSpam-rollback-template-rollbacked-{$template->getId()}">откачен</span>
|
||||
<a n:if="!$template->isRollbacked()" id="noSpam-rollback-template-link-{$template->getId()}" onClick="rollbackTemplate({$template->getId()})">{_roll_back}</a>
|
||||
<span n:attr="style => $template->isRollbacked() ? '' : 'display: none;'" id="noSpam-rollback-template-rollbacked-{$template->getId()}">{roll_backed}</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -53,20 +53,20 @@
|
|||
<a n:if="$canReport ?? false" class="profile_link" style="display:block;width:96%;" href="javascript:reportPhoto()">{_report}</a>
|
||||
<script n:if="$canReport ?? false">
|
||||
function reportPhoto() {
|
||||
uReportMsgTxt = "Вы собираетесь пожаловаться на данную фотографию.";
|
||||
uReportMsgTxt += "<br/>Что именно вам кажется недопустимым в этом материале?";
|
||||
uReportMsgTxt += "<br/><br/><b>Причина жалобы</b>: <input type='text' id='uReportMsgInput' placeholder='Причина' />"
|
||||
uReportMsgTxt = tr("going_to_report_photo");
|
||||
uReportMsgTxt += "<br/>"+tr("report_question_text");
|
||||
uReportMsgTxt += "<br/><br/><b>"+tr("report_reason")+"</b>: <input type='text' id='uReportMsgInput' placeholder='" + tr("reason") + "' />"
|
||||
|
||||
MessageBox("Пожаловаться?", uReportMsgTxt, ["Подтвердить", "Отмена"], [
|
||||
MessageBox(tr("report_question"), uReportMsgTxt, [tr("confirm_m"), tr("cancel")], [
|
||||
(function() {
|
||||
res = document.querySelector("#uReportMsgInput").value;
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "/report/" + {$photo->getId()} + "?reason=" + res + "&type=photo", true);
|
||||
xhr.onload = (function() {
|
||||
if(xhr.responseText.indexOf("reason") === -1)
|
||||
MessageBox("Ошибка", "Не удалось подать жалобу...", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("error"), tr("error_sending_report"), ["OK"], [Function.noop]);
|
||||
else
|
||||
MessageBox("Операция успешна", "Скоро её рассмотрят модераторы", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("action_successfully"), tr("will_be_watched"), ["OK"], [Function.noop]);
|
||||
});
|
||||
xhr.send(null);
|
||||
}),
|
||||
|
@ -74,7 +74,6 @@
|
|||
]);
|
||||
}
|
||||
</script>
|
||||
<a href="{$photo->getURL()}" class="profile_link" target="_blank" style="display:block;width:96%;">{_open_original}</a>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
|
|
@ -190,13 +190,13 @@
|
|||
|
||||
<script>
|
||||
function viewBackupCodes() {
|
||||
MessageBox("Просмотр резервных кодов", `
|
||||
MessageBox(tr("viewing_backup_codes"), `
|
||||
<form id="back-codes-view-form" method="post" action="/settings/2fa">
|
||||
<label for="password">Пароль</label>
|
||||
<input type="password" id="password" name="password" required />
|
||||
<input type="hidden" name="hash" value={$csrfToken} />
|
||||
</form>
|
||||
`, ["Просмотреть", "Отменить"], [
|
||||
`, [tr("viewing"), tr("cancel")], [
|
||||
() => {
|
||||
document.querySelector("#back-codes-view-form").submit();
|
||||
}, Function.noop
|
||||
|
@ -204,13 +204,13 @@
|
|||
}
|
||||
|
||||
function disableTwoFactorAuth() {
|
||||
MessageBox("Отключить 2FA", `
|
||||
MessageBox(tr("disable_2fa"), `
|
||||
<form id="two-factor-auth-disable-form" method="post" action="/settings/2fa/disable">
|
||||
<label for="password">Пароль</label>
|
||||
<input type="password" id="password" name="password" required />
|
||||
<input type="hidden" name="hash" value={$csrfToken} />
|
||||
</form>
|
||||
`, ["Отключить", "Отменить"], [
|
||||
`, [tr("disable"), tr("cancel")], [
|
||||
() => {
|
||||
document.querySelector("#two-factor-auth-disable-form").submit();
|
||||
}, Function.noop
|
||||
|
|
|
@ -173,20 +173,20 @@
|
|||
<a class="profile_link" style="display:block;width:96%;" href="javascript:reportUser()">{_report}</a>
|
||||
<script>
|
||||
function reportUser() {
|
||||
uReportMsgTxt = "Вы собираетесь пожаловаться на данного пользователя.";
|
||||
uReportMsgTxt += "<br/>Что именно вам кажется недопустимым в этом материале?";
|
||||
uReportMsgTxt += "<br/><br/><b>Причина жалобы</b>: <input type='text' id='uReportMsgInput' placeholder='Причина' />"
|
||||
uReportMsgTxt = tr("going_to_report_user");
|
||||
uReportMsgTxt += "<br/>"+tr("report_question_text");
|
||||
uReportMsgTxt += "<br/><br/><b>"+tr("report_reason")+"</b>: <input type='text' id='uReportMsgInput' placeholder='" + tr("reason") + "' />"
|
||||
|
||||
MessageBox("Пожаловаться?", uReportMsgTxt, ["Подтвердить", "Отмена"], [
|
||||
MessageBox(tr("report_question"), uReportMsgTxt, [tr("confirm_m"), tr("cancel")], [
|
||||
(function() {
|
||||
res = document.querySelector("#uReportMsgInput").value;
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "/report/" + {$user->getId()} + "?reason=" + res + "&type=user", true);
|
||||
xhr.onload = (function() {
|
||||
if(xhr.responseText.indexOf("reason") === -1)
|
||||
MessageBox("Ошибка", "Не удалось подать жалобу...", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("error"), tr("error_sending_report"), ["OK"], [Function.noop]);
|
||||
else
|
||||
MessageBox("Операция успешна", "Скоро её рассмотрят модераторы", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("action_successfully"), tr("will_be_watched"), ["OK"], [Function.noop]);
|
||||
});
|
||||
xhr.send(null);
|
||||
}),
|
||||
|
|
|
@ -70,20 +70,20 @@
|
|||
|
||||
<script n:if="$canReport ?? false">
|
||||
function reportVideo() {
|
||||
uReportMsgTxt = "Вы собираетесь пожаловаться на данную видеозапись.";
|
||||
uReportMsgTxt += "<br/>Что именно вам кажется недопустимым в этом материале?";
|
||||
uReportMsgTxt += "<br/><br/><b>Причина жалобы</b>: <input type='text' id='uReportMsgInput' placeholder='Причина' />"
|
||||
uReportMsgTxt = tr("going_to_report_video");
|
||||
uReportMsgTxt += "<br/>"+tr("report_question_text");
|
||||
uReportMsgTxt += "<br/><br/><b>"+tr("report_reason")+"</b>: <input type='text' id='uReportMsgInput' placeholder='" + tr("reason") + "' />"
|
||||
|
||||
MessageBox("Пожаловаться?", uReportMsgTxt, ["Подтвердить", "Отмена"], [
|
||||
MessageBox(tr("report_question"), uReportMsgTxt, [tr("confirm_m"), tr("cancel")], [
|
||||
(function() {
|
||||
res = document.querySelector("#uReportMsgInput").value;
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "/report/" + {$video->getId()} + "?reason=" + res + "&type=video", true);
|
||||
xhr.onload = (function() {
|
||||
if(xhr.responseText.indexOf("reason") === -1)
|
||||
MessageBox("Ошибка", "Не удалось подать жалобу...", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("error"), tr("error_sending_report"), ["OK"], [Function.noop]);
|
||||
else
|
||||
MessageBox("Операция успешна", "Скоро её рассмотрят модераторы", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("action_successfully"), tr("will_be_watched"), ["OK"], [Function.noop]);
|
||||
});
|
||||
xhr.send(null);
|
||||
}),
|
||||
|
|
|
@ -38,20 +38,20 @@
|
|||
</div>
|
||||
<script n:if="$canReport ?? false">
|
||||
function reportPost() {
|
||||
uReportMsgTxt = "Вы собираетесь пожаловаться на данную запись.";
|
||||
uReportMsgTxt += "<br/>Что именно вам кажется недопустимым в этом материале?";
|
||||
uReportMsgTxt += "<br/><br/><b>Причина жалобы</b>: <input type='text' id='uReportMsgInput' placeholder='Причина' />"
|
||||
uReportMsgTxt = tr("going_to_report_post");
|
||||
uReportMsgTxt += "<br/>"+tr("report_question_text");
|
||||
uReportMsgTxt += "<br/><br/><b>"+tr("report_reason")+"</b>: <input type='text' id='uReportMsgInput' placeholder='" + tr("reason") + "' />"
|
||||
|
||||
MessageBox("Пожаловаться?", uReportMsgTxt, ["Подтвердить", "Отмена"], [
|
||||
MessageBox(tr("report_question"), uReportMsgTxt, [tr("confirm_m"), tr("cancel")], [
|
||||
(function() {
|
||||
res = document.querySelector("#uReportMsgInput").value;
|
||||
xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "/report/" + {$post->getId()} + "?reason=" + res + "&type=post", true);
|
||||
xhr.onload = (function() {
|
||||
if(xhr.responseText.indexOf("reason") === -1)
|
||||
MessageBox("Ошибка", "Не удалось подать жалобу...", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("error"), tr("error_sending_report"), ["OK"], [Function.noop]);
|
||||
else
|
||||
MessageBox("Операция успешна", "Скоро её рассмотрят модераторы", ["OK"], [Function.noop]);
|
||||
MessageBox(tr("action_successfully"), tr("will_be_watched"), ["OK"], [Function.noop]);
|
||||
});
|
||||
xhr.send(null);
|
||||
}),
|
||||
|
|
|
@ -642,6 +642,9 @@
|
|||
"two_factor_authentication_backup_codes_1" = "Backup codes allow you to validate your login when you don't have access to your phone, for example, while traveling.";
|
||||
"two_factor_authentication_backup_codes_2" = "You have <b>10 more codes</b>, each code can only be used once. Print them out, put them away in a safe place and use them when you need codes to validate your login.";
|
||||
"two_factor_authentication_backup_codes_3" = "You can get new codes if they run out. Only the last created backup codes are valid.";
|
||||
"viewing_backup_codes" = "View backup codes";
|
||||
"disable_2fa" = "Disable 2FA";
|
||||
"viewing" = "View";
|
||||
|
||||
/* Sorting */
|
||||
|
||||
|
@ -930,7 +933,12 @@
|
|||
"report_question_text" = "What exactly do you find unacceptable about this material?";
|
||||
"report_reason" = "Report reason";
|
||||
"reason" = "Reason";
|
||||
"going_to_report_app" = "You are about to complain to this application.";
|
||||
"going_to_report_app" = "You are about to report this application.";
|
||||
"going_to_report_club" = "You are about to report this club.";
|
||||
"going_to_report_photo" = "You are about to report this photo.";
|
||||
"going_to_report_user" = "You are about to report this user.";
|
||||
"going_to_report_video" = "You are about to report this video.";
|
||||
"going_to_report_post" = "You are about to report this post.";
|
||||
|
||||
"comment" = "Comment";
|
||||
"sender" = "Sender";
|
||||
|
@ -1745,3 +1753,40 @@
|
|||
"mobile_like" = "Like";
|
||||
"mobile_user_info_hide" = "Hide";
|
||||
"mobile_user_info_show_details" = "Show details";
|
||||
|
||||
/* Moderation */
|
||||
|
||||
"section" = "Section";
|
||||
"template_ban" = "Ban by template";
|
||||
"active_templates" = "Active templates";
|
||||
"users_reports" = "Users reports";
|
||||
"substring" = "Substring";
|
||||
"n_user" = "User";
|
||||
"time_before" = "Time earlier than";
|
||||
"time_after" = "Time later than";
|
||||
"where_for_search" = "WHERE for search by section";
|
||||
"block_params" = "Block params";
|
||||
"only_rollback" = "Only rollback";
|
||||
"only_block" = "Only blocking";
|
||||
"rollback_and_block" = "Rollback and blocking";
|
||||
"subm" = "Apply";
|
||||
|
||||
"select_section_for_start" = "Choose a section to get started";
|
||||
"results_will_be_there" = "Search results will be displayed here";
|
||||
"search_results" = "Search results";
|
||||
"cnt" = "pcs";
|
||||
|
||||
"link_to_page" = "Link on page";
|
||||
"or_subnet" = "or subnet";
|
||||
"error_when_searching" = "Error while executing request";
|
||||
"no_found" = "No found";
|
||||
"operation_successfully" = "Operation completed successfully";
|
||||
|
||||
"unknown_error" = "Unknown error";
|
||||
"templates" = "Template";
|
||||
"type" = "Type";
|
||||
"count" = "Count";
|
||||
"time" = "Time";
|
||||
|
||||
"roll_back" = "rollback";
|
||||
"roll_backed" = "rollbacked";
|
|
@ -601,6 +601,9 @@
|
|||
"two_factor_authentication_backup_codes_1" = "Резервные коды позволяют подтверждать вход, когда у вас нет доступа к телефону, например, в путешествии.";
|
||||
"two_factor_authentication_backup_codes_2" = "У вас есть ещё <b>10 кодов</b>, каждым кодом можно воспользоваться только один раз. Распечатайте их, уберите в надежное место и используйте, когда потребуются коды для подтверждения входа.";
|
||||
"two_factor_authentication_backup_codes_3" = "Вы можете получить новые коды, если они заканчиваются. Действительны только последние созданные резервные коды.";
|
||||
"viewing_backup_codes" = "Просмотр резервных кодов";
|
||||
"disable_2fa" = "Отключить 2FA";
|
||||
"viewing" = "Просмотреть";
|
||||
|
||||
/* Sorting */
|
||||
|
||||
|
@ -865,6 +868,11 @@
|
|||
"report_reason" = "Причина жалобы";
|
||||
"reason" = "Причина";
|
||||
"going_to_report_app" = "Вы собираетесь пожаловаться на данное приложение.";
|
||||
"going_to_report_club" = "Вы собираетесь пожаловаться на данное сообщество.";
|
||||
"going_to_report_photo" = "Вы собираетесь пожаловаться на данную фотографию.";
|
||||
"going_to_report_user" = "Вы собираетесь пожаловаться на данного пользователя.";
|
||||
"going_to_report_video" = "Вы собираетесь пожаловаться на данную видеозапись.";
|
||||
"going_to_report_post" = "Вы собираетесь пожаловаться на данную запись.";
|
||||
|
||||
"comment" = "Комментарий";
|
||||
"sender" = "Отправитель";
|
||||
|
@ -1221,7 +1229,7 @@
|
|||
"admin_banned_link_not_found" = "Ссылка не найдена";
|
||||
|
||||
"admin_gift_moved_successfully" = "Подарок успешно перемещён";
|
||||
"admin_gift_moved_to_recycle" = "This gift will now be in <b>Recycle Bin</b>.";
|
||||
"admin_gift_moved_to_recycle" = "Теперь подарок находится в <b>корзине</b>.";
|
||||
|
||||
"logs" = "Логи";
|
||||
"logs_anything" = "Любое";
|
||||
|
@ -1637,3 +1645,40 @@
|
|||
"mobile_like" = "Нравится";
|
||||
"mobile_user_info_hide" = "Скрыть";
|
||||
"mobile_user_info_show_details" = "Показать подробнее";
|
||||
|
||||
/* Moderation */
|
||||
|
||||
"section" = "Раздел";
|
||||
"template_ban" = "Бан по шаблону";
|
||||
"active_templates" = "Действующие шаблоны";
|
||||
"users_reports" = "Жалобы пользователей";
|
||||
"substring" = "Подстрока";
|
||||
"n_user" = "Пользователь";
|
||||
"time_before" = "Время раньше, чем";
|
||||
"time_after" = "Время позже, чем";
|
||||
"where_for_search" = "WHERE для поиска по разделу";
|
||||
"block_params" = "Параметры блокировки";
|
||||
"only_rollback" = "Только откат";
|
||||
"only_block" = "Только блокировка";
|
||||
"rollback_and_block" = "Откат и блокировка";
|
||||
"subm" = "Применить";
|
||||
|
||||
"select_section_for_start" = "Выберите раздел для начала работы";
|
||||
"results_will_be_there" = "Здесь будут отображаться результаты поиска";
|
||||
"search_results" = "Результаты поиска";
|
||||
"cnt" = "шт";
|
||||
|
||||
"link_to_page" = "Ссылка на страницу";
|
||||
"or_subnet" = "или подсеть";
|
||||
"error_when_searching" = "Ошибка при выполнении запроса";
|
||||
"no_found" = "Ничего не найдено";
|
||||
"operation_successfully" = "Операция завершена успешно";
|
||||
|
||||
"unknown_error" = "Неизвестная ошибка";
|
||||
"templates" = "Шаблоны";
|
||||
"type" = "Тип";
|
||||
"count" = "Количество";
|
||||
"time" = "Время";
|
||||
|
||||
"roll_back" = "откатить";
|
||||
"roll_backed" = "откачено";
|
Loading…
Reference in a new issue