Disable async-websocket for now, added i18n gem, added support for translations, added password prompt for passworded servers

This commit is contained in:
2021-11-22 11:39:42 -06:00
parent dfa1e413ea
commit b3665af5c4
11 changed files with 157 additions and 108 deletions

View File

@@ -10,9 +10,13 @@ require "fileutils"
require "digest"
require "rexml"
require "i18n"
require "launchy"
require "zip"
I18n.load_path << Dir[File.expand_path("locales") + "/*.yml"]
I18n.default_locale = :en
class W3DHub
GAME_ROOT_PATH = File.expand_path(".", __dir__)
CACHE_PATH = "#{GAME_ROOT_PATH}/data/cache"