Bump i18n-js from 3.9.2 to 4.0.0
Bumps [i18n-js](https://github.com/fnando/i18n-js) from 3.9.2 to 4.0.0. - [Release notes](https://github.com/fnando/i18n-js/releases) - [Changelog](https://github.com/fnando/i18n-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/fnando/i18n-js/compare/v3.9.2...v4.0.0) --- updated-dependencies: - dependency-name: i18n-js dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Sebastian Serth

parent
ad5acd7f1b
commit
727f85841d
8
config/i18n.yml
Normal file
8
config/i18n.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
translations:
|
||||
- file: tmp/locales.json
|
||||
patterns:
|
||||
- "*"
|
||||
- "!*.activerecord"
|
||||
- "!*.errors"
|
||||
- "!*.number.nth"
|
7
config/initializers/i18n.rb
Normal file
7
config/initializers/i18n.rb
Normal file
@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.config.after_initialize do
|
||||
require 'i18n-js/listen'
|
||||
# This will only run in development.
|
||||
I18nJS.listen
|
||||
end
|
Reference in New Issue
Block a user