diff --git a/lib/formtastic/inputs/base/collections.rb b/lib/formtastic/inputs/base/collections.rb index d3dcdb47d..dd95cfb19 100644 --- a/lib/formtastic/inputs/base/collections.rb +++ b/lib/formtastic/inputs/base/collections.rb @@ -114,8 +114,11 @@ def collection_from_enum enum_options_hash = object.defined_enums[method_name] enum_options_hash.map do |name, value| - key = "activerecord.attributes.#{object_name}.#{method_name.pluralize}.#{name}" - label = ::I18n.translate(key, :default => name.humanize) + scopes = [ + "activerecord.attributes.#{object_name}/#{method_name.pluralize}", + "activerecord.attributes.#{object_name}.#{method_name.pluralize}" + ] + label = ::I18n.translate(name, scope: scopes, :default => name.humanize) [label, name] end end