mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-06 11:36:48 +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'));
|
||||
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'));
|
||||
btn_reset.onclick = L.bind(this.dialogResetCfg, this);
|
||||
|
||||
@@ -237,10 +237,10 @@ return view.extend({
|
||||
15
|
||||
).show();
|
||||
|
||||
/* Blacklist settings */
|
||||
/* HostList settings */
|
||||
|
||||
tabname = 'blacklist_tab';
|
||||
s.tab(tabname, _('Blacklist settings'));
|
||||
tabname = 'hostlist_tab';
|
||||
s.tab(tabname, _('Host lists'));
|
||||
|
||||
o = s.taboption(tabname, form.Button, '_google_entries_btn', _('Google hostname entries'));
|
||||
o.inputtitle = _('Edit');
|
||||
@@ -254,7 +254,7 @@ return view.extend({
|
||||
15
|
||||
).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.inputstyle = 'edit btn';
|
||||
o.description = tools.hostsUserFN;
|
||||
@@ -262,7 +262,7 @@ return view.extend({
|
||||
tools.hostsUserFN,
|
||||
_('User entries'),
|
||||
_('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
|
||||
).show();
|
||||
|
||||
@@ -274,7 +274,7 @@ return view.extend({
|
||||
tools.hostsUserExcludeFN,
|
||||
_('User excluded entries'),
|
||||
_('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
|
||||
).show();
|
||||
|
||||
|
||||
@@ -293,7 +293,7 @@ return baseclass.extend({
|
||||
</tr>
|
||||
<tr class="tr">
|
||||
<td class="td left" ${td_name_style}>
|
||||
${_('Blacklist update mode')}:
|
||||
${_('HostLists update mode')}:
|
||||
</td>
|
||||
<td class="td left">
|
||||
${update_mode}
|
||||
|
||||
Reference in New Issue
Block a user