From 32db61d8ca46aee56641d57eb4c188721985cd40 Mon Sep 17 00:00:00 2001
From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com>
Date: Sat, 9 Oct 2021 18:06:02 +0200
Subject: :bug: fix build.js?
---
bundle/scripts/build.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js
index 05cf37ce..4266942f 100644
--- a/bundle/scripts/build.js
+++ b/bundle/scripts/build.js
@@ -89,7 +89,7 @@ function walk(dir) {
var results = [];
var list = fs.readdirSync(dir);
list.forEach(function (file) {
- file = dir + "/" + file;
+ file = path.join(dir, file);
var stat = fs.statSync(file);
if (stat && stat.isDirectory()) {
/* Recurse into a subdirectory */
--
cgit 1.5.1
From b278f7a20704446756e1a11b3d0f6859095a1585 Mon Sep 17 00:00:00 2001
From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com>
Date: Sat, 9 Oct 2021 18:07:01 +0200
Subject: :bug: rewrite locale en to en-US
---
api/client_test/index.html | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/api/client_test/index.html b/api/client_test/index.html
index 41d41598..e35fe900 100644
--- a/api/client_test/index.html
+++ b/api/client_test/index.html
@@ -62,6 +62,12 @@
}
});
}
+
+ const settings = JSON.parse(localStorage.getItem("UserSettingsStore"));
+ if (settings && settings.locale === "en") {
+ settings.locale = "en-US";
+ localStorage.setItem("UserSettingsStore", JSON.stringify(settings));
+ }
--
cgit 1.5.1