Module: I18n::Tasks::Command::Commands::Interpolations
- Includes:
- I18n::Tasks::Command::Collection
- Included in:
- I18n::Tasks::Commands
- Defined in:
- lib/i18n/tasks/command/commands/interpolations.rb
Instance Method Summary collapse
Methods included from I18n::Tasks::Command::Collection
Instance Method Details
#check_consistent_interpolations(opt = {}) ⇒ Object
14 15 16 17 18 |
# 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 |