From 86c3636a19277733e07a25fe8585933a6e30240b Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Sun, 12 Jun 2022 20:59:59 +0200 Subject: [PATCH 1/3] Add setup translation loading --- package.json | 1 + src/content/setup.html | 36 +++++++++++++++++++++++++++++------- src/ipc.ts | 3 +++ src/preload/bridge.ts | 4 ++++ src/preload/preload.ts | 10 +++++++--- src/window.ts | 7 +++++-- 6 files changed, 49 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 6686ce4..9541221 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ }, "dependencies": { "electron-context-menu": "github:ArmCord/electron-context-menu", + "os-locale": "^6.0.2", "v8-compile-cache": "^2.3.0", "ws": "^8.6.0" }, diff --git a/src/content/setup.html b/src/content/setup.html index 1783c8f..04b743c 100644 --- a/src/content/setup.html +++ b/src/content/setup.html @@ -12,12 +12,14 @@
You appear to be offline. Please connect to the internet and restart ArmCord Setup.
++ You appear to be offline. Please connect to the internet and restart ArmCord Setup. +
Select the type of setup you want to perform.
+Select the type of setup you want to perform.
Choose your Discord channel/instance:
+Choose your Discord channel/instance:
Should ArmCord handle client mods installation?
++ Should ArmCord handle client mods installation? +
Select a client mod you want to install:
+Select a client mod you want to install:
+
Why not all of them? Having many client mods at the same time can cause issues. If you really want to do it though, check our Discord ;)
@@ -65,7 +69,25 @@