Module | Formtastic::I18n |
In: |
lib/formtastic/i18n.rb
|
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}' |
translate | -> | t |