diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index e36ac8217b..fc5b1a9ff3 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -299,6 +299,7 @@
{ @@ -317,6 +318,7 @@
{ @@ -336,6 +338,7 @@
{ @@ -353,6 +356,7 @@
{ @@ -371,6 +375,7 @@
{ @@ -389,6 +394,7 @@
{ @@ -408,6 +414,7 @@
{ @@ -426,6 +433,7 @@
{ @@ -446,18 +454,18 @@
@@ -469,18 +477,16 @@
@@ -492,7 +498,7 @@
@@ -522,6 +526,7 @@
{ saveSettings({ chatBubble }); @@ -540,6 +545,7 @@
{ @@ -559,6 +565,7 @@
{ @@ -577,6 +584,7 @@
{ @@ -595,6 +603,7 @@
{ @@ -607,10 +616,13 @@
-
{$i18n.t('Follow-Up Auto-Generation')}
+
+ {$i18n.t('Follow-Up Auto-Generation')} +
{ @@ -629,6 +641,7 @@
{ @@ -647,6 +660,7 @@
{ @@ -659,12 +673,13 @@
-
+
{$i18n.t('Keep Follow-Up Prompts in Chat')}
{ @@ -677,12 +692,13 @@
-
+
{$i18n.t('Insert Follow-Up Prompt to Input')}
{ @@ -701,6 +717,7 @@
{ @@ -719,6 +736,7 @@
{ @@ -737,6 +755,7 @@
{ @@ -755,6 +774,7 @@
{ @@ -773,6 +793,7 @@
{ @@ -785,15 +806,16 @@
-
+
+
{#if showFloatingActionButtons}
@@ -840,7 +861,7 @@
-
+
{$i18n.t('Enter Key Behavior')}
@@ -852,11 +873,11 @@ }} type="button" > - {#if ctrlEnterToSend === true} - {$i18n.t('Ctrl+Enter to Send')} - {:else} - {$i18n.t('Enter to Send')} - {/if} + {ctrlEnterToSend === true + ? $i18n.t('Ctrl+Enter to Send') + : $i18n.t('Enter to Send')}
@@ -870,6 +891,7 @@
{ saveSettings({ richTextInput }); @@ -882,12 +904,13 @@ {#if richTextInput}
-
+
{$i18n.t('Show Formatting Toolbar')}
{ @@ -900,12 +923,13 @@
-
+
{$i18n.t('Insert Prompt as Rich Text')}
{ @@ -925,6 +949,7 @@
{ @@ -946,6 +971,7 @@
{ saveSettings({ largeTextAsFile }); @@ -965,6 +991,7 @@
{ @@ -983,6 +1010,7 @@
{ @@ -1001,6 +1029,7 @@
{ @@ -1015,10 +1044,13 @@
-
{$i18n.t('Allow Voice Interruption in Call')}
+
+ {$i18n.t('Allow Voice Interruption in Call')} +
{ @@ -1037,6 +1069,7 @@
{ @@ -1057,6 +1090,7 @@
{ @@ -1081,6 +1115,7 @@
-
+
{$i18n.t('Compress Images in Channels')}
{ diff --git a/src/lib/components/common/Switch.svelte b/src/lib/components/common/Switch.svelte index 9216d6de62..ffd649f8cc 100644 --- a/src/lib/components/common/Switch.svelte +++ b/src/lib/components/common/Switch.svelte @@ -5,6 +5,7 @@ import Tooltip from './Tooltip.svelte'; export let state = true; export let id = ''; + export let ariaLabelledbyId = ''; export let tooltip = false; const i18n = getContext('i18n'); @@ -20,6 +21,7 @@