[Added] Introduce useMakePlural(options) function as way of creating
pluralizers on top of make-plural.
[Changed] Use make-plural's en function as the default pluralizer.
[Changed] Mark Scope type as read-only.
V4.2.2 - Dec 16, 2022
[Changed] Import lodash modules directly, which reduces final exported size by
36% (#41).
v4.2.1 - Dec 13, 2022
[Changed] The I18n#translate's return type is now a string and generics
union.
[Fixed] Fix issue when pluralization missed a key required by the pluralizer
raised an error rather thanr returning the missing translation message (#39)
v4.2.0 - Nov 24, 2022
[Changed] Interpolate strings when i18n.t(..args) returns an array.
[Fixed] Import cycle issue on src/helpers/formatNumber.ts.
[Added] I18n#formatNumber is now available as a I18n instance method.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps i18n-js from 4.1.1 to 4.2.3.
Changelog
Sourced from i18n-js's changelog.
Commits
56228e2
Bump up version (v4.2.3)8b23c10
Include src dir when packaging.5471f41
Fix build script.a238640
Set scope as read-only. (#45)c6bddde
Break build into a separate task.671b578
Tweak syntax.8057ce4
Fix headers.06a96b4
Create CONTRIBUTING.mda1031ef
Update RELEASE_PROCESS.md8a3c26d
Add wrapper that creates pluralizers for make-plural functions. (#43)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)