Skip to content

Commit

Permalink
docs: fix typos (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede authored Apr 27, 2024
1 parent 842ca3a commit 8186b74
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/guide/advanced/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const messageCompiler: MessageCompiler = (
/**
* for AST.
* If you would like to support it,
* You need to transform locale mesages such as `json`, `yaml`, etc. with the bundle plugin.
* You need to transform locale messages such as `json`, `yaml`, etc. with the bundle plugin.
*/
onError && onError(new Error('not support for AST') as CompileError)
return () => key
Expand Down
6 changes: 3 additions & 3 deletions docs/guide/advanced/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const { t, n } = useI18n<{
<template>
<p>message: {{ t('messages.hello', { name: 'kazupon' }) }}</p>
<p>currecy: {{ n(1000, 'currency') }}</p>
<p>currency: {{ n(1000, 'currency') }}</p>
</template>
```
Expand Down Expand Up @@ -191,7 +191,7 @@ define schema for global scope:
import enUS from './en-US.json'
// define message schema as master mesage schema
// define message schema as master message schema
export type MessageSchema = typeof enUS
// define number format schema
Expand Down Expand Up @@ -220,7 +220,7 @@ const { t, n } = useI18n<{ message: MessageSchema, number: NumberSchema }>({
<template>
<p>message: {{ t('hello') }}</p>
<p>currecy: {{ n(1000, 'currency') }}</p>
<p>currency: {{ n(1000, 'currency') }}</p>
</template>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/advanced/wc.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This will support the use of Vue I18n in Web Components starting with Vue I18n v

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

## Make preparetion for Web Components to host the I18n instance
## Make preparation for Web Components to host the I18n instance

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.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/essentials/started.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ In Vue I18n v9 and later, the API offered by Vue I18n v8.x is called **Legacy AP

The following sections will be explained using the Legacy API.

If you wuold like to use it in Composition API style and already understand Vue I18n, you can step to [here](../advanced/composition).
If you would like to use it in Composition API style and already understand Vue I18n, you can step to [here](../advanced/composition).
2 changes: 1 addition & 1 deletion docs/guide/integrations/nuxt3.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ touch locales/fr.json # for french
touch locales/ja.json # for japanese
```

Let's populate them with the follwing:
Let's populate them with the following:

For english at `locales/en.json`:

Expand Down

0 comments on commit 8186b74

Please sign in to comment.