You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/migration/breaking.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ const ErrorMessage = {
106
106
}
107
107
```
108
108
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:
110
110
111
111
```js{24}
112
112
// e.g. Array structure locale messages
@@ -177,7 +177,7 @@ VueI18n.prototype.getChoiceIndex = function (choice, choicesLength) {
177
177
}
178
178
```
179
179
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:
181
181
182
182
Legacy API mode:
183
183
@@ -255,7 +255,7 @@ const MyComp = {
255
255
256
256
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.
257
257
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:
259
259
260
260
- Legacy API mode: `warnHtmlInMessage` property: `"warn"`
261
261
- Composition API mode: `warnHtmlMessage` boolean property, default `true`
@@ -348,7 +348,7 @@ const i18n = new VueI18n({
348
348
<p>{{ $t('greeting', { '0': 'kazupon' }) }}</p>
349
349
```
350
350
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:
352
352
353
353
```html
354
354
<p>{{ $t('greeting', ['kazupon']) }}</p>
@@ -394,7 +394,7 @@ const messages = {
394
394
}
395
395
```
396
396
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**.
398
398
399
399
Vue I18n v9 or later:
400
400
```js
@@ -482,7 +482,7 @@ Vue I18n v9 or later:
482
482
483
483
### Remove place syntax with `place` attr and `places` prop
484
484
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.
0 commit comments