InvokeAI/invokeai/frontend/web/scripts
psychedelicious 24e741e2d1 feat(ui): add script to clean translations
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
2024-03-14 11:38:29 +11:00
..
clean_translations.py feat(ui): add script to clean translations 2024-03-14 11:38:29 +11:00
package.json feat(ui): update openapi-fetch; fix upload issue 2023-07-07 16:36:42 +10:00
typegen.js feat(scripts): add support for file path & stdin to frontend typegen script 2024-03-07 10:16:44 +11:00