From 3a5a43d08e9f4efc42cbd6feff17401bd861d988 Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Wed, 5 Feb 2025 07:18:39 +0100 Subject: [PATCH] feat(webui): translations support Closes #900 --- static/webui/index.html | 207 ++++++++++++------------- static/webui/libs/i18next.min.js | 1 + static/webui/script.js | 242 +++++++++++++++++++++--------- static/webui/style.css | 4 +- static/webui/translations/en.json | 129 ++++++++++++++++ static/webui/translations/ru.json | 129 ++++++++++++++++ 6 files changed, 527 insertions(+), 185 deletions(-) create mode 100644 static/webui/libs/i18next.min.js create mode 100644 static/webui/translations/en.json create mode 100644 static/webui/translations/ru.json diff --git a/static/webui/index.html b/static/webui/index.html index ec0bee15..0db3f369 100644 --- a/static/webui/index.html +++ b/static/webui/index.html @@ -34,13 +34,13 @@
Login using your OpenWF account credentials.
+- Note: Changes made here will only be reflected in-game when the game re-downloads your - inventory. Visiting the navigation should be the easiest way to trigger that. -
+