mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-15 03:15:14 +00:00
web/settings/advanced: add a toggle for local processing
This commit is contained in:
parent
a9515d376a
commit
41600dab4f
|
@ -113,6 +113,10 @@
|
||||||
|
|
||||||
"advanced.data": "data management",
|
"advanced.data": "data management",
|
||||||
|
|
||||||
|
"advanced.duck": "local processing",
|
||||||
|
"advanced.duck.title": "process everything on device",
|
||||||
|
"advanced.duck.description": "very wip, may cause critical issues or not work at all. this toggle will probably be gone by release.",
|
||||||
|
|
||||||
"processing.community": "community instances",
|
"processing.community": "community instances",
|
||||||
"processing.enable_custom.title": "use a custom processing server",
|
"processing.enable_custom.title": "use a custom processing server",
|
||||||
"processing.enable_custom.description": "cobalt will use a custom processing instance if you choose to. even though cobalt has some security measures in place, we are not responsible for any damages done via a community instance, as we have no control over them.\n\nplease be mindful of what instances you use and make sure they're hosted by people you trust.",
|
"processing.enable_custom.description": "cobalt will use a custom processing instance if you choose to. even though cobalt has some security measures in place, we are not responsible for any damages done via a community instance, as we have no control over them.\n\nplease be mindful of what instances you use and make sure they're hosted by people you trust.",
|
||||||
|
|
|
@ -91,7 +91,9 @@
|
||||||
<UpdateNotification />
|
<UpdateNotification />
|
||||||
{/if}
|
{/if}
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<ProcessingQueue />
|
{#if $settings.advanced.duck}
|
||||||
|
<ProcessingQueue />
|
||||||
|
{/if}
|
||||||
{#if ($turnstileEnabled && $page.url.pathname === "/") || $turnstileCreated}
|
{#if ($turnstileEnabled && $page.url.pathname === "/") || $turnstileCreated}
|
||||||
<Turnstile />
|
<Turnstile />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -15,6 +15,15 @@
|
||||||
/>
|
/>
|
||||||
</SettingsCategory>
|
</SettingsCategory>
|
||||||
|
|
||||||
|
<SettingsCategory sectionId="local-processing" title={$t("settings.advanced.duck")} beta>
|
||||||
|
<SettingsToggle
|
||||||
|
settingContext="advanced"
|
||||||
|
settingId="duck"
|
||||||
|
title={$t("settings.advanced.duck.title")}
|
||||||
|
description={$t("settings.advanced.duck.description")}
|
||||||
|
/>
|
||||||
|
</SettingsCategory>
|
||||||
|
|
||||||
<SettingsCategory sectionId="data" title={$t("settings.advanced.data")}>
|
<SettingsCategory sectionId="data" title={$t("settings.advanced.data")}>
|
||||||
<ManageSettings />
|
<ManageSettings />
|
||||||
</SettingsCategory>
|
</SettingsCategory>
|
||||||
|
|
Loading…
Reference in a new issue