[Fixed] Load plugins when running i18n lint:* commands.
v4.2.2 - Dec 30, 2022
[Changed] Do not re-export files whose contents haven't changed.
[Changed] Translations will always be deep sorted.
[Fixed] Remove procs from translations before exporting files.
v4.2.1 - Dec 25, 2022
[Changed] Change plugin api to be based on instance methods. This avoids
having to pass in the config for each and every method. It also allows us
adding helper methods to the base class.
[Fixed] Fix performance issues with embed fallback translations' initial
implementation.
v4.2.0 - Dec 10, 2022
[Added] Add I18nJS::Plugin.after_export(files:, config:) method, that's
called whenever whenever I18nJS finishes exporting files. You can use it to
further process files, or generate new files based on the exported files.
[Added] Bult-in plugin I18nJS::ExportFilesPlugin, which allows exporting
files out of the translations file by using a custom template.
v4.1.0 - Dec 09, 2022
[Added] Parse configuration files as erb.
[Changed] I18n.listen(run_on_start:) was added to control if files should be
exported during I18n.listen's boot. The default value is true.
[Added] Now it's possible to transform translations before exporting them
using a stable plugin api.
[Added] Built-in plugin I18nJS::EmbedFallbackTranslationsPlugin, which
allows embedding missing translations on exported files.
[Deprecated] The i18n check has been deprecated. Use
i18n lint:translations instead.
[Added] Use i18n lint:scripts to lint JavaScript/TypeScript.
[Fixed] Expand paths passed to I18nJS.listen(locales_dir:).
v4.0.1 - Aug 25, 2022
[Fixed] Shell out export to avoid handling I18n reloading heuristics.
[Changed] I18nJS.listen now accepts a directories list to watch.
[Changed] I18nJS.listen now accepts
listen options via :options.
You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps i18n-js from 3.9.2 to 4.2.3.
Changelog
Sourced from i18n-js's changelog.
Commits
7ad7b7c
Bump up version (v4.2.3)d8005c4
Load plugins when running linting commands.8587639
Fix rubocop errors.a202fb2
Fix config example forexcept
on migration file (#702)a6aef51
Bump actions/setup-node from 3.5.1 to 3.6.0 (#700)a61db32
Bump up version (v4.2.2)ca5591a
Remove procs from translations before exporting files. (#696)09fe978
Sort translations after filtering them out. (#695)dedf5fd
Update changelog.d2e0170
Avoid re-exporting files when content hasn't changed (#694)You can trigger a rebase of this PR 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 show