Class: MissingForeignLocales

Inherits:
BaseChecker show all
Includes:
LocaleCheckerHelper
Defined in:
lib/rails_translation_manager/locale_checker/missing_foreign_locales.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
10
# File 'lib/rails_translation_manager/locale_checker/missing_foreign_locales.rb', line 6

def report
  grouped_missing_keys = group_keys(missing_foreign_locales)

  format_missing_foreign_locales(grouped_missing_keys) if grouped_missing_keys.present?
end