1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 06:33:23 +00:00
CC-Tweaked/projects
Jonathan Coates 08df68dcc0
Generate en_us.json via datagen
I was originally pretty sceptical about this, but it actually ends up
being useful for the same reason any other form of datagen is: we can
ensure that names are well formed, and that every string is actually
translated.

There's some future work here to go through all the custom translation
keys and move them into constants (maybe also do something with the
/computercraft command?), but that's a separate chunk of work.

The main motivation for this is to add translation keys to our config:
the Fabric version of Forge Config API provides a config UI, so it's
useful to provide user-friendly strings. Our generator also
automatically copies comments over, turning them into tooltips.

This also updates all of the other language files to match en_us.json
again: it's a very noisy diff as the file is now sorted alphabetically.
Hopefully this won't affect weblate though

[^1]: Amusing really that the Fabric port actually is more useful than
the original.
2022-11-20 13:00:43 +00:00
..
common Generate en_us.json via datagen 2022-11-20 13:00:43 +00:00
common-api Minor fixes and cleanup 2022-11-10 17:15:12 +00:00
core Various improvements to packaging 2022-11-17 09:26:57 +00:00
core-api Make the main mod non-null by default 2022-11-09 18:59:51 +00:00
fabric Generate en_us.json via datagen 2022-11-20 13:00:43 +00:00
fabric-api Fix several issues with the Fabric API jar 2022-11-18 23:21:05 +00:00
forge Generate en_us.json via datagen 2022-11-20 13:00:43 +00:00
forge-api Improve packaging of published jars 2022-11-08 16:43:27 +00:00
forge-stubs Move our public API into separate modules 2022-11-06 15:07:13 +00:00
lints Add a couple of errorprone plugins 2022-11-10 08:54:09 +00:00
mc-stubs Move the core API into a separate module 2022-11-04 21:41:59 +00:00
web Update project paths in our utility build scripts 2022-11-10 09:12:28 +00:00
ARCHITECTURE.md Various improvements to packaging 2022-11-17 09:26:57 +00:00