Add custom quotes

This commit is contained in:
kwaroran
2024-09-23 20:46:58 +09:00
parent 3d2ad3736f
commit 6fdc6878d9
4 changed files with 37 additions and 4 deletions

View File

@@ -315,6 +315,24 @@
<Check bind:check={$DataBase.unformatQuotes} name={language.unformatQuotes}/>
</div>
<div class="flex items-center mt-2">
<Check bind:check={$DataBase.customQuotes} name={language.customQuotes}/>
</div>
{#if $DataBase.customQuotes}
<span class="text-textcolor mt-4">{language.leadingSingleQuote}</span>
<TextInput bind:value={$DataBase.customQuotesData[0]} />
<span class="text-textcolor mt-4">{language.trailingSingleQuote}</span>
<TextInput bind:value={$DataBase.customQuotesData[1]} />
<span class="text-textcolor mt-4">{language.leadingDoubleQuote}</span>
<TextInput bind:value={$DataBase.customQuotesData[2]} />
<span class="text-textcolor mt-4">{language.trailingDoubleQuote}</span>
<TextInput bind:value={$DataBase.customQuotesData[3]} />
{/if}
<div class="flex items-center mt-2">
<Check bind:check={$DataBase.betaMobileGUI} name={language.betaMobileGUI}/>
<Help key="betaMobileGUI"/>