Skip to content

Commit c12bb14

Browse files
authored
- edited this page to improve readablity (#1998)
1 parent 3204437 commit c12bb14

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guide/essentials/pluralization.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ const messages = {
1919
}
2020
```
2121

22-
It’s `en` locale an object that has `car` and `apple`.
22+
Here, we have an `en` locale object that has `car` and `apple`.
2323

24-
The `car` has `car | cars` pluralization message, and the `apple` has `no apples | one apple | {count} apples` pluralization message.
24+
The `car` has `car | cars` pluralization message, while the `apple` has `no apples | one apple | {count} apples` pluralization message.
2525

2626
These plural messages are selected by the logic of the choice rule for each language in the translaton API according to the numeric value you specify at the translation API.
2727

28-
Vue I18n will be offered some pluralization ways. Here we’ll use the `$tc`.
28+
Vue I18n offers some ways to support pluralization. Here we’ll use the `$tc`.
2929

3030
:::tip NOTE
3131
`$tc` has some overloads. About these overloads, see the [API Reference](../../api/injection#tc-key)
@@ -82,7 +82,7 @@ const messages = {
8282
}
8383
```
8484

85-
It’s `en` locale an object that has `apple` and `banana`.
85+
Here, we have an `en` locale object that has `apple` and `banana`.
8686

8787
The `apple` has `no apples | one apple | {count} apples` pluralization message, and the `banana` has `no bananas | {n} banana | {n} bananas` pluralization message.
8888

@@ -143,7 +143,7 @@ function customRule(choice, choicesLength, orgRule) {
143143

144144
To use the custom rules defined above, inside of `createI18n` set either:
145145

146-
1. `pluralizationRules` (for Options API)
146+
1. `pluralizationRules` (for Options API)
147147
*or*
148148
2. `pluralRules` (for Composition API)
149149

0 commit comments

Comments
 (0)