From d173e5863ed8fed93f40c38fc79fa3bffad4b142 Mon Sep 17 00:00:00 2001 From: Greyhoof <132987288+greyhoof@users.noreply.github.com> Date: Tue, 5 Sep 2023 16:29:37 +0200 Subject: [PATCH] x Fixed browser settings dialog (placeholder) so that it actually works and looks correct --- chat/localize.ts | 5 + electron/BrowserOption.vue | 181 ++++++++++++++++++++++------------- electron/browser_option.html | 2 +- electron/browser_option.ts | 5 +- electron/common.ts | 3 +- electron/main.ts | 16 +++- 6 files changed, 133 insertions(+), 79 deletions(-) diff --git a/chat/localize.ts b/chat/localize.ts index 36e998e..c7a1e9b 100644 --- a/chat/localize.ts +++ b/chat/localize.ts @@ -189,6 +189,11 @@ Current log location: {1}`, 'settings.beta': 'Opt-in to test unstable prerelease updates', 'settings.hwAcceleration': 'Enable hardware acceleration (requires restart)', 'settings.bbCodeBar': 'Show BBCode formatting bar', + 'settings.browserOption': 'Set command for opening clicked links', + 'settings.browserOptionTitle': 'Browser Path', + 'settings.browserOptionPath': 'Path to browser executable', + 'settings.browserOptionArguments': 'Arguments to pass to executable', + 'settings.browserOptionArgumentsHelp': 'Arguments are separated by spaces. Use %s to insert the URL.', 'fixLogs.action': 'Fix corrupted logs', 'fixLogs.text': `There are a few reason log files can become corrupted - log files from old versions with bugs that have since been fixed or incomplete file operations caused by computer crashes are the most common. If one of your log files is corrupted, you may get an "Unknown Type" error when you log in or when you open a specific tab. You may also experience other issues. diff --git a/electron/BrowserOption.vue b/electron/BrowserOption.vue index 5ff127a..c4d4a7f 100644 --- a/electron/BrowserOption.vue +++ b/electron/BrowserOption.vue @@ -1,8 +1,8 @@