* 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>
Added a tooltip to the settings button on the landing UI.
Settings button now opens to the (incomplete) settings UI.
Added navigation bar to the settings UI.
Implemented tabbing between settings tabs.
More to come.
Added News UI and implemented functionality.
Removed westeroscraft.xml as we don't need to cache it.
Updated westeroscraft.json.
Updated Electron to v2.0.0
Basic selection and updating of the selected server has been added. There are a few subtle mechanics which need to be added still, such as keybind shortcuts (enter to submit, etc). In addition, functionality still needs to be added to generate the list of servers from the manifest file.
Fixed a minor issue with the login view.
Updated play button styles.
Updated dependencies.
The temporary span which displayed the selected server has been changed to a button. Clicking this button will open the server selection view. The server selection view is still pending full implementation.
Moved landing.ejs specific scripts to a dedicated file. General cleanup for other script files. Need to examine the remaining code in actionbinder.js to determine the most logical place for it.
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.
The darwin frame is the same as the original, however the button behavior is corrected. The win32 frame uses the traditional buttons found on windows. Also added a small logo image to the windows frame. Each frame is dynamically loaded on startup via ejs.
Also disabled the server selection test UI.
Separate views are stored in an ejs file. When the app starts, each file will be loaded, with the DOM elements hidden. Based on the state of the application, a specific view will be fadded in. Switching between views will use this principle.
Moved contents of index.ejs to landing.ejs to make it compatible with the new format. As a result, index.ejs is deprecated and will be removed once it is no longer needed for reference.