class AASM::Localizer

def item_for(klass, state, ancestor, options={})

def item_for(klass, state, ancestor, options={})
  separator = options[:old_style] ? '.' : '/'
  :"#{i18n_scope(klass)}.attributes.#{i18n_klass(ancestor)}.#{klass.aasm(state.state_machine.name).attribute_name}#{separator}#{state}"
end