Exception: I18n::Backend::LazyLoadable::FilenameIncorrect
- Inherits:
-
StandardError
- Object
- StandardError
- I18n::Backend::LazyLoadable::FilenameIncorrect
- Defined in:
- lib/i18n/backend/lazy_loadable.rb
Instance Method Summary collapse
-
#initialize(file, expected_locale, unexpected_locales) ⇒ FilenameIncorrect
constructor
A new instance of FilenameIncorrect.
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 |