]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Typo fixes (#34914)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 7 Sep 2021 06:45:27 +0000 (09:45 +0300)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 06:45:27 +0000 (09:45 +0300)
16 files changed:
js/tests/unit/util/focustrap.spec.js
site/content/docs/5.1/components/alerts.md
site/content/docs/5.1/components/buttons.md
site/content/docs/5.1/components/carousel.md
site/content/docs/5.1/components/collapse.md
site/content/docs/5.1/components/dropdowns.md
site/content/docs/5.1/components/list-group.md
site/content/docs/5.1/components/modal.md
site/content/docs/5.1/components/navs-tabs.md
site/content/docs/5.1/components/offcanvas.md
site/content/docs/5.1/components/placeholders.md
site/content/docs/5.1/components/popovers.md
site/content/docs/5.1/components/scrollspy.md
site/content/docs/5.1/components/toasts.md
site/content/docs/5.1/components/tooltips.md
site/content/docs/5.1/examples/blog/index.html

index 2457239c4f43058f166cfa1e00454ffa6cc09337..99bc95fca4f9ac6e52f2981dbc7823382af3d580 100644 (file)
@@ -74,7 +74,7 @@ describe('FocusTrap', () => {
       document.dispatchEvent(focusInEvent)
     })
 
-    it('should wrap focus around foward on tab', done => {
+    it('should wrap focus around forward on tab', done => {
       fixtureEl.innerHTML = [
         '<a href="#" id="outside">outside</a>',
         '<div id="focustrap" tabindex="-1">',
index 0d009d0a0d31479f2b6e05bf82d4332c593eea3b..6127279f5667f63fd9d3e1525bb7349618c88b27 100644 (file)
@@ -238,7 +238,7 @@ See the [triggers](#triggers) section for more details.
         <code>getOrCreateInstance</code>
       </td>
       <td>
-        Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialised.
+        Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialized.
         You can use it like this: <code>bootstrap.Alert.getOrCreateInstance(element)</code>
       </td>
     </tr>
index 5752615a958f44374f61eef980208b103690475c..1f279ffd715d2e082498a32eaa430a5ce0e4ec43 100644 (file)
@@ -210,7 +210,7 @@ var bsButton = new bootstrap.Button(button)
         <code>getOrCreateInstance</code>
       </td>
       <td>
-        Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialised.
+        Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialized.
         You can use it like this: <code>bootstrap.Button.getOrCreateInstance(element)</code>
       </td>
     </tr>
index e106e76c0ece2a8e1b26bd293a990b1b482381a4..5a060f26fd08954074ef12fb88fbe8d7e73143f7 100644 (file)
@@ -425,7 +425,7 @@ var carousel = new bootstrap.Carousel(myCarousel, {
         <code>getOrCreateInstance</code>
       </td>
       <td>
-        Static method which returns a carousel instance associated to a DOM element or create a new one in case it wasn't initialised.
+        Static method which returns a carousel instance associated to a DOM element or create a new one in case it wasn't initialized.
         You can use it like this: <code>bootstrap.Carousel.getOrCreateInstance(element)</code>
       </td>
     </tr>
index 5d413ad7547435c35eb20e965dfaa592f800ce15..1e1b58c29324fb8cecd4dc045fdf3caf703245e0 100644 (file)
@@ -222,7 +222,7 @@ var bsCollapse = new bootstrap.Collapse(myCollapse, {
         <code>getOrCreateInstance</code>
       </td>
       <td>
-        Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialised.
+        Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialized.
         You can use it like this: <code>bootstrap.Collapse.getOrCreateInstance(element)</code>
       </td>
     </tr>
index b388fb37652954a85c37c875c50179425cd3c445..738940fc9595a3c038042b9af9ed82f2750fd9b6 100644 (file)
@@ -1148,7 +1148,7 @@ var dropdown = new bootstrap.Dropdown(element, {
         <code>getOrCreateInstance</code>
       </td>
       <td>
-        Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialised.
+        Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialized.
         You can use it like this: <code>bootstrap.Dropdown.getOrCreateInstance(element)</code>
       </td>
     </tr>
index cf6b06be90643e7e6a7d018232e42c2df89cddc9..c47a05dd36ab01801ddfa6fbe15a5cd352937e31 100644 (file)
@@ -486,7 +486,7 @@ var tab = bootstrap.Tab.getInstance(triggerEl) // Returns a Bootstrap tab instan
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var triggerEl = document.querySelector('#trigger')
index 118dc842f1e5d14f20e985fe3b2cf4c26aa6c627..82fc24ac1f10c73fbcf87428e81be9ed210b54cd 100644 (file)
@@ -964,7 +964,7 @@ var modal = bootstrap.Modal.getInstance(myModalEl) // Returns a Bootstrap modal
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the modal instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the modal instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var myModalEl = document.querySelector('#myModal')
index e83cb0094f9519c70f7e61c72f0d57f2870c023b..353d03d2ddd76e09fa6d1022662dface68ded217 100644 (file)
@@ -626,7 +626,7 @@ var tab = bootstrap.Tab.getInstance(triggerEl) // Returns a Bootstrap tab instan
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var triggerEl = document.querySelector('#trigger')
index c28e005e695fe7934ced680a83b205ca2d185f2f..72ba4be955c5cf7be02316cbe4ec13d3a0faf3ec 100644 (file)
@@ -251,7 +251,7 @@ var bsOffcanvas = new bootstrap.Offcanvas(myOffcanvas)
 | `show` | Shows an offcanvas element. **Returns to the caller before the offcanvas element has actually been shown** (i.e. before the `shown.bs.offcanvas` event occurs).|
 | `hide` | Hides an offcanvas element. **Returns to the caller before the offcanvas element has actually been hidden** (i.e. before the `hidden.bs.offcanvas` event occurs).|
 | `getInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element |
-| `getOrCreateInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element, or create a new one in case it wasn't initialised |
+| `getOrCreateInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element, or create a new one in case it wasn't initialized |
 {{< /bs-table >}}
 
 ### Events
index 55545ec69aeb7c84b8e92dbd0525c97cf90dde87..348b0e9f9a993587fe8da1fc277197b9d920d7b4 100644 (file)
@@ -86,7 +86,7 @@ We apply additional styling to `.btn`s via `::before` to ensure the `height` is
 {{< /example >}}
 
 {{< callout info >}}
-The use of `aria-hidden="true"` only indicates that the element should be hidden to screen readers. The *loading* behaviour of the placeholder depends on how authors will actually use the placeholder styles, how they plan to update things, etc. Some JavasSript code may be needed to *swap* the state of the placeholder and inform AT users of the update.
+The use of `aria-hidden="true"` only indicates that the element should be hidden to screen readers. The *loading* behavior of the placeholder depends on how authors will actually use the placeholder styles, how they plan to update things, etc. Some JavasSript code may be needed to *swap* the state of the placeholder and inform AT users of the update.
 {{< /callout >}}
 
 ### Width
index 06aa656d96a723edc356d49fe222fe0c061013e0..4511645cee355a4efb5ff1f75b1a114b6710b6bd 100644 (file)
@@ -395,7 +395,7 @@ var popover = bootstrap.Popover.getInstance(exampleTriggerEl) // Returns a Boots
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var exampleTriggerEl = document.getElementById('example')
index 580a1e2d55d568125e7f6c23611ef356ea50edfb..bcd9fb78a6d27dcc42c8d4091484a5c4c60e36f0 100644 (file)
@@ -300,7 +300,7 @@ var scrollSpy = bootstrap.ScrollSpy.getInstance(scrollSpyContentEl) // Returns a
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the scrollspy instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the scrollspy instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var scrollSpyContentEl = document.getElementById('content')
index d17d8b3df880eb3a4bb3d40a4216497f484f7559..449f0275ce4658456a4512c498c181be94c2bb42 100644 (file)
@@ -424,7 +424,7 @@ var myToast = bootstrap.Toast.getInstance(myToastEl) // Returns a Bootstrap toas
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the toast instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the toast instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var myToastEl = document.getElementById('myToastEl')
index 59d2480d468a3ec8c2f966f2e46dca1cbd383aa6..58da2076b3ebae36a21e6b758b718dd377b6672c 100644 (file)
@@ -419,7 +419,7 @@ var tooltip = bootstrap.Tooltip.getInstance(exampleTriggerEl) // Returns a Boots
 
 #### getOrCreateInstance
 
-*Static* method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn't initialised
+*Static* method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn't initialized
 
 ```js
 var exampleTriggerEl = document.getElementById('example')
index 22958f5a75ed5134a2df5ccc91fbcc552df3c2f5..fb5c25dfc9ca0e8a59cbf2f638c987c9246434e3 100644 (file)
@@ -115,7 +115,7 @@ include_js: false
           <li>Second list item with a longer description</li>
           <li>Third list item to close it out</li>
         </ol>
-        <p>And this is a definiton list:</p>
+        <p>And this is a definition list:</p>
         <dl>
           <dt>HyperText Markup Language (HTML)</dt>
           <dd>The language used to describe and define the content of a Web page</dd>