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

Finish Stringsdict validation logic #8

Closed stevelandeyasana closed 3 years ago

stevelandeyasana commented 3 years ago

Adds a data structure for error messages to fix #6.

Adds a summary printed to stdout which is much more human-readable than the per-line errors. Stdout is for humans, stderr is for Xcode.

Finds these issues in Stringsdict files:

The tests could be improved a lot, but having just fixed a bunch of bugs in Asana's stringsdict files using the tool, I'm happy with the amount of coverage the current test suite provides.