From 33051862be22bca92ebae477578802ac411e2877 Mon Sep 17 00:00:00 2001 From: Slava Leleka Date: Tue, 2 Jul 2024 20:37:35 +0400 Subject: [PATCH] fix redundant spaces --- .../solving-problems/tasker.md | 6 +++--- .../solving-problems/big-sur-issues.md | 2 +- .../solving-problems/known-issues.md | 2 +- .../solving-problems/low-level-settings.md | 2 +- .../general/ad-filtering/create-own-filters.md | 18 +++++++++--------- docs/guides/family-link-certificate.md | 2 +- docs/guides/minidump.md | 4 ++-- .../contribute/translate/plural-forms.md | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/adguard-for-android/solving-problems/tasker.md b/docs/adguard-for-android/solving-problems/tasker.md index fb6ca44f38e..1af95ed681d 100644 --- a/docs/adguard-for-android/solving-problems/tasker.md +++ b/docs/adguard-for-android/solving-problems/tasker.md @@ -47,7 +47,7 @@ Here are actions that, when included in the intent, will be understood by AdGuar :::note -When the *Use FakeDNS* setting is enabled, *DNS Protection* will be automatically disabled. DNS requests won't be filtered locally. +When the *Use FakeDNS* setting is enabled, *DNS Protection* will be automatically disabled. DNS requests won't be filtered locally. ::: @@ -65,7 +65,7 @@ The full list of supported provider names can be found in our [known DNS provide `server:custom` switches to the previously added server named `custom`; - `server:tls://dns.adguard.com` creates a new server and switches to it if the previously added servers and providers don't contain a server with the same address. Otherwise, it switches to the respective server. You can add server addresses as IP ( regular DNS), `sdns://…` (DNSCrypt or DNS-over-HTTPS), `https://…` (DNS-over-HTTPS) or `tls://...` (DNS-over-TLS); + `server:tls://dns.adguard.com` creates a new server and switches to it if the previously added servers and providers don't contain a server with the same address. Otherwise, it switches to the respective server. You can add server addresses as IP ( regular DNS), `sdns://…` (DNSCrypt or DNS-over-HTTPS), `https://…` (DNS-over-HTTPS) or `tls://...` (DNS-over-TLS); `server:1.1.1.1, tls://1.1.1.1` creates a server with comma separated addresses and switches to it. When adding a server via `server:1.1.1.1, tls://1.1.1.1`, the previously added server is removed. @@ -73,7 +73,7 @@ The full list of supported provider names can be found in our [known DNS provide ----- -`proxy_state` enables/disables the outbound proxy. Requires an extra flag: +`proxy_state` enables/disables the outbound proxy. Requires an extra flag: `enable:true` or `enable:false` activates or deactivates the outbound proxy, accordingly. diff --git a/docs/adguard-for-mac/solving-problems/big-sur-issues.md b/docs/adguard-for-mac/solving-problems/big-sur-issues.md index c8db36ab6a1..ce034feea6c 100644 --- a/docs/adguard-for-mac/solving-problems/big-sur-issues.md +++ b/docs/adguard-for-mac/solving-problems/big-sur-issues.md @@ -93,7 +93,7 @@ Now AdGuard can filter local proxies (mostly) without any problems. If you encou To configure an upstream proxy in AdGuard for Mac in Big Sur: -1. Open AdGuard's settings  *Preferences → Network → Outbound proxy*. +1. Open AdGuard's settings *Preferences → Network → Outbound proxy*. 2. Choose HTTP, HTTPS, SOCKS4 or SOCKS5, depending on your proxy type. 3. Fill in the fields: - `host` is the IP address of your proxy server, diff --git a/docs/adguard-for-windows/solving-problems/known-issues.md b/docs/adguard-for-windows/solving-problems/known-issues.md index 6c41f05061c..f880470d7bb 100644 --- a/docs/adguard-for-windows/solving-problems/known-issues.md +++ b/docs/adguard-for-windows/solving-problems/known-issues.md @@ -15,6 +15,6 @@ Once you install AdGuard for Windows and AdGuard VPN for Windows, they just star There are two specific settings in AdGuard for Windows: *Use redirect driver mode* and *Filter localhost*. By default, the first is disabled, and the second is enabled. Changing any of these settings will inevitably disrupt AdGuard's filtering if both AdGuard Ad Blocker and AdGuard VPN are enabled on your device. -Changing these settings is only necessary to resolve issues related to the simultaneous operation of AdGuard Ad Blocker and network-level apps such as antiviruses, VPNs, and network filters. If you come across a situation where you need to change the default state of the above settings and still want AdGuard Ad Blocker and AdGuard VPN to work simultaneously and correctly — [create an issue on GitHub](https://github.com/AdguardTeam/AdguardForWindows/issues/new/choose) so we can help you personally. +Changing these settings is only necessary to resolve issues related to the simultaneous operation of AdGuard Ad Blocker and network-level apps such as antiviruses, VPNs, and network filters. If you come across a situation where you need to change the default state of the above settings and still want AdGuard Ad Blocker and AdGuard VPN to work simultaneously and correctly — [create an issue on GitHub](https://github.com/AdguardTeam/AdguardForWindows/issues/new/choose) so we can help you personally. We are currently working on overcoming the above-listed limitations of the simultaneous work of our apps. diff --git a/docs/adguard-for-windows/solving-problems/low-level-settings.md b/docs/adguard-for-windows/solving-problems/low-level-settings.md index b3345d7259b..26fd04c4863 100644 --- a/docs/adguard-for-windows/solving-problems/low-level-settings.md +++ b/docs/adguard-for-windows/solving-problems/low-level-settings.md @@ -106,7 +106,7 @@ Host: example.org` will be converted to -`GET /foo/bar/ HTTP/1.1 +`GET /foo/bar/ HTTP/1.1 Host: example.org` This option is only applied when the *Protect from DPI* Stealth mode option is enabled. diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index 6469e11949b..499f2b3b9c1 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -238,7 +238,7 @@ Rules with wildcard for TLD are not supported by AdGuard Content Blocker. - `||example.com/ads/*` — a simple rule, which corresponds to addresses like `http://example.com/ads/banner.jpg` and even `http://subdomain.example.com/ads/otherbanner.jpg`. -- `||example.org^$third-party` — this rule blocks third-party requests to `example.org` and its subdomains. +- `||example.org^$third-party` — this rule blocks third-party requests to `example.org` and its subdomains. - `@@||example.com$document` — general exception rule. It completely disables filtering for `example.com` and all subdomains. There is a number of modifiers which can be used in exception rules. For more details, please follow the link [below](#exception-modifiers). @@ -330,7 +330,7 @@ Rules with such modifier are considered invalid. `$denyallow` modifier allows to avoid creating additional rules when it is needed to disable a certain rule for specific domains. `$denyallow` matches only target domains and not referrer domains. -Adding this modifier to a rule is equivalent to excluding the domains by the rule's matching pattern or to adding the corresponding exclusion rules. To add multiple domains to one rule, use the `|` character as a separator. +Adding this modifier to a rule is equivalent to excluding the domains by the rule's matching pattern or to adding the corresponding exclusion rules. To add multiple domains to one rule, use the `|` character as a separator. **Examples** @@ -610,7 +610,7 @@ You may use a shorter name (alias) instead of using the full modifier name: `$3p #### **`$to`** {#to-modifier} -`$to` limits the rule scope to requests made **to** the specified domains and their subdomains. To add multiple domains to one rule, use the `|` character as a separator. +`$to` limits the rule scope to requests made **to** the specified domains and their subdomains. To add multiple domains to one rule, use the `|` character as a separator. **Examples** @@ -694,8 +694,8 @@ If this modifier is used with an exclusion rule (`@@`), it completely disables b - `||example.com^$document` blocks HTML document request to `example.com` with a blocking page. - `||example.com^$document,redirect=noopframe` redirects HTML document request to `example.com` to an empty html document. -- `||example.com^$document,removeparam=test` removes `test` query parameter from HTML document request to `example.com`. -- `||example.com^$document,replace=/test1/test2/` replaces `test1` with `test2` in HTML document request to `example.com`. +- `||example.com^$document,removeparam=test` removes `test` query parameter from HTML document request to `example.com`. +- `||example.com^$document,replace=/test1/test2/` replaces `test1` with `test2` in HTML document request to `example.com`. :::note @@ -1213,7 +1213,7 @@ every time AdGuard encounters a cookie called `NAME` in a request to `example.or **Escaping special characters** -If regular expression `name` is used for matching, two characters must be escaped: comma `,` and dollar sign `$`. Use backslash `\` escape each of them. For example, escaped comma looks like this: `\,`. +If regular expression `name` is used for matching, two characters must be escaped: comma `,` and dollar sign `$`. Use backslash `\` escape each of them. For example, escaped comma looks like this: `\,`. **Examples** @@ -3168,7 +3168,7 @@ The `:matches-css()` pseudo-class allows to match the element by its current sty - `target` — optional, standard or extended CSS selector, can be skipped for checking *any* element - `pseudo-element` — optional, valid standard pseudo-element, e.g. `before`, `after`, `first-line`, etc. - `property` — required, a name of CSS property to check the element for -- `pattern` — required, a value pattern that is using the same simple wildcard matching as in the basic url filtering rules OR a regular expression. For this type of matching, AdGuard always does matching in a case-insensitive manner. In the case of a regular expression, the pattern looks like `/regexp/`. +- `pattern` — required, a value pattern that is using the same simple wildcard matching as in the basic url filtering rules OR a regular expression. For this type of matching, AdGuard always does matching in a case-insensitive manner. In the case of a regular expression, the pattern looks like `/regexp/`. **Special characters escaping and unescaping** @@ -3855,7 +3855,7 @@ We **strongly recommend** using [scriptlets](#scriptlets) instead of JavaScript **Syntax** ```text -rule = [domains] "#%#" script +rule = [domains] "#%#" script ``` - **`domains`** — domain restriction for the rule. Same principles as in [element hiding rules](#cosmetic-elemhide-rules). @@ -3917,7 +3917,7 @@ AdGuard supports a lot of different scriptlets. In order to achieve cross-blocke **Syntax** ```text -rule = [domains] "#%#//scriptlet(" scriptletName arguments ")" +rule = [domains] "#%#//scriptlet(" scriptletName arguments ")" ``` - **`scriptletName`** — required, a name of the scriptlet from AdGuard's Scriptlets library diff --git a/docs/guides/family-link-certificate.md b/docs/guides/family-link-certificate.md index 84fc09ec410..d2235a7571d 100644 --- a/docs/guides/family-link-certificate.md +++ b/docs/guides/family-link-certificate.md @@ -11,7 +11,7 @@ To enable HTTPS filtering on a device that uses Google Family Link, install the - On the child’s device, go to Settings → Accounts → Google - Tap your child’s account and see if you have an option to remove it. If you don’t have such an option, proceed to the next step - Tap the three dots on the upper right corner of the screen and see if you have an option to remove the account - - Follow the instructions removing the child’s account from the device + - Follow the instructions removing the child’s account from the device 1. Launch AdGuard and install the CA file 1. Restore the child’s account on the device: diff --git a/docs/guides/minidump.md b/docs/guides/minidump.md index 41fb15bc461..e8fed64ba35 100644 --- a/docs/guides/minidump.md +++ b/docs/guides/minidump.md @@ -18,13 +18,13 @@ The option to create the minidump file is disabled by default, so before we go i ## Set up Windows to create the Minidump file -Even if you don’t experience any BSoD crash errors, you can still set this option — this is a general recommendation, not necessarily related to AdGuard products. Please follow the instructions below to automatically create the minidump file. +Even if you don’t experience any BSoD crash errors, you can still set this option — this is a general recommendation, not necessarily related to AdGuard products. Please follow the instructions below to automatically create the minidump file. 1. Type *sysdm.cpl* in the Windows search bar and click **Open**. The **System Properties Control Panel Menu** window will appear on the screen. :::tip - Alternatively, click **Settings** → **System** → **About** → **Advanced system settings**. + Alternatively, click **Settings** → **System** → **About** → **Advanced system settings**. ::: diff --git a/docs/miscellaneous/contribute/translate/plural-forms.md b/docs/miscellaneous/contribute/translate/plural-forms.md index da1350af676..634d4085d37 100644 --- a/docs/miscellaneous/contribute/translate/plural-forms.md +++ b/docs/miscellaneous/contribute/translate/plural-forms.md @@ -38,7 +38,7 @@ When you are faced with a translation that requires the use of plurals, you may Here are some sources of information you can use. -[Localization Guide](http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html) contains a wide list of languages. The number of plural forms for different languages is shown this way: 'nplurals=2', 'nplurals=4' and so on. The numeral after the Equals sign '=' means the number of plural forms of the respective language. +[Localization Guide](http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html) contains a wide list of languages. The number of plural forms for different languages is shown this way: `nplurals=2`, `nplurals=4` and so on. The numeral after the Equals sign `=` means the number of plural forms of the respective language. Also, you can get information about plural forms in the [Unicode Common Locale Data Repository](http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#rules) (CLDR). The CLDR Plural Rules indicate an additional word form for decimal numbers (1.5; 2.3; 100.1…), but we don’t use them in AdGuard translations.