Commit Graph

2 Commits (f8c368f0fa184f1f59170506511db405fd87012d)

Author SHA1 Message Date
kraktus f8c368f0fa `sed`: Only delete one-line keys
Multiple line matching with `sed` is a nightmare. Handle these seldom cases by hand.
2021-09-22 19:10:17 +02:00
kraktus 21b0d2cde0 Add `trans-unused.py`
Script that check if there are keys that are not used anywhere in the code. Prone to false negative but not false positive. Caveat: Does not check in lichobile,but since it is only checking Scala code, even if the key is on Lichobile since the translation is never sent by the server it can be safely removed.

`trans-dump.js` was modified to allow running it from everywhere, not just from the `lila` dir.
2021-09-22 19:09:55 +02:00