Fix i18n documentation (#30818)
This commit is contained in:
parent
4ede8ea13d
commit
b099a617bb
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ Messages can contain placeholders for embedding a value of a variable. For examp
|
|||
}
|
||||
```
|
||||
|
||||
Mostly such placeholders have meaningful name according to the сontent.
|
||||
Mostly such placeholders have meaningful name according to the content.
|
||||
|
||||
### Pluralization
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ export function getGreetingMessage(userName) {
|
|||
return i18n.translate('hello.wonderful.world', {
|
||||
defaultMessage: 'Greetings, {name}!',
|
||||
values: { name: userName },
|
||||
context: 'This is greeting message for main screen.'
|
||||
description: 'This is greeting message for main screen.'
|
||||
});
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue