EnigmaticaModpacks / Enigmatica6

The official repository and issue-tracker for Enigmatica 6
https://www.curseforge.com/minecraft/modpacks/enigmatica6
240 stars 528 forks source link

makes tooltips/descriptions localizable #5423

Closed ZZZank closed 7 months ago

ZZZank commented 7 months ago

This PR makes tooltips/descriptions defined in scripts localizable, no longer hard-coded. It includes:

This PR does not thoroughly makes every texts localizable, because moving and renaming keys is generally tedious but time consuming. So if there be some form of continuation of this PR, it will be in another seperate PR. Sorry for incompleteness.

I've test this change on my own instances, it works pretty well. In fact it looks exactly the same as before, while also enabling localization:

屏幕截图 2023-11-13 000644 屏幕截图 2023-11-13 000637
MuteTiefling commented 7 months ago

Looks good to me! Nicely done <3