diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-09 18:07:01 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-09 18:07:01 +0200 |
commit | a1afb9b6e16412744b07e7508783eaa269d20168 (patch) | |
tree | b77dab85c1bfaa4eb12be411ab08b5a5ebb790af /api | |
parent | :bug: fix build.js? (diff) | |
download | server-a1afb9b6e16412744b07e7508783eaa269d20168.tar.xz |
:bug: rewrite locale en to en-US
Diffstat (limited to 'api')
-rw-r--r-- | api/client_test/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
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)); + } </script> <script src="/assets/479a2f1e7d625dc134b9.js"></script> <script src="/assets/a15fd133a1d2d77a2424.js"></script> |