[Suggestion] Use comment annotation text for PrefixText if no translations is found for a config
TelepathicGrunt opened this issue ยท 1 comments
Ik you're busy but I was wondering if it could be possible for cloth config to use the comment annotation's entry if no lang translation is found for a prefix text config in the gui. And maybe the same for the config name as well (use the field's name)?
https://github.com/TelepathicGrunt/RepurposedStructures-Fabric/blob/a45a9442b3cbe72b08b70fac2710f3110ed3a7cc/src/main/java/com/telepathicgrunt/repurposedstructures/configs/RSDungeonsConfig.java#L19
I ask this cause the most tedious part of cloth config is constantly updating my en_us manually every time i want to change an entry or add new configs since the lang file is massive now. If I could just only edit the comment annotation in code, it would make things much easier for me as the code is organized and easier to see vs all the side scrolling I gotta do in the lang file.
The idea of making it automatically use the in-code comment and field name will really help modders although it may make it a bit harder for translators to know what the key is for translations. I guess hovering over the text and pressing shift could show the key to make translators still be able to see what the key is in-game.
Just a suggestion