]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.rb
Merge remote-tracking branch 'upstream/pull/4735'
[rails.git] / config / application.rb
index e568c854052cb177b6f3cf69537ed47df17bbb6a..4517e8adfb611d8d073041274321212ff95bf6e1 100644 (file)
@@ -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)