Closed shartte closed 3 months ago
Last commit published: de953f1d8bf1036836258dfcfd88360c14b735bf.
What's the motivation behind the modloading -> modloadingissue change?
What's the motivation behind the modloading -> modloadingissue change?
The motivation is that we can - when looking at the translation file - know, if a given translation key has access to the implicit arguments starting at 100
or not. Currently, you'd have to go back into the code and check if the translation key is exclusively used for modloading issues or not.
Wouldn't fml.modloading.issue
be a better fit for the naming scheme?
Wouldn't
fml.modloading.issue
be a better fit for the naming scheme?
Eh, I don't think it matters. The class they're used in is called ModLoadingIssue
, and there are other keys beneath fml.
being used, so it fits well enough.
Change the translation logic for mod loading issues warnings/errors to:
fml.modloadingissue.
to make it easy to know when the implicit args are availableNote that this is easier to review in the commit view. The updates to translation keys were done with a Python script, only the first contains manual code changes.