Skip to content

Commit

Permalink
docs: fix wrong codes
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed May 10, 2024
1 parent cf6e9c0 commit e705508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/migration/breaking10.md
Expand Up @@ -378,7 +378,7 @@ const i18n = createI18n({
legacy: true,
// something options ...
})
console.log(i18n.global.t('banana', 2, ['dio']))
console.log(i18n.global.tc('banana', 2, ['dio']))
```
Vue I18n v10 or later:
Expand Down Expand Up @@ -412,7 +412,7 @@ const i18n = createI18n({
legacy: true,
// something options ...
})
console.log(i18n.global.tc('banana', { name: 'dio' }, 2))
console.log(i18n.global.t('banana', { name: 'dio' }, 2))
```
### `$tc(key: Key): TranslateResult;`
Expand Down

0 comments on commit e705508

Please sign in to comment.