This directory contains scripts and tools used for development and maintenance of the Home Assistant iOS app.
Detects unused localization strings in the codebase.
Usage:
python3 Tools/detect_unused_strings.pyWhat it does:
- Parses
Sources/Shared/Resources/Swiftgen/Strings.swiftto extract all L10n properties and their corresponding Localizable keys - Checks for usage of L10n properties in Swift source code
- Double-checks for direct usage of Localizable keys in the codebase
- Reports unused strings that can be safely removed
Exit codes:
0: No unused strings found1: Unused strings detected (normal for reporting)
Builds the Material Design Icons font file from the icon definitions.
SwiftGen template for generating Swift code from Material Design Icons JSON data.