Asana / locheck

Validate iOS, Android, and Mac localizations. Find errors in .strings, .stringsdict, and strings.xml files.
MIT License
97 stars 11 forks source link

[iOS] Don't trigger string_has_extra_arguments when original string is missing #57

Open marcelofabri opened 3 weeks ago

marcelofabri commented 3 weeks ago

Looks like string_has_extra_arguments can be triggered if a string with arguments is present in a translated strings file, but missing from the original one.

~IMO this should be reported with a new "problem" type: extra_key_in_translation instead~ Looks like Android already has KeyMissingFromBase -- we should use it for iOS as well

This is happening for iOS, ~not sure if the same issue is present on Android~.

marcelofabri commented 3 weeks ago

I think this is actually the same as https://github.com/Asana/locheck/issues/42?