Fix i18n documentation (#30818)

This commit is contained in:
Tim Roes 2019-02-12 14:29:46 +01:00 committed by GitHub
parent 4ede8ea13d
commit b099a617bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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.'
});
}
```