Add Firefox (Bergamot) translation settings

This commit is contained in:
ModMapper
2025-03-16 19:23:38 +09:00
parent fef10c1e56
commit bbb01d2961
9 changed files with 16 additions and 1 deletions

View File

@@ -90,6 +90,7 @@
<OptionInput value="deepl" >DeepL</OptionInput>
<OptionInput value="llm" >Ax. Model</OptionInput>
<OptionInput value="deeplX" >DeepL X</OptionInput>
<OptionInput value="bergamot" >Firefox</OptionInput>
</SelectInput>
{#if DBState.db.translatorType === 'deepl'}
@@ -135,6 +136,11 @@
</SelectInput>
{/if}
{#if DBState.db.translatorType === 'bergamot'}
<div class="flex items-center mt-4">
<Check bind:check={DBState.db.htmlTranslation} name={language.htmlTranslation}/>
</div>
{/if}
<div class="flex items-center mt-2">
<Check bind:check={DBState.db.autoTranslate} name={language.autoTranslation}/>