* First step to use Language .json file in ejs
* i18n for landing.ejs
* i18n for login.ejs
* i18n for loginOptions.ejs
* i18n for overlay.ejs
* i18n for settings.ejs
* i18n for waiting.ejs
* i18n for welcome.ejs
* langloader.js placeholder support
* i18n for landing.js
* i18n for login.js
* i18n for overlay.js
* i18n for settings.js
* i18n for uibinder.js
* i18n for uicore.js
* remove html language replacement
* use toml for i18n
* Fix mojang/microsoft status icon is undefined
* cascadable langloader
* separate lang file for customization
* move some placeholder text to _placeholder.toml
* Update
* Reduce package lock diff.
* Remove another placeholder.
* Checkbox does not require translation.
* Icons don't need translation.
* Leave placeholders inline.
* Fix translation for news pages.
* Remove more unneeded translations.
---------
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com>
You can now drag one or more files onto the add mods button in order to add them to the mods directory. Only jar, litemod, and zip files will be moved.
Changed eslint to use a single configuration file, with overrides for the UI scripts.
Now using fs-extra, replace usages of rimraf and mkdirp with fs-extra functions.
Linted the entire project. Using different rules for the script files
as there are a lot of undefined variables just because of the way the
DOM's global scope works.
Mostly just code cleanup, however the linter did catch a minor bug with
a settings regex. That has been corrected.
Added distromanager.js to represent distro elements.
Moved all distro refresh code to distromanager.js.
Overhauled assetexec.js.
Overhauled handling of assetexec.js output in landing.js.
Overhauled events emitted by assetguard.js.
Improved doenload processing in assetguard.
Updated discord-rpc to v3.0.0.
Replaced westeroscraft.json with distribution.json.
Use npm in travis for windows + linux.
Remove file extension from imports.
Added liteloader + macromod + shaders to distribution.json.
Fixed incorrect function name for local distro index loading.
Fixed mojang tooltip not showing statuses when offline.
Added timeout of 2500ms to news loading, remote distro index retrieval, and mojang status loading.
Updates async to fix lodash vulnerability.
Major improvements to distribution index loading.
Implemented new transitional UI for startup.
If **no** distribution index is loaded on startup, completion of startup will be prevented and the user will be shown a message displaying the issue.
Launch errors are now shown as overlays.
Many more minor fixes and enhancements.
Added warning message when console is opened, this is in preparation for alpha.
Added a new background image. Restored random backgrounds on launch (for now).
Changed the overlay dismiss/cancel buttons from anchors to buttons.
The player count on the landing page is now functional. If the server cannot be reached, the label and value will change to SERVER and OFFLINE, respectively. This behavior can be modified.
Temp folder is deleted when minecraft is closed. If the Node.js process ends abruptly, the folder will not delete. As a dirty way to counter this, the directory we extract native files to is cleaned in the preloader. Maybe we'll come up with a more elegant solution in the future.