diff --git a/src/lang/en.ts b/src/lang/en.ts index 02f23194..b6685bd0 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -145,6 +145,7 @@ export const languageEnglish = { moduleIntergration: "You can enable modules by putting the module namespace in the module intergartion sections. if you want to enable multiple modules, you can seperate them by comma. for example, `module1,module2,module3`. this is for advanced users, who wants to vary the use of modules by presets.", customCSS: "Custom CSS for styling. you can also disable/enable it by pressing (Ctrl + .) if something goes wrong.", betaMobileGUI: "If enabled, it will use beta mobile GUI on small (less than 800px) screens. requires refresh.", + unrecommended: "This is a unrecommended setting. it is not recommended to use this setting.", }, setup: { chooseProvider: "Choose AI Provider", diff --git a/src/lib/Setting/Pages/AdvancedSettings.svelte b/src/lib/Setting/Pages/AdvancedSettings.svelte index a973847a..5593e1a3 100644 --- a/src/lib/Setting/Pages/AdvancedSettings.svelte +++ b/src/lib/Setting/Pages/AdvancedSettings.svelte @@ -95,21 +95,23 @@
-
- - - -
-
- - - -
-
- - - -
+{#if $DataBase.useExperimental} +
+ + + +
+
+ + + +
+
+ + + +
+{/if} {#if $DataBase.showUnrecommended}
@@ -143,22 +145,6 @@
{/if} -
- { - // access code is "tendo" - // I just put it on source code so it's not really a secret - // well, if you are reading this, you are a developer, so you can use this feature - // this is for testing 2.0 in real environment, but it's not ready yet - - const accessCode = 'tendo' - $DataBase.tpo = $DataBase.tpo - if(prompt("Access Code") === accessCode){ - $DataBase.tpo = !$DataBase.tpo - } - }}> - - -