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

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/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