@@ -1246,7 +1246,7 @@ function messageCompiler(message, { locale, key, onError }) {
1246
1246
return ctx => formatter.format(ctx.values)
1247
1247
} else {
1248
1248
// If you would like to support it for AST,
1249
- // You need to transform locale mesages such as ` json ` , ` yaml ` , etc. with the bundle plugin.
1249
+ // You need to transform locale messages such as ` json ` , ` yaml ` , etc. with the bundle plugin.
1250
1250
onError && onError(new Error('not support for AST'))
1251
1251
return () => key // return default with ` key `
1252
1252
}
@@ -1512,7 +1512,7 @@ The use-case for `rt` is for programmatic locale messages translation with using
1512
1512
:::
1513
1513
1514
1514
::: warning
1515
- ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale messge returned by ` tm ` .
1515
+ ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale message returned by ` tm ` .
1516
1516
:::
1517
1517
1518
1518
#### Parameters
@@ -1548,7 +1548,7 @@ The use-case for `rt` is for programmatic locale messages translation with using
1548
1548
:::
1549
1549
1550
1550
::: warning
1551
- ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale messge returned by ` tm ` .
1551
+ ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale message returned by ` tm ` .
1552
1552
:::
1553
1553
1554
1554
#### Parameters
@@ -1586,7 +1586,7 @@ The use-case for `rt` is for programmatic locale messages translation with using
1586
1586
:::
1587
1587
1588
1588
::: warning
1589
- ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale messge returned by ` tm ` .
1589
+ ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale message returned by ` tm ` .
1590
1590
:::
1591
1591
1592
1592
#### Parameters
@@ -1624,7 +1624,7 @@ The use-case for `rt` is for programmatic locale messages translation with using
1624
1624
:::
1625
1625
1626
1626
::: warning
1627
- ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale messge returned by ` tm ` .
1627
+ ` rt ` differs from ` t ` in that it processes the locale message directly , not the key of the locale message . There is no internal fallback with ` rt ` . You need to understand and use the structure of the locale message returned by ` tm ` .
1628
1628
:::
1629
1629
1630
1630
#### Parameters
0 commit comments