stargate-rewritten / Stargate-Interfaces

An interaction addon for features that break StarGate's user-immersion principle (commands and GUIs that exist outside of gameplay)
https://sgrewritten.org/infosgi
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Better messaging #7

Closed EpicKnarvik97 closed 2 years ago

EpicKnarvik97 commented 2 years ago

Once the core functionality is stable, some improved messaging with a prefix and coloring should be implemented. Preferably, the ability to translate messages, or at least add a message enum, should be added.

EpicKnarvik97 commented 2 years ago

To remove some complexity when several languages have translations, the translator should be changed to use files with names like "en-US.yml". To remove any problems caused by the difference between formatting and translation, formatting should be configurable in the config file, while only the relevant text is translated.