Module: SimpleFormExtension::Translations

Included in:
Inputs::DateTimeInput, Inputs::FileInput, Inputs::ImageInput, Inputs::SelectizeInput
Defined in:
lib/simple_form_extension/translations.rb

Instance Method Summary collapse

Instance Method Details

#_translate(key, options = {}) ⇒ Object



3
4
5
# File 'lib/simple_form_extension/translations.rb', line 3

def _translate(key, options = {})
  I18n.translate(['simple_form.extension', key].join('.'))
end