Skip to content

Commit e16591a

Browse files
docs: Change all the word "initialization" to "initialisation" (#10708)
* Docs: Change all initizlisation to initialisation * Reverted to "initialization" when asserting errors with specific message * Reverted to "initialization" where related to specific error message
1 parent 282d62b commit e16591a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.changeset/hungry-tips-unite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'svelte': patch
33
---
44

5-
fix: port over props that were set prior to initialization
5+
fix: port over props that were set prior to initialisation

documentation/docs/02-template-syntax/01-svelte-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ If a statement consists entirely of an assignment to an undeclared variable, Sve
212212

213213
A _store_ is an object that allows reactive access to a value via a simple _store contract_. The [`svelte/store` module](/docs/svelte-store) contains minimal store implementations which fulfil this contract.
214214

215-
Any time you have a reference to a store, you can access its value inside a component by prefixing it with the `$` character. This causes Svelte to declare the prefixed variable, subscribe to the store at component initialization and unsubscribe when appropriate.
215+
Any time you have a reference to a store, you can access its value inside a component by prefixing it with the `$` character. This causes Svelte to declare the prefixed variable, subscribe to the store at component initialisation and unsubscribe when appropriate.
216216

217217
Assignments to `$`-prefixed variables require that the variable be a writable store, and will result in a call to the store's `.set` method.
218218

packages/svelte/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742

743743
- fix: allow `bind:this` with dynamic type on inputs ([#9713](https://github.com/sveltejs/svelte/pull/9713))
744744

745-
- fix: port over props that were set prior to initialization ([#9704](https://github.com/sveltejs/svelte/pull/9704))
745+
- fix: port over props that were set prior to initialisation ([#9704](https://github.com/sveltejs/svelte/pull/9704))
746746

747747
- feat: $inspect rune ([#9705](https://github.com/sveltejs/svelte/pull/9705))
748748

packages/svelte/src/compiler/phases/1-parse/utils/fuzzymatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class FuzzySet {
132132

133133
/** @param {string[]} arr */
134134
constructor(arr) {
135-
// initialization
135+
// initialisation
136136
for (let i = GRAM_SIZE_LOWER; i < GRAM_SIZE_UPPER + 1; ++i) {
137137
this.items[i] = [];
138138
}

packages/svelte/src/internal/client/reactivity/sources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function set(signal, value) {
125125
// $effect(() => x++)
126126
//
127127
// We additionally want to skip this logic for when ignore_mutation_validation is
128-
// true, as stores write to source signal on initialization.
128+
// true, as stores write to source signal on initialisation.
129129
if (
130130
is_runes(null) &&
131131
!ignore_mutation_validation &&

0 commit comments

Comments
 (0)