mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-04-20 13:45:48 +02:00
This script removes unused translations from the `en.json` source translation file: - Parse `en.json` to build a list of all keys, e.g. `controlnet.depthAnything` - Check every frontend file for every key - If the key is not found, it is removed from the translation file - Exact matches (e.g. `controlnet.depthAnything`) and stem matches (e.g. `depthAnything`) are ignored |
||
|---|---|---|
| .. | ||
| clean_translations.py | ||
| package.json | ||
| typegen.js | ||