diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js index fd3368b..b5abafa 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/service.js @@ -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); diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/settings.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/settings.js index b5cc986..3270170 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/settings.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/settings.js @@ -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 ')); 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.
Examples:'), - 'domain.net
sub.domain.com
googlevideo.com
', + 'domain.net
sub.domain.com
facebook.com
', 15 ).show(); @@ -274,7 +274,7 @@ return view.extend({ tools.hostsUserExcludeFN, _('User excluded entries'), _('One hostname per line.
Examples:'), - 'domain.net
sub.domain.com
googlevideo.com
', + 'domain.net
sub.domain.com
gosuslugi.ru
', 15 ).show(); diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js index aacf511..2001bdc 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js @@ -293,7 +293,7 @@ return baseclass.extend({ - ${_('Blacklist update mode')}: + ${_('HostLists update mode')}: ${update_mode}