+ client: add link to the new article about hosts blocklists syntax
This commit is contained in:
@@ -39,40 +39,47 @@ class UserRules extends Component {
|
||||
<Trans>examples_title</Trans>:
|
||||
<ol className="leading-loose">
|
||||
<li>
|
||||
<code>||example.org^</code> – {t('example_meaning_filter_block')}
|
||||
<code>||example.org^</code> –
|
||||
<Trans>example_meaning_filter_block</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<code> @@||example.org^</code> – {t('example_meaning_filter_whitelist')}
|
||||
<code> @@||example.org^</code> –
|
||||
<Trans>example_meaning_filter_whitelist</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<code>127.0.0.1 example.org</code> – {t('example_meaning_host_block')}
|
||||
<code>127.0.0.1 example.org</code> –
|
||||
<Trans>example_meaning_host_block</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<code>{t('example_comment')}</code> – {t('example_comment_meaning')}
|
||||
<code><Trans>example_comment</Trans></code> –
|
||||
<Trans>example_comment_meaning</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<code>{t('example_comment_hash')}</code> –
|
||||
{t('example_comment_meaning')}
|
||||
<code><Trans>example_comment_hash</Trans></code> –
|
||||
<Trans>example_comment_meaning</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<code>/REGEX/</code> –
|
||||
<Trans
|
||||
components={[
|
||||
<a
|
||||
href="https://kb.adguard.com/general/dns-filtering-syntax"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
key="0"
|
||||
>
|
||||
link
|
||||
</a>,
|
||||
]}
|
||||
>
|
||||
example_regex_meaning
|
||||
</Trans>
|
||||
<Trans>example_regex_meaning</Trans>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<p className="mt-1">
|
||||
<Trans
|
||||
components={[
|
||||
<a
|
||||
href="https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
key="0"
|
||||
>
|
||||
link
|
||||
</a>,
|
||||
]}
|
||||
>
|
||||
filtering_rules_learn_more
|
||||
</Trans>
|
||||
</p>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user