Skip to content

Commit cdfff41

Browse files
authored
Fix typos in breaking.md doc (#1572)
* fix typo * and instead of or * fix other instances of or
1 parent 2c1a08e commit cdfff41

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/guide/migration/breaking.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const ErrorMessage = {
106106
}
107107
```
108108

109-
In Vue I18n v9 or later, it change to be getting locale messages with `$tm` / `tm`, and to resolve locale messages with `$rt` or `rt`. The following Composition API example:
109+
In Vue I18n v9 and later, it changed to getting locale messages with `$tm` / `tm`, and to resolve locale messages with `$rt` or `rt`. The following Composition API example:
110110

111111
```js{24}
112112
// e.g. Array structure locale messages
@@ -177,7 +177,7 @@ VueI18n.prototype.getChoiceIndex = function (choice, choicesLength) {
177177
}
178178
```
179179

180-
In Vue I18n v9 or later, you can customize it with the following options:
180+
In Vue I18n v9 and later, you can customize it with the following options:
181181

182182
Legacy API mode:
183183

@@ -255,7 +255,7 @@ const MyComp = {
255255

256256
In Vue I18n v8.x, the value of `warnHtmlInMessage` was `"off"`. Therefore, by default, no warning is output to the console even if the message contains HTML.
257257

258-
In Vue I18n v9 or later, change the default values as follows:
258+
In Vue I18n v9 and later, change the default values as follows:
259259

260260
- Legacy API mode: `warnHtmlInMessage` property: `"warn"`
261261
- Composition API mode: `warnHtmlMessage` boolean property, default `true`
@@ -348,7 +348,7 @@ const i18n = new VueI18n({
348348
<p>{{ $t('greeting', { '0': 'kazupon' }) }}</p>
349349
```
350350

351-
In Vue I18n v9 or later, you can’t use array-like objects for list interpolation, you have to use array:
351+
In Vue I18n v9 and later, you can’t use array-like objects for list interpolation, you have to use array:
352352

353353
```html
354354
<p>{{ $t('greeting', ['kazupon']) }}</p>
@@ -394,7 +394,7 @@ const messages = {
394394
}
395395
```
396396

397-
In Vue I18n v9 or later, brackets are no longer needed as the message format compiler allows you to handle **named, list, and literal interpolations**.
397+
In Vue I18n v9 and later, brackets are no longer needed as the message format compiler allows you to handle **named, list, and literal interpolations**.
398398

399399
Vue I18n v9 or later:
400400
```js
@@ -482,7 +482,7 @@ Vue I18n v9 or later:
482482

483483
### Remove place syntax with `place` attr and `places` prop
484484

485-
In Vue I18n v9 or later, the `place` attr and `places` prop have been removed from component interpolation.
485+
In Vue I18n v9 and later, the `place` attr and `places` prop have been removed from component interpolation.
486486

487487
Vue I18n v8.x:
488488

0 commit comments

Comments
 (0)