summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 18:07:01 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-09 18:07:01 +0200
commitb278f7a20704446756e1a11b3d0f6859095a1585 (patch)
tree63d23b1480f34fa8ba0ba954b105e69a0896941d /api
parent:bug: fix build.js? (diff)
downloadserver-b278f7a20704446756e1a11b3d0f6859095a1585.tar.xz
:bug: rewrite locale en to en-US
Diffstat (limited to 'api')
-rw-r--r--api/client_test/index.html6
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>