Skip to content

Commit 8186b74

Browse files
authored
docs: fix typos (#1825)
1 parent 842ca3a commit 8186b74

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/guide/advanced/format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const messageCompiler: MessageCompiler = (
5151
/**
5252
* for AST.
5353
* If you would like to support it,
54-
* You need to transform locale mesages such as `json`, `yaml`, etc. with the bundle plugin.
54+
* You need to transform locale messages such as `json`, `yaml`, etc. with the bundle plugin.
5555
*/
5656
onError && onError(new Error('not support for AST') as CompileError)
5757
return () => key

docs/guide/advanced/typescript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const { t, n } = useI18n<{
132132
133133
<template>
134134
<p>message: {{ t('messages.hello', { name: 'kazupon' }) }}</p>
135-
<p>currecy: {{ n(1000, 'currency') }}</p>
135+
<p>currency: {{ n(1000, 'currency') }}</p>
136136
</template>
137137
```
138138
@@ -191,7 +191,7 @@ define schema for global scope:
191191
192192
import enUS from './en-US.json'
193193
194-
// define message schema as master mesage schema
194+
// define message schema as master message schema
195195
export type MessageSchema = typeof enUS
196196
197197
// define number format schema
@@ -220,7 +220,7 @@ const { t, n } = useI18n<{ message: MessageSchema, number: NumberSchema }>({
220220
221221
<template>
222222
<p>message: {{ t('hello') }}</p>
223-
<p>currecy: {{ n(1000, 'currency') }}</p>
223+
<p>currency: {{ n(1000, 'currency') }}</p>
224224
</template>
225225
226226
```

docs/guide/advanced/wc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This will support the use of Vue I18n in Web Components starting with Vue I18n v
1414

1515
There are a few things to keep in mind when using Vue I18n with Web Components.
1616

17-
## Make preparetion for Web Components to host the I18n instance
17+
## Make preparation for Web Components to host the I18n instance
1818

1919
Using `defineCustomElement`, which is supported since Vue 3.2, we can provide Vue components implemented in SFC as Web Components. This means that Vue components implemented using `useI18n` can be served as Web Components with i18n support.
2020

docs/guide/essentials/started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ In Vue I18n v9 and later, the API offered by Vue I18n v8.x is called **Legacy AP
109109

110110
The following sections will be explained using the Legacy API.
111111

112-
If you wuold like to use it in Composition API style and already understand Vue I18n, you can step to [here](../advanced/composition).
112+
If you would like to use it in Composition API style and already understand Vue I18n, you can step to [here](../advanced/composition).

docs/guide/integrations/nuxt3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ touch locales/fr.json # for french
206206
touch locales/ja.json # for japanese
207207
```
208208

209-
Let's populate them with the follwing:
209+
Let's populate them with the following:
210210

211211
For english at `locales/en.json`:
212212

0 commit comments

Comments
 (0)