diff --git a/packages/format-csv/README.md b/packages/format-csv/README.md index 1c0179ee2..bd145d7d8 100644 --- a/packages/format-csv/README.md +++ b/packages/format-csv/README.md @@ -27,7 +27,6 @@ This package is licensed under [MIT][license] license. [license]: https://github.com/lingui/js-lingui/blob/main/LICENSE [linguijs]: https://github.com/lingui/js-lingui [documentation]: https://lingui.dev -[reference]: https://lingui.dev/ref/loader [package]: https://www.npmjs.com/package/@lingui/format-csv [badge-downloads]: https://img.shields.io/npm/dw/@lingui/format-csv.svg [badge-version]: https://img.shields.io/npm/v/@lingui/format-csv.svg diff --git a/packages/format-json/README.md b/packages/format-json/README.md index 306e76523..fe12e98c6 100644 --- a/packages/format-json/README.md +++ b/packages/format-json/README.md @@ -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" */ diff --git a/packages/format-json/src/json.ts b/packages/format-json/src/json.ts index ee699346a..305ab72ce 100644 --- a/packages/format-json/src/json.ts +++ b/packages/format-json/src/json.ts @@ -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" */ diff --git a/website/docs/ref/conf.md b/website/docs/ref/conf.md index 556f037f7..11f8c0e48 100644 --- a/website/docs/ref/conf.md +++ b/website/docs/ref/conf.md @@ -301,10 +301,9 @@ 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} +```js title="lingui.config.{js,ts}" import { formatter } from "@lingui/format-po" export default { @@ -320,9 +319,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