lib/i18n/tasks/prefill.rb in i18n-tasks-0.1.7 vs lib/i18n/tasks/prefill.rb in i18n-tasks-0.1.8

- old
+ new

@@ -1,12 +1,11 @@ require 'i18n/tasks/base_task' module I18n module Tasks + # Prefill values from base locale data class Prefill < BaseTask - # todo refactor to allow configuring output targets def perform - # Will also rewrite en, good for ordering I18n.available_locales.map(&:to_s).each do |target_locale| data[target_locale] = data[base_locale].deep_merge(data[target_locale]) end end end