Skip to content

Commit

Permalink
Update config.i18n.raise_on_missing_translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockyy committed May 24, 2023
1 parent 7ef2d6d commit a1ddc28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
config.active_record.verbose_query_logs = true

# Raises error for missing translations.
config.action_view.raise_on_missing_translations = ENV.fetch("RAISE_ON_MISSING_TRANSLATIONS", "false") == "true"
config.i18n.raise_on_missing_translations = ENV.fetch("RAISE_ON_MISSING_TRANSLATIONS", "false") == "true"

# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
Expand Down
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
config.active_support.deprecation = :stderr

# Raises error for missing translations.
# config.action_view.raise_on_missing_translations = true
# config.i18n.raise_on_missing_translations = true

config.active_job.queue_adapter = :test

Expand Down

0 comments on commit a1ddc28

Please sign in to comment.