chore(i8n,docs): processed translations (#41375)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>pull/41379/head
parent
79067a74c1
commit
d2e7d60514
|
@ -101,7 +101,7 @@ const username = 'moT';
|
|||
|
||||
The above example passes an object to the `t` function with a `username` variable. The variable will be used in the JSON value where `{{username}}` is.
|
||||
|
||||
## Translate with the \<Trans\> Component
|
||||
## Translate with the `Trans` Component
|
||||
|
||||
The general rule is to use the "t" function when you can. But there's a `Trans` component for when that isn't enough, usually when you have elements embedded in the text. You can use the `Trans` component with any type of react component.
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ const username = 'moT';
|
|||
|
||||
The above example passes an object to the `t` function with a `username` variable. The variable will be used in the JSON value where `{{username}}` is.
|
||||
|
||||
## Translate with the \<Trans\> Component
|
||||
## Translate with the `Trans` Component
|
||||
|
||||
The general rule is to use the "t" function when you can. But there's a `Trans` component for when that isn't enough, usually when you have elements embedded in the text. You can use the `Trans` component with any type of react component.
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ const username = 'moT';
|
|||
|
||||
The above example passes an object to the `t` function with a `username` variable. The variable will be used in the JSON value where `{{username}}` is.
|
||||
|
||||
## Translate with the \<Trans\> Component
|
||||
## Translate with the `Trans` Component
|
||||
|
||||
The general rule is to use the "t" function when you can. But there's a `Trans` component for when that isn't enough, usually when you have elements embedded in the text. You can use the `Trans` component with any type of react component.
|
||||
|
||||
|
|
Loading…
Reference in New Issue