Commit Graph

5 Commits

Author SHA1 Message Date
KernelDeimos
47f76ccc89 dev: add file walker 2024-07-09 03:15:51 -04:00
KernelDeimos
48f99fb807 dev: add script to replace release-please 2024-07-08 16:57:02 -04:00
KernelDeimos
d3f3e089d3 sync: update check-translations.js 2024-07-07 17:12:55 -04:00
Sam Atkins
8f8b7f0fbf Check that all uses of i18n() use keys that exist
If code uses `i18n('foo')` and 'foo' is not in the dictionary for the en
translation, then this script will now report it as an error. This has
already helped catch a few mistakes.
2024-04-01 12:12:31 +01:00
Sam Atkins
3f27608850 Add a script to check our translation files are valid
Checks the following:
- Translation files are valid JS
- Each translation file is registered in translations.js
- Each translation's code matches its name
- Translation dictionaries only contain keys that exist in the English
  translation.
2024-03-21 10:53:06 +00:00