Skip to content

Commit fb624db

Browse files
committed
docs: Improve documentation
1 parent b225ee8 commit fb624db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ createApp().use(i18nVue, {
5959
})
6060
```
6161

62-
### `trans(message: string)`
62+
### `trans(message: string, replacements: {})`
6363

6464
The `trans()` method can translate a given message.
6565

@@ -77,7 +77,7 @@ trans('Welcome, :name!', { name: 'Francisco' }) // Bem-vindo Francisco!
7777
trans('Welcome, :NAME!', { name: 'Francisco' }) // Bem-vindo FRANCISCO!
7878
```
7979

80-
### `transChoice(message: string, count: number)`
80+
### `transChoice(message: string, count: number, replacements: {})`
8181

8282
The `transChoice()` method can translate a given message based on a count,
8383
there is also available an `trans_choice` alias, and a mixin called `$tChoice()`.

0 commit comments

Comments
 (0)