From a46972c9a5dc9f0bb166cae65996f422b339f275 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 31 Aug 2024 15:32:02 +0600 Subject: [PATCH] web/SettingsCategory: add ability to mark features as beta --- web/i18n/en/settings.json | 4 ++- .../settings/SettingsCategory.svelte | 30 ++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.json index 6baddb1f..031b381a 100644 --- a/web/i18n/en/settings.json +++ b/web/i18n/en/settings.json @@ -123,5 +123,7 @@ "processing.enable_custom.title": "use a custom processing server", "processing.enable_custom.description": "cobalt will use a custom processing server if you choose to. even though cobalt has some security measures in place, we are not responsible for any damage 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.custom.placeholder": "custom instance domain" + "processing.custom.placeholder": "custom instance domain", + + "feature.beta": "BETA" } diff --git a/web/src/components/settings/SettingsCategory.svelte b/web/src/components/settings/SettingsCategory.svelte index 95a769ac..62166fd5 100644 --- a/web/src/components/settings/SettingsCategory.svelte +++ b/web/src/components/settings/SettingsCategory.svelte @@ -1,10 +1,12 @@