Skip to content

Commit

Permalink
Check for ignored key in locale
Browse files Browse the repository at this point in the history
  • Loading branch information
markedmondson committed Oct 22, 2024
1 parent f655f32 commit a4ac302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/i18n/tasks/missing_keys.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def missing_plural_tree(locale, base = base_locale, _skip_interpolation = false)
end
# Compare the keys to those existing in base
next if ignore_key?(node.full_key(root: false), :missing)
next if ignore_key?(node.full_key(root: false), :missing, locale)
next if present_keys.superset?(required_keys)

# Mark for removal any existing keys that are not required
Expand Down

0 comments on commit a4ac302

Please sign in to comment.