mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-06 03:26:49 +03:00
luci: Rename blacklist to HostList
This commit is contained in:
@@ -326,7 +326,7 @@ return view.extend({
|
|||||||
|
|
||||||
let btn_update = create_btn('btn_update', btn_style_action, _('Update'));
|
let btn_update = create_btn('btn_update', btn_style_action, _('Update'));
|
||||||
btn_update.onclick = ui.createHandlerFn(this, () => { this.appAction('update', 'btn_update') });
|
btn_update.onclick = ui.createHandlerFn(this, () => { this.appAction('update', 'btn_update') });
|
||||||
layout_append(_('Update blacklist'), null, [ btn_update ] );
|
layout_append(_('Update HostLists'), null, [ btn_update ] );
|
||||||
|
|
||||||
let btn_reset = create_btn('btn_reset', btn_style_action, _('Reset settings'));
|
let btn_reset = create_btn('btn_reset', btn_style_action, _('Reset settings'));
|
||||||
btn_reset.onclick = L.bind(this.dialogResetCfg, this);
|
btn_reset.onclick = L.bind(this.dialogResetCfg, this);
|
||||||
|
|||||||
@@ -237,10 +237,10 @@ return view.extend({
|
|||||||
15
|
15
|
||||||
).show();
|
).show();
|
||||||
|
|
||||||
/* Blacklist settings */
|
/* HostList settings */
|
||||||
|
|
||||||
tabname = 'blacklist_tab';
|
tabname = 'hostlist_tab';
|
||||||
s.tab(tabname, _('Blacklist settings'));
|
s.tab(tabname, _('Host lists'));
|
||||||
|
|
||||||
o = s.taboption(tabname, form.Button, '_google_entries_btn', _('Google hostname entries'));
|
o = s.taboption(tabname, form.Button, '_google_entries_btn', _('Google hostname entries'));
|
||||||
o.inputtitle = _('Edit');
|
o.inputtitle = _('Edit');
|
||||||
@@ -254,7 +254,7 @@ return view.extend({
|
|||||||
15
|
15
|
||||||
).show();
|
).show();
|
||||||
|
|
||||||
o = s.taboption(tabname, form.Button, '_user_entries_btn', _('User hostname entries'));
|
o = s.taboption(tabname, form.Button, '_user_entries_btn', _('User hostname entries <HOSTLIST>'));
|
||||||
o.inputtitle = _('Edit');
|
o.inputtitle = _('Edit');
|
||||||
o.inputstyle = 'edit btn';
|
o.inputstyle = 'edit btn';
|
||||||
o.description = tools.hostsUserFN;
|
o.description = tools.hostsUserFN;
|
||||||
@@ -262,7 +262,7 @@ return view.extend({
|
|||||||
tools.hostsUserFN,
|
tools.hostsUserFN,
|
||||||
_('User entries'),
|
_('User entries'),
|
||||||
_('One hostname per line.<br />Examples:'),
|
_('One hostname per line.<br />Examples:'),
|
||||||
'<code>domain.net<br />sub.domain.com<br />googlevideo.com</code>',
|
'<code>domain.net<br />sub.domain.com<br />facebook.com</code>',
|
||||||
15
|
15
|
||||||
).show();
|
).show();
|
||||||
|
|
||||||
@@ -274,7 +274,7 @@ return view.extend({
|
|||||||
tools.hostsUserExcludeFN,
|
tools.hostsUserExcludeFN,
|
||||||
_('User excluded entries'),
|
_('User excluded entries'),
|
||||||
_('One hostname per line.<br />Examples:'),
|
_('One hostname per line.<br />Examples:'),
|
||||||
'<code>domain.net<br />sub.domain.com<br />googlevideo.com</code>',
|
'<code>domain.net<br />sub.domain.com<br />gosuslugi.ru</code>',
|
||||||
15
|
15
|
||||||
).show();
|
).show();
|
||||||
|
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ return baseclass.extend({
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="tr">
|
<tr class="tr">
|
||||||
<td class="td left" ${td_name_style}>
|
<td class="td left" ${td_name_style}>
|
||||||
${_('Blacklist update mode')}:
|
${_('HostLists update mode')}:
|
||||||
</td>
|
</td>
|
||||||
<td class="td left">
|
<td class="td left">
|
||||||
${update_mode}
|
${update_mode}
|
||||||
|
|||||||
Reference in New Issue
Block a user