Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrii Bodnar <andrii.bodnar@crowdin.com>
  • Loading branch information
timofei-iatsenko and andrii-bodnar committed Mar 20, 2023
1 parent 344126a commit dd1ac36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/format-json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ export type JsonFormatterOptions = {
* @default true
*/
lineNumbers?: boolean

/**
* Different styles how information could be printed.
* Different styles of how information could be printed
*
* @default "lingui"
*/
Expand Down
3 changes: 2 additions & 1 deletion packages/format-json/src/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ export type JsonFormatterOptions = {
* @default true
*/
lineNumbers?: boolean

/**
* Different styles how information could be printed.
* Different styles of how information could be printed
*
* @default "lingui"
*/
Expand Down
6 changes: 3 additions & 3 deletions website/docs/ref/conf.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ If `fallbackLocales` is `false` default message or message ID is used instead.

Default: `po`

Format of message catalogs. By default `po` formatter is used. Other formats available as separate packages.
Message catalog format. The `po` formatter is used by default. Other formats are available as separate packages.

```js
// lingui.config.{js,ts}
Expand All @@ -320,9 +320,9 @@ Official LinguiJS format packages:
- [@lingui/format-json](https://www.npmjs.com/package/@lingui/format-json) Different JSON format
- [@lingui/format-csv](https://www.npmjs.com/package/@lingui/format-csv) CSV format

Please see individual packages readme for configuration parameters.
See the individual packages README for configuration parameters.

Visit [Advanced: Custom Formatter](/guides/custom-formatter.md) to learn how to create custom formatter.
Visit [Advanced: Custom Formatter](/docs/guides/custom-formatter.md) to learn how to create custom formatter.

## locales

Expand Down

0 comments on commit dd1ac36

Please sign in to comment.