other
sub-key in translation may cause a key to be marked as unused
#516
Labels
other
sub-key in translation may cause a key to be marked as unused
#516
I'm running into an issue similar to #473, but with the
unused
check.This occurs when a source item has an
other
, and a translation is partial and has only theother
key:en.yml
:ga.yml
:This causes
i18n-tasks unused
to incorrectly flag the translation as unused:Adding
'preferences.other'
toignore_unused
works, but it would be preferable ifi18n-tasks
could detect this is not a plural key based on use or reference locale, or failing that, have an option to mark known keys as non-plural, but not preventing the unused key check if they truly get unused at some point.The text was updated successfully, but these errors were encountered: