class I18n::InvalidFilenames
def initialize(file_errors)
def initialize(file_errors) super <<~MSG Found #{file_errors.count} error(s). The first #{[file_errors.count, NUMBER_OF_ERRORS_SHOWN].min} error(s): #{file_errors.map(&:message).first(NUMBER_OF_ERRORS_SHOWN).join("\n")} To use the LazyLoadable backend: 1. Filenames must start with the locale. 2. An underscore must separate the locale with any optional text that follows. 3. The file must only contain translation data for the single locale. Example: "/config/locales/fr.yml" which contains: ```yml fr: dog: chien ``` MSG end