From: Gregory Igelmund Date: Wed, 13 Dec 2023 18:04:21 +0000 (-0500) Subject: Set config.active_model.i18n_customize_full_message = true X-Git-Tag: live~342^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/6eb29bf6d4cec8b6e4b503242e80a69647947745 Set config.active_model.i18n_customize_full_message = true Enables better error message customization --- diff --git a/config/application.rb b/config/application.rb index e568c8540..4517e8adf 100644 --- a/config/application.rb +++ b/config/application.rb @@ -35,6 +35,8 @@ module OpenStreetMap # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found). config.i18n.fallbacks = true + # Enables custom error message formats + config.active_model.i18n_customize_full_message = true # Use logstash for logging if required if Settings.key?(:logstash_path)