This commit is contained in:
Timothy Jaeryang Baek 2025-06-16 15:05:35 +04:00
parent b8103807cf
commit 1af128fb24

View File

@ -412,7 +412,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="landing-page-mode-label" class=" self-center text-xs">{$i18n.t('Landing Page Mode')}</div> <div id="landing-page-mode-label" class=" self-center text-xs">
{$i18n.t('Landing Page Mode')}
</div>
<button <button
aria-labelledby="landing-page-mode-label" aria-labelledby="landing-page-mode-label"
@ -433,7 +435,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="chat-bubble-ui-label" class=" self-center text-xs">{$i18n.t('Chat Bubble UI')}</div> <div id="chat-bubble-ui-label" class=" self-center text-xs">
{$i18n.t('Chat Bubble UI')}
</div>
<button <button
aria-labelledby="chat-bubble-ui-label" aria-labelledby="chat-bubble-ui-label"
@ -479,7 +483,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="widescreen-mode-label" class=" self-center text-xs">{$i18n.t('Widescreen Mode')}</div> <div id="widescreen-mode-label" class=" self-center text-xs">
{$i18n.t('Widescreen Mode')}
</div>
<button <button
class="p-1 px-3 text-xs flex rounded-sm transition" class="p-1 px-3 text-xs flex rounded-sm transition"
@ -500,7 +506,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="chat-direction-label" class=" self-center text-xs">{$i18n.t('Chat direction')}</div> <div id="chat-direction-label" class=" self-center text-xs">
{$i18n.t('Chat direction')}
</div>
<button <button
aria-labelledby="chat-direction-label" aria-labelledby="chat-direction-label"
@ -521,7 +529,7 @@
<div> <div>
<div class="py-0.5 flex w-full justify-between"> <div class="py-0.5 flex w-full justify-between">
<div id=""notification-sound-label"" class=" self-center text-xs"> <div id="notification-sound-label" class=" self-center text-xs">
{$i18n.t('Notification Sound')} {$i18n.t('Notification Sound')}
</div> </div>
@ -619,7 +627,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="auto-generation-label" class=" self-center text-xs">{$i18n.t('Title Auto-Generation')}</div> <div id="auto-generation-label" class=" self-center text-xs">
{$i18n.t('Title Auto-Generation')}
</div>
<button <button
aria-labelledby="auto-generation-label" aria-labelledby="auto-generation-label"
@ -661,7 +671,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="chat-tags-label" class=" self-center text-xs">{$i18n.t('Chat Tags Auto-Generation')}</div> <div id="chat-tags-label" class=" self-center text-xs">
{$i18n.t('Chat Tags Auto-Generation')}
</div>
<button <button
aria-labelledby="chat-tags-label" aria-labelledby="chat-tags-label"
@ -688,7 +700,6 @@
<button <button
aria-labelledby="detect-artifacts-label" aria-labelledby="detect-artifacts-label"
class="p-1 px-3 text-xs flex rounded-sm transition" class="p-1 px-3 text-xs flex rounded-sm transition"
on:click={() => { on:click={() => {
toggleDetectArtifacts(); toggleDetectArtifacts();
@ -823,7 +834,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="always-collapse-label" class=" self-center text-xs">{$i18n.t('Always Collapse Code Blocks')}</div> <div id="always-collapse-label" class=" self-center text-xs">
{$i18n.t('Always Collapse Code Blocks')}
</div>
<button <button
aria-labelledby="always-collapse-label" aria-labelledby="always-collapse-label"
@ -844,7 +857,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="always-expand-label" class=" self-center text-xs">{$i18n.t('Always Expand Details')}</div> <div id="always-expand-label" class=" self-center text-xs">
{$i18n.t('Always Expand Details')}
</div>
<button <button
aria-labelledby="always-expand-label" aria-labelledby="always-expand-label"
@ -1006,7 +1021,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="web-search-in-chat-label" class=" self-center text-xs">{$i18n.t('Web Search in Chat')}</div> <div id="web-search-in-chat-label" class=" self-center text-xs">
{$i18n.t('Web Search in Chat')}
</div>
<button <button
aria-labelledby="web-search-in-chat-label" aria-labelledby="web-search-in-chat-label"
@ -1027,7 +1044,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="iframe-sandbox-allow-same-origin-label" class=" self-center text-xs">{$i18n.t('iframe Sandbox Allow Same Origin')}</div> <div id="iframe-sandbox-allow-same-origin-label" class=" self-center text-xs">
{$i18n.t('iframe Sandbox Allow Same Origin')}
</div>
<button <button
aria-labelledby="iframe-sandbox-allow-same-origin-label" aria-labelledby="iframe-sandbox-allow-same-origin-label"
@ -1048,7 +1067,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="iframe-sandbox-allow-forms-label" class=" self-center text-xs">{$i18n.t('iframe Sandbox Allow Forms')}</div> <div id="iframe-sandbox-allow-forms-label" class=" self-center text-xs">
{$i18n.t('iframe Sandbox Allow Forms')}
</div>
<button <button
aria-labelledby="iframe-sandbox-allow-forms-label" aria-labelledby="iframe-sandbox-allow-forms-label"
@ -1115,7 +1136,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="display-emoji-label" class=" self-center text-xs">{$i18n.t('Display Emoji in Call')}</div> <div id="display-emoji-label" class=" self-center text-xs">
{$i18n.t('Display Emoji in Call')}
</div>
<button <button
aria-labelledby="display-emoji-label" aria-labelledby="display-emoji-label"
@ -1138,7 +1161,9 @@
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="image-compression-label" class=" self-center text-xs">{$i18n.t('Image Compression')}</div> <div id="image-compression-label" class=" self-center text-xs">
{$i18n.t('Image Compression')}
</div>
<button <button
aria-labelledby="image-compression-label" aria-labelledby="image-compression-label"
@ -1160,10 +1185,14 @@
{#if imageCompression} {#if imageCompression}
<div> <div>
<div class=" py-0.5 flex w-full justify-between text-xs"> <div class=" py-0.5 flex w-full justify-between text-xs">
<div id="image-compression-size-label" class=" self-center text-xs">{$i18n.t('Image Max Compression Size')}</div> <div id="image-compression-size-label" class=" self-center text-xs">
{$i18n.t('Image Max Compression Size')}
</div>
<div> <div>
<label class="sr-only" for="image-comp-width">{$i18n.t('Image Max Compression Size width')}</label> <label class="sr-only" for="image-comp-width"
>{$i18n.t('Image Max Compression Size width')}</label
>
<input <input
bind:value={imageCompressionSize.width} bind:value={imageCompressionSize.width}
type="number" type="number"
@ -1171,7 +1200,9 @@
min="0" min="0"
placeholder="Width" placeholder="Width"
/>x />x
<label class="sr-only" for="image-comp-height">{$i18n.t('Image Max Compression Size height')}</label> <label class="sr-only" for="image-comp-height"
>{$i18n.t('Image Max Compression Size height')}</label
>
<input <input
bind:value={imageCompressionSize.height} bind:value={imageCompressionSize.height}
type="number" type="number"