@remirror/i18n
Advanced tools
Comparing version 0.0.0-pr1801.2 to 0.0.0-pr1801.3
{ | ||
"name": "@remirror/i18n", | ||
"version": "0.0.0-pr1801.2", | ||
"version": "0.0.0-pr1801.3", | ||
"description": "Supported internationalization and locales for the remirror editor.", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
"@lingui/detect-locale": "^3.14.0", | ||
"@remirror/core-helpers": "0.0.0-pr1801.2", | ||
"@remirror/core-helpers": "0.0.0-pr1801.3", | ||
"make-plural": "^6.2.1" | ||
@@ -68,3 +68,4 @@ }, | ||
] | ||
} | ||
}, | ||
"readme": "# @remirror/i18n\n\n> Supported internationalization and locales for the remirror editor.\n\n[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)\n\n[version]: https://flat.badgen.net/npm/v/@remirror/i18n\n[npm]: https://npmjs.com/package/@remirror/i18n\n[license]: https://flat.badgen.net/badge/license/MIT/purple\n[size]: https://bundlephobia.com/result?p=@remirror/i18n\n[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/i18n\n[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label\n[downloads-badge]: https://badgen.net/npm/dw/@remirror/i18n/red?icon=npm\n\n## Installation\n\n```bash\n# yarn\nyarn add @remirror/i18n\n\n# pnpm\npnpm add @remirror/i18n\n\n# npm\nnpm install @remirror/i18n\n```\n\n## Usage\n\nThe following code creates adds an `en` translation to your social editor.\n\n```tsx\nimport { en as enPlurals } from 'make-plural/plurals';\nimport React from 'react';\nimport { i18n } from '@remirror/i18n';\nimport en from '@remirror/i18n/en/messages';\nimport { SocialEditor } from '@remirror/react';\n\ni18n.loadLocaleData('en', { plurals: anPlurals });\n\ni18n.load({\n en: en.messages,\n});\n\nconst Editor = () => {\n <SocialEditor i18n={i18n} locale='en' />;\n};\n```\n" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74152
+ Added@remirror/core-constants@0.0.0-pr1801.3(transitive)
+ Added@remirror/core-helpers@0.0.0-pr1801.3(transitive)
+ Added@remirror/types@0.0.0-pr1801.3(transitive)
- Removed@remirror/core-constants@0.0.0-pr1801.2(transitive)
- Removed@remirror/core-helpers@0.0.0-pr1801.2(transitive)
- Removed@remirror/types@0.0.0-pr1801.2(transitive)