module I18n::Tasks::Command::Commands::Interpolations

Public Instance Methods

check_consistent_interpolations(opt = {}) click to toggle source
# File lib/i18n/tasks/command/commands/interpolations.rb, line 14
def check_consistent_interpolations(opt = {})
  forest = i18n.inconsistent_interpolations(**opt.slice(:locales, :base_locale))
  print_forest forest, opt, :inconsistent_interpolations
  :exit1 unless forest.empty?
end