diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.json index c450b4b9..c0a4f1df 100644 --- a/web/i18n/en/settings.json +++ b/web/i18n/en/settings.json @@ -113,6 +113,10 @@ "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.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.", diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index b7e7aade..93f45b17 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -91,7 +91,9 @@ {/if}
- + {#if $settings.advanced.duck} + + {/if} {#if ($turnstileEnabled && $page.url.pathname === "/") || $turnstileCreated} {/if} diff --git a/web/src/routes/settings/advanced/+page.svelte b/web/src/routes/settings/advanced/+page.svelte index f66ada39..9a02203f 100644 --- a/web/src/routes/settings/advanced/+page.svelte +++ b/web/src/routes/settings/advanced/+page.svelte @@ -15,6 +15,15 @@ /> + + + +