Skip to content

Commit

Permalink
fixup! Improve i18n types
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Dec 6, 2019
1 parent 73a2abb commit 8dd8476
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/i18n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ _Related_

_Parameters_

- _data_ `?Object`: Locale data configuration.
- _domain_ `?string`: Domain for which configuration applies.
- _data_ `[Object]`: Locale data configuration.
- _domain_ `[string]`: Domain for which configuration applies.

<a name="sprintf" href="#sprintf">#</a> **sprintf**

Expand Down Expand Up @@ -73,7 +73,7 @@ _Parameters_
- _single_ `string`: The text to be used if the number is singular.
- _plural_ `string`: The text to be used if the number is plural.
- _number_ `number`: The number to compare against to use either the singular or plural form.
- _domain_ `?string`: Domain to retrieve the translated text.
- _domain_ `[string]`: Domain to retrieve the translated text.

_Returns_

Expand All @@ -94,7 +94,7 @@ _Parameters_
- _plural_ `string`: The text to be used if the number is plural.
- _number_ `number`: The number to compare against to use either the singular or plural form.
- _context_ `string`: Context information for the translators.
- _domain_ `?string`: Domain to retrieve the translated text.
- _domain_ `[string]`: Domain to retrieve the translated text.

_Returns_

Expand All @@ -112,7 +112,7 @@ _Parameters_

- _text_ `string`: Text to translate.
- _context_ `string`: Context information for the translators.
- _domain_ `?string`: Domain to retrieve the translated text.
- _domain_ `[string]`: Domain to retrieve the translated text.

_Returns_

Expand All @@ -129,7 +129,7 @@ _Related_
_Parameters_

- _text_ `string`: Text to translate.
- _domain_ `?string`: Domain to retrieve the translated text.
- _domain_ `[string]`: Domain to retrieve the translated text.

_Returns_

Expand Down

0 comments on commit 8dd8476

Please sign in to comment.