lib/i18n/tasks/missing_keys.rb in i18n-tasks-0.9.34 vs lib/i18n/tasks/missing_keys.rb in i18n-tasks-0.9.35
- old
+ new
@@ -63,9 +63,10 @@
tree = empty_forest
plural_nodes data[locale] do |node|
children = node.children
present_keys = Set.new(children.map { |c| c.key.to_sym })
+ next if ignore_key?(node.full_key(root: false), :missing)
next if present_keys.superset?(required_keys)
tree[node.full_key] = node.derive(
value: children.to_hash,
children: nil,