dscalzi / HeliosLauncher

☀ Custom launcher for modded minecraft written in Electron and Node.js
MIT License
830 stars 1.72k forks source link

Localize Microsoft/Mojang authentication error messages #331

Closed Kamesuta closed 6 months ago

Kamesuta commented 6 months ago

First, remove the function that generates error messages from helios-core by https://github.com/dscalzi/helios-core/pull/6.
In this PR, add a function to generate error messages on the HeliosLauncher side and localize it using LangLoader.

And by the way, I added [js.settings.msftLogin] in the language file because it was causing errors due to missing it.