Class: UndeclaredLocaleFiles

Inherits:
BaseChecker show all
Includes:
LocaleCheckerHelper
Defined in:
lib/rails_translation_manager/locale_checker/undeclared_locale_files.rb

Constant Summary

Constants included from LocaleCheckerHelper

LocaleCheckerHelper::PLURAL_KEYS

Instance Attribute Summary

Attributes inherited from BaseChecker

#all_locales

Instance Method Summary collapse

Methods included from LocaleCheckerHelper

#english_keys_excluding_plurals, #exclude_plurals, #group_keys, #key_is_plural?

Methods inherited from BaseChecker

#initialize

Constructor Details

This class inherits a constructor from BaseChecker

Instance Method Details

#reportObject



6
7
8
9
# File 'lib/rails_translation_manager/locale_checker/undeclared_locale_files.rb', line 6

def report
  diff = compare
  format_error_message(diff) unless diff.empty?
end