mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 14:40:58 +00:00
luci-app-ruantiblock: minor JS fixes.
This commit is contained in:
@@ -138,21 +138,21 @@ return view.extend({
|
|||||||
let ip_filter_edit = new tools.fileEditDialog(
|
let ip_filter_edit = new tools.fileEditDialog(
|
||||||
tools.ipFilterFile,
|
tools.ipFilterFile,
|
||||||
_('IP filter'),
|
_('IP filter'),
|
||||||
_('Patterns can be strings or regular expressions. Each pattern in a separate line, the symbol <code>#</code> in the first position of the line - comments on the line.<br />Examples (dot is a special character):') +
|
_('Patterns can be strings or regular expressions. Each pattern in a separate line, the <code>#</code> symbol in the first position of a line will comment out the line.<br />Examples (dot is a special character):') +
|
||||||
'<br /><code>128[.]199[.]0[.]0/16<br />34[.]217[.]90[.]52<br />162[.]13[.]190[.]</code>'
|
'<br /><code>#comment<br /><code>128[.]199[.]0[.]0/16<br />34[.]217[.]90[.]52<br />162[.]13[.]190[.]</code>'
|
||||||
);
|
);
|
||||||
|
|
||||||
let fqdn_filter_edit = new tools.fileEditDialog(
|
let fqdn_filter_edit = new tools.fileEditDialog(
|
||||||
tools.fqdnFilterFile,
|
tools.fqdnFilterFile,
|
||||||
_('FQDN filter'),
|
_('FQDN filter'),
|
||||||
_('Patterns can be strings or regular expressions. Each pattern in a separate line, the symbol <code>#</code> in the first position of the line - comments on the line.<br />Examples:') +
|
_('Patterns can be strings or regular expressions. Each pattern in a separate line, the <code>#</code> symbol in the first position of a line will comment out the line.<br />Examples:') +
|
||||||
'<br /><code>poker<br />[ck]?a[sz]ino?<br />[vw]ulkan<br />slots?</code>'
|
'<br /><code>#comment<br /><code>poker<br />[ck]?a[sz]ino?<br />[vw]ulkan<br />slots?</code>'
|
||||||
);
|
);
|
||||||
|
|
||||||
let bypass_entries_edit = new tools.fileEditDialog(
|
let bypass_entries_edit = new tools.fileEditDialog(
|
||||||
tools.bypassEntriesFile,
|
tools.bypassEntriesFile,
|
||||||
_('Exclusion list'),
|
_('Exclusion list'),
|
||||||
_('One entry (IP, CIDR or FQDN) per line. In the FQDN records, you can specify the DNS server for resolving this domain (separated by a space). You can also comment on lines (<code>#</code> is the first character of a line).<br />Examples:') +
|
_('One entry (IP, CIDR or FQDN) per line. In the FQDN records, you can specify the DNS server for resolving this domain (separated by a space). You can also comment out the lines (<code>#</code> is the first character of a line).<br />Examples:') +
|
||||||
'<br /><code>#comment<br />domain.net<br />sub.domain.com 8.8.8.8<br />sub.domain.com 8.8.8.8#53<br />74.125.131.19<br />74.125.0.0/16</code>'
|
'<br /><code>#comment<br />domain.net<br />sub.domain.com 8.8.8.8<br />sub.domain.com 8.8.8.8#53<br />74.125.131.19<br />74.125.0.0/16</code>'
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -172,14 +172,14 @@ return view.extend({
|
|||||||
let gr_excluded_nets_edit = new tools.fileEditDialog(
|
let gr_excluded_nets_edit = new tools.fileEditDialog(
|
||||||
tools.grExcludedNetsFile,
|
tools.grExcludedNetsFile,
|
||||||
_('IP subnet patterns (/24) that are excluded from optimization'),
|
_('IP subnet patterns (/24) that are excluded from optimization'),
|
||||||
_('One IP subnet pattern (/24) per line. You can also comment on lines (<code>#</code> is the first character of a line).<br />Examples:') +
|
_('One IP subnet pattern (/24) per line. You can also comment out the lines (<code>#</code> is the first character of a line).<br />Examples:') +
|
||||||
'<br /><code>#comment<br />74.125.131.<br />74.125.0.</code>'
|
'<br /><code>#comment<br />74.125.131.<br />74.125.0.</code>'
|
||||||
);
|
);
|
||||||
|
|
||||||
let gr_excluded_sld_edit = new tools.fileEditDialog(
|
let gr_excluded_sld_edit = new tools.fileEditDialog(
|
||||||
tools.grExcludedSldFile,
|
tools.grExcludedSldFile,
|
||||||
_('2nd level domains that are excluded from optimization'),
|
_('2nd level domains that are excluded from optimization'),
|
||||||
_('One FQDN entry per line. You can also comment on lines (<code>#</code> is the first character of a line).<br />Examples:') +
|
_('One FQDN entry per line. You can also comment out the lines (<code>#</code> is the first character of a line).<br />Examples:') +
|
||||||
'<br /><code>#comment<br />domain.net<br />anotherdomain.com</code>'
|
'<br /><code>#comment<br />domain.net<br />anotherdomain.com</code>'
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -305,6 +305,12 @@ return view.extend({
|
|||||||
Object.entries(this.parsers).forEach(
|
Object.entries(this.parsers).forEach(
|
||||||
e => bllist_module.value(e[1], e[0]));
|
e => bllist_module.value(e[1], e[0]));
|
||||||
|
|
||||||
|
// ENABLE_BLLIST_PROXY
|
||||||
|
o = ss.taboption('b_settings_tab', form.Flag, 'enable_bllist_proxy',
|
||||||
|
_('Downloading a blacklist via proxy'), _('Turn on if blacklist source is blocked'));
|
||||||
|
o.rmempty = false;
|
||||||
|
o.default = 0;
|
||||||
|
|
||||||
// ENABLE_FPROXY
|
// ENABLE_FPROXY
|
||||||
o = ss.taboption('b_settings_tab', form.Flag, 'enable_fproxy',
|
o = ss.taboption('b_settings_tab', form.Flag, 'enable_fproxy',
|
||||||
_('Enable full proxy mode'));
|
_('Enable full proxy mode'));
|
||||||
@@ -317,12 +323,6 @@ return view.extend({
|
|||||||
_('IP addresses for full proxy mode'));
|
_('IP addresses for full proxy mode'));
|
||||||
o.datatype = 'ip4addr';
|
o.datatype = 'ip4addr';
|
||||||
|
|
||||||
// ENABLE_BLLIST_PROXY
|
|
||||||
o = ss.taboption('b_settings_tab', form.Flag, 'enable_bllist_proxy',
|
|
||||||
_('Downloading a blacklist via proxy'), _('Turn on if blacklist source is blocked'));
|
|
||||||
o.rmempty = false;
|
|
||||||
o.default = 0;
|
|
||||||
|
|
||||||
|
|
||||||
/* Tor tab */
|
/* Tor tab */
|
||||||
|
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ msgstr "Кол-во записей"
|
|||||||
msgid ""
|
msgid ""
|
||||||
"One entry (IP, CIDR or FQDN) per line. In the FQDN records, you can specify "
|
"One entry (IP, CIDR or FQDN) per line. In the FQDN records, you can specify "
|
||||||
"the DNS server for resolving this domain (separated by a space). You can "
|
"the DNS server for resolving this domain (separated by a space). You can "
|
||||||
"also comment on lines (<code>#</code> is the first character of a line).<br /"
|
"also comment out the lines (<code>#</code> is the first character of a line).<br /"
|
||||||
">Examples:"
|
">Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Одна запись (IP, CIDR или FQDN) на строку. В записях FQDN можно задать DNS-"
|
"Одна запись (IP, CIDR или FQDN) на строку. В записях FQDN можно задать DNS-"
|
||||||
@@ -337,13 +337,13 @@ msgstr ""
|
|||||||
"комментировать строки (<code>#</code> - первый символ строки).<br />Примеры:"
|
"комментировать строки (<code>#</code> - первый символ строки).<br />Примеры:"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"One FQDN entry per line. You can also comment on lines "
|
"One FQDN entry per line. You can also comment out the lines "
|
||||||
"(<code>#</code> is the first character of a line).<br />Examples:"
|
"(<code>#</code> is the first character of a line).<br />Examples:"
|
||||||
msgstr "Одна запись FQDN на строку. Также, можно "
|
msgstr "Одна запись FQDN на строку. Также, можно "
|
||||||
"комментировать строки (<code>#</code> - первый символ строки).<br />Примеры:"
|
"комментировать строки (<code>#</code> - первый символ строки).<br />Примеры:"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"One IP subnet pattern (/24) per line. You can also comment on lines "
|
"One IP subnet pattern (/24) per line. You can also comment out the lines "
|
||||||
"(<code>#</code> is the first character of a line).<br />Examples:"
|
"(<code>#</code> is the first character of a line).<br />Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Один шаблон IP подсети (/24) на строку Также, можно комментировать "
|
"Один шаблон IP подсети (/24) на строку Также, можно комментировать "
|
||||||
@@ -366,8 +366,8 @@ msgstr "Дополнительный DNS резолвер для зоны '.onio
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
||||||
"line, the symbol <code>#</code> in the first position of the line - comments "
|
"line, the <code>#</code> symbol in the first position of a line will comment "
|
||||||
"on the line.<br />Examples (dot is a special character):"
|
"out the line.<br />Examples (dot is a special character):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Шаблоны могут быть строками или регулярными выражениями. Каждый шаблон в "
|
"Шаблоны могут быть строками или регулярными выражениями. Каждый шаблон в "
|
||||||
"отдельной строке, символ <code>#</code> в первой позиции строки - "
|
"отдельной строке, символ <code>#</code> в первой позиции строки - "
|
||||||
@@ -375,8 +375,8 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
||||||
"line, the symbol <code>#</code> in the first position of the line - comments "
|
"line, the <code>#</code> symbol in the first position of a line will comment "
|
||||||
"on the line.<br />Examples:"
|
"out the line.<br />Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Шаблоны могут быть строками или регулярными выражениями. Каждый шаблон в "
|
"Шаблоны могут быть строками или регулярными выражениями. Каждый шаблон в "
|
||||||
"отдельной строке, символ <code>#</code> в первой позиции строки - "
|
"отдельной строке, символ <code>#</code> в первой позиции строки - "
|
||||||
|
|||||||
@@ -311,17 +311,17 @@ msgstr ""
|
|||||||
msgid ""
|
msgid ""
|
||||||
"One entry (IP, CIDR or FQDN) per line. In the FQDN records, you can specify "
|
"One entry (IP, CIDR or FQDN) per line. In the FQDN records, you can specify "
|
||||||
"the DNS server for resolving this domain (separated by a space). You can "
|
"the DNS server for resolving this domain (separated by a space). You can "
|
||||||
"also comment on lines (<code>#</code> is the first character of a line).<br /"
|
"also comment out the lines (<code>#</code> is the first character of a line).<br /"
|
||||||
">Examples:"
|
">Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"One FQDN entry per line. You can also comment on lines "
|
"One FQDN entry per line. You can also comment out the lines "
|
||||||
"(<code>#</code> is the first character of a line).<br />Examples:"
|
"(<code>#</code> is the first character of a line).<br />Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid
|
msgid ""
|
||||||
"One IP subnet pattern (/24) per line. You can also comment on lines "
|
"One IP subnet pattern (/24) per line. You can also comment out the lines "
|
||||||
"(<code>#</code> is the first character of a line).<br />Examples:"
|
"(<code>#</code> is the first character of a line).<br />Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -342,14 +342,14 @@ msgstr ""
|
|||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
||||||
"line, the symbol <code>#</code> in the first position of the line - comments "
|
"line, the <code>#</code> symbol in the first position of a line will comment "
|
||||||
"on the line.<br />Examples (dot is a special character):"
|
"out the line.<br />Examples (dot is a special character):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
"Patterns can be strings or regular expressions. Each pattern in a separate "
|
||||||
"line, the symbol <code>#</code> in the first position of the line - comments "
|
"line, the <code>#</code> symbol in the first position of a line will comment "
|
||||||
"on the line.<br />Examples:"
|
"out the line.<br />Examples:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Pick IP addresses from blacklist by IP filter patterns"
|
msgid "Pick IP addresses from blacklist by IP filter patterns"
|
||||||
|
|||||||
Reference in New Issue
Block a user