Module Formtastic::I18n
In: lib/formtastic/i18n.rb

Methods

translate  

Constants

DEFAULT_SCOPE = [:formtastic].freeze
DEFAULT_VALUES = YAML.load_file(File.expand_path("../../locale/en.yml", __FILE__))["en"]["formtastic"].freeze
SCOPES = [ '%{model}.%{nested_model}.%{action}.%{attribute}', '%{model}.%{action}.%{attribute}', '%{model}.%{nested_model}.%{attribute}', '%{model}.%{attribute}', '%{nested_model}.%{attribute}', '%{attribute}'

External Aliases

translate -> t

Public Class methods

[Validate]