Browse Source

Fix misc. typos (#6045)

Found via `codespell -q 3 -L eacf`
luzpaz 3 years ago
parent
commit
bdbaf3844c

+ 1 - 1
dist/js/select2.full.js

@@ -6429,7 +6429,7 @@ S2.define('select2/selection/stopPropagation',[
     }
 
     function shouldAdjustOldDeltas(orgEvent, absDelta) {
-        // If this is an older event and the delta is divisable by 120,
+        // If this is an older event and the delta is divisible by 120,
         // then we are assuming that the browser is treating this as an
         // older mouse wheel event and that we should divide the deltas
         // by 40 to try and get a more usable deltaFactor.

+ 1 - 1
docs/plugins/highlight/css/solarized-dark.css

@@ -1,6 +1,6 @@
 /*
 
-Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
+Original Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
 
 */
 

+ 1 - 1
docs/plugins/highlight/css/solarized-light.css

@@ -1,6 +1,6 @@
 /*
 
-Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
+Original Style from ethanschoonover.com/solarized (c) Jeremy Hull <[email protected]>
 
 */
 

+ 1 - 1
docs/plugins/problems/README.md

@@ -43,7 +43,7 @@ You should now have all the plugin files under
 | PHP OpenSSL (Secure Sockets Library)    | Checks to make sure that PHP OpenSSL is installed.                                                        |
 | PHP Mbstring (Multibyte String Library) | Checks to make sure that PHP Mbstring is installed.                                                       |
 | .htaccess                               | Checks to make sure that there is an `.htaccess` file in Grav's root directory.                           |
-| `bin/*` executable                      | Checks that all the files in the `bin/` folder are exectuable.                                            |
+| `bin/*` executable                      | Checks that all the files in the `bin/` folder are executable.                                            |
 | Cache                                   | Checks the `/cache` folder's existence and verifies that it is writeable.                                 |
 | Logs                                    | Checks the `/logs` folder's existence and verifies that it is writeable.                                  |
 | Images                                  | Checks the `/images` folder's existence and verifies that it is writeable.                                |

+ 3 - 3
docs/plugins/simplesearch/README.md

@@ -61,7 +61,7 @@ simplesearch:
     filter_combinator: and
 ```
 
- These page headers will only be taken into account if the search route points to this page.  For example: here the the route points to `@self` which in turn resolves to `/blog`.  You can also specify the route explicity with `route: /blog` if you so choose. This header is within the `/user/pages/blog/blog.md` file.  We will cover this self-controlled form of search handling below.
+ These page headers will only be taken into account if the search route points to this page.  For example: here the the route points to `@self` which in turn resolves to `/blog`.  You can also specify the route explicitly with `route: /blog` if you so choose. This header is within the `/user/pages/blog/blog.md` file.  We will cover this self-controlled form of search handling below.
 
 # Usage
 
@@ -77,7 +77,7 @@ After installing the SimpleSearch plugin, you can add a simple **searchbox** to
 {% include 'partials/simplesearch_searchbox.html.twig' %}
 ```
 
-By default the **simplesearch_searchbox** Twig template uses the `route` as defined in the configuration.  The SimpleSearch plugin uses this route and then appends a `query:` paramater to create the following final URL.
+By default the **simplesearch_searchbox** Twig template uses the `route` as defined in the configuration.  The SimpleSearch plugin uses this route and then appends a `query:` parameter to create the following final URL.
 
 ```
 http://yoursite.com/search/query:something
@@ -115,7 +115,7 @@ You can also completely customize the look and feel of the results by overriding
 
 This is a new feature of SimpleSearch and it very useful and simple way to provide a 'filter' like search of a collection listing page.  In this example, we will assume you have a Blog listing page you wish to be able to search and filter based on a search box.
 
-To accomplish this, you need ot use the page-based configuration as described above, and configure multiple filters, `@self` to use the page's content collection: http://learn.getgrav.org/content/headers#collection-headers
+To accomplish this, you need to use the page-based configuration as described above, and configure multiple filters, `@self` to use the page's content collection: http://learn.getgrav.org/content/headers#collection-headers
 
 ```
 content:

+ 1 - 1
docs/plugins/simplesearch/blueprints.yaml

@@ -74,7 +74,7 @@ form:
       type: text
       size: x-small
       label: Minimum query length
-      help: The mimimum number of characters needed before serach can be submitted
+      help: The minimum number of characters needed before search can be submitted
       validate:
         type: number
         min: 0

+ 1 - 1
docs/themes/learn2/scss/vendor/bourbon/functions/_color-lightness.scss

@@ -1,4 +1,4 @@
-// Programatically determines whether a color is light or dark
+// Programmatically determines whether a color is light or dark
 // Returns a boolean
 // More details here http://robots.thoughtbot.com/closer-look-color-lightness
 

+ 1 - 1
docs/themes/learn2/scss/vendor/bourbon/functions/_transition-property-name.scss

@@ -12,7 +12,7 @@
 }
 
 @function transition-property-name($prop, $vendor: false) {
-	// put other properties that need to be prefixed here aswell
+	// put other properties that need to be prefixed here as well
 	@if $vendor and $prop == transform {
 		@return unquote('-'+$vendor+'-'+$prop);
 	}

+ 2 - 2
docs/themes/learn2/scss/vendor/bourbon/helpers/_linear-positions-parser.scss

@@ -11,7 +11,7 @@
       $side: nth($pos, 2);
 
       @if $length == 2 { // eg. to top
-        // Swap for backwards compatability
+        // Swap for backwards compatibility
         $degree: _position-flipper(nth($pos, 2));
       }
       @else if $length == 3 { // eg. to top left
@@ -38,7 +38,7 @@
     $spec: to $side $corner;
   }
   @else if $length == 1 {
-    // Swap for backwards compatability
+    // Swap for backwards compatibility
     @if $type == string {
       $degree: $pos;
       $spec: to _position-flipper($pos);

+ 1 - 1
docs/themes/learn2/scss/vendor/color-schemer/color-schemer/_colorblind.scss

@@ -1,6 +1,6 @@
 @function cs-colorblind($color, $mode: $cs-colorblind) {
 
-  // Refrence: http://www.w3.org/TR/AERT#color-contrast
+  // Reference: http://www.w3.org/TR/AERT#color-contrast
 
   // Deuteranopia
   @if $mode == deuteranopia {

+ 1 - 1
tests/dropdown/stopPropagation-tests.js

@@ -1,4 +1,4 @@
-module('Dropdown - Stoping event propagation');
+module('Dropdown - Stopping event propagation');
 
 var Dropdown = require('select2/dropdown');
 var StopPropagation = require('select2/dropdown/stopPropagation');

+ 1 - 1
tests/options/translation-tests.js

@@ -11,7 +11,7 @@ module('Options - Translations', {
   }
 });
 
-test('partial dictonaries are reset when default reset', function (assert) {
+test('partial dictionaries are reset when default reset', function (assert) {
   Defaults.set('language', {
     test: 'testing'
   });

+ 1 - 1
tests/selection/stopPropagation-tests.js

@@ -1,4 +1,4 @@
-module('Selection containers - Stoping event propagation');
+module('Selection containers - Stopping event propagation');
 
 var SingleSelection = require('select2/selection/single');
 var StopPropagation = require('select2/selection/stopPropagation');

+ 1 - 1
tests/utils/decorator-tests.js

@@ -175,7 +175,7 @@ test('inherited - three levels', function (assert) {
 
   var inst = new DecoratedClass('test');
 
-  assert.ok(inst.baseCalled, 'The base class contructor was called');
+  assert.ok(inst.baseCalled, 'The base class constructor was called');
   assert.ok(inst.middleCalled, 'The middle class constructor was called');
   assert.ok(inst.decoratorCalled, 'The decorator constructor was called');