From 9f06285b965623bf8da79ecba30c94b71ad4816a Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Sat, 30 Nov 2024 09:52:04 -0800 Subject: [PATCH] =?UTF-8?q?Added=20line=20breaks=20for=20readability=20?= =?UTF-8?q?=E2=86=9E=20[auto-sync=20from=20https://github.com/adamlui/ai-w?= =?UTF-8?q?eb-extensions]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chrome/extension/lib/settings.js | 21 ++++++++++++++------- firefox/extension/lib/settings.js | 21 ++++++++++++++------- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/chrome/extension/lib/settings.js b/chrome/extension/lib/settings.js index 21c44e92..aac42f45 100644 --- a/chrome/extension/lib/settings.js +++ b/chrome/extension/lib/settings.js @@ -5,25 +5,32 @@ window.settings = { controls: { // displays top-to-bottom in toolbar menu get fullerWindows() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_fullerWins'), - helptip: window.settings.getMsg('helptip_fullerWins') }}, + helptip: window.settings.getMsg('helptip_fullerWins') + }}, get tcbDisabled() { return { type: 'toggle', symbol: '↕️', label: window.settings.getMsg('menuLabel_tallerChatbox'), - helptip: window.settings.getMsg('helptip_tallerChatbox') }}, + helptip: window.settings.getMsg('helptip_tallerChatbox') + }}, get widerChatbox() { return { type: 'toggle', symbol: '↔️', label: window.settings.getMsg('menuLabel_widerChatbox'), - helptip: window.settings.getMsg('helptip_widerChatbox') }}, + helptip: window.settings.getMsg('helptip_widerChatbox') + }}, get ncbDisabled() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_newChatBtn'), - helptip: window.settings.getMsg('helptip_newChatBtn') }}, + helptip: window.settings.getMsg('helptip_newChatBtn') + }}, get hiddenHeader() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_hiddenHeader'), - helptip: window.settings.getMsg('helptip_hiddenHeader') }}, + helptip: window.settings.getMsg('helptip_hiddenHeader') + }}, get hiddenFooter() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_hiddenFooter'), - helptip: window.settings.getMsg('helptip_hiddenFooter') }}, + helptip: window.settings.getMsg('helptip_hiddenFooter') + }}, get notifDisabled() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_modeNotifs'), - helptip: window.settings.getMsg('helptip_modeNotifs') }} + helptip: window.settings.getMsg('helptip_modeNotifs') + }} }, getMsg(key) { diff --git a/firefox/extension/lib/settings.js b/firefox/extension/lib/settings.js index 21c44e92..aac42f45 100644 --- a/firefox/extension/lib/settings.js +++ b/firefox/extension/lib/settings.js @@ -5,25 +5,32 @@ window.settings = { controls: { // displays top-to-bottom in toolbar menu get fullerWindows() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_fullerWins'), - helptip: window.settings.getMsg('helptip_fullerWins') }}, + helptip: window.settings.getMsg('helptip_fullerWins') + }}, get tcbDisabled() { return { type: 'toggle', symbol: '↕️', label: window.settings.getMsg('menuLabel_tallerChatbox'), - helptip: window.settings.getMsg('helptip_tallerChatbox') }}, + helptip: window.settings.getMsg('helptip_tallerChatbox') + }}, get widerChatbox() { return { type: 'toggle', symbol: '↔️', label: window.settings.getMsg('menuLabel_widerChatbox'), - helptip: window.settings.getMsg('helptip_widerChatbox') }}, + helptip: window.settings.getMsg('helptip_widerChatbox') + }}, get ncbDisabled() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_newChatBtn'), - helptip: window.settings.getMsg('helptip_newChatBtn') }}, + helptip: window.settings.getMsg('helptip_newChatBtn') + }}, get hiddenHeader() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_hiddenHeader'), - helptip: window.settings.getMsg('helptip_hiddenHeader') }}, + helptip: window.settings.getMsg('helptip_hiddenHeader') + }}, get hiddenFooter() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_hiddenFooter'), - helptip: window.settings.getMsg('helptip_hiddenFooter') }}, + helptip: window.settings.getMsg('helptip_hiddenFooter') + }}, get notifDisabled() { return { type: 'toggle', label: window.settings.getMsg('menuLabel_modeNotifs'), - helptip: window.settings.getMsg('helptip_modeNotifs') }} + helptip: window.settings.getMsg('helptip_modeNotifs') + }} }, getMsg(key) {