lib/i18n/tasks/missing_keys.rb in i18n-tasks-0.6.2 vs lib/i18n/tasks/missing_keys.rb in i18n-tasks-0.6.3

- old
+ new

@@ -65,11 +65,11 @@ }.set_root_key(locale, type: :missing_diff).tap { |t| collapse_plural_nodes!(t) if collapse_plural } end # keys used in the code missing translations in locale def missing_used_tree(locale) - used_tree.select_keys { |key, _node| - !key_expression?(key) && locale_key_missing?(locale, key) + used_tree(strict: true).select_keys { |key, _node| + locale_key_missing?(locale, key) }.set_root_key(locale, type: :missing_used) end def equal_values_tree(locale, compare_to = base_locale) base = data[compare_to].first.children