Exception: I18n::Backend::LazyLoadable::FilenameIncorrect

Inherits:
StandardError
  • Object
show all
Defined in:
lib/i18n/backend/lazy_loadable.rb

Instance Method Summary collapse

Constructor Details

#initialize(file, expected_locale, unexpected_locales) ⇒ FilenameIncorrect

Returns a new instance of FilenameIncorrect.



144
145
146
# File 'lib/i18n/backend/lazy_loadable.rb', line 144

def initialize(file, expected_locale, unexpected_locales)
  super "#{file} can only load translations for \"#{expected_locale}\". Found translations for: #{unexpected_locales}."
end