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(+) (limited to 'api/client_test/index.html') 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 From efdb39cf146a89c998b062d99b63731c28d62d75 Mon Sep 17 00:00:00 2001 From: xnacly Date: Sat, 9 Oct 2021 22:49:29 +0200 Subject: :sparkles: random guest username generation added --- api/client_test/index.html | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) (limited to 'api/client_test/index.html') diff --git a/api/client_test/index.html b/api/client_test/index.html index e35fe900..20b431b8 100644 --- a/api/client_test/index.html +++ b/api/client_test/index.html @@ -5,6 +5,7 @@ Discord Test Client +