From ee8e0a459944b8e6e5fbc0621545b7d950beb37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 25 Nov 2023 19:59:27 +0100 Subject: [PATCH] Added new Generation Settings section --- app/[lng]/create/page.tsx | 14 +++++++++++--- app/i18n/locales/en/common.json | 3 ++- app/i18n/locales/fr/common.json | 3 ++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/[lng]/create/page.tsx b/app/[lng]/create/page.tsx index b74c04de..af326b2f 100644 --- a/app/[lng]/create/page.tsx +++ b/app/[lng]/create/page.tsx @@ -7,8 +7,10 @@ import { v4 as uuidv4 } from "uuid"; import { Hand, Info, + Lightbulb, Loader2, LucideFileWarning, + PenBox, RefreshCcw, Settings as SettingsLogo, Sparkles, @@ -640,8 +642,14 @@ export default function CreatePage({ )}
-

- {t("format")} - {t(typesToString(type))} - {getModelString(model)} +

{t("gen-settings")}

+

+ + {t(typesToString(type))} +

+

+ + {getModelString(model)}

@@ -671,7 +679,7 @@ export default function CreatePage({ {!errorVis && !res && (
diff --git a/app/i18n/locales/en/common.json b/app/i18n/locales/en/common.json index a607ebe1..b4b9a972 100644 --- a/app/i18n/locales/en/common.json +++ b/app/i18n/locales/en/common.json @@ -86,5 +86,6 @@ "tones-informative": "Informative", "tones-funny": "Funny", "table": "Table", - "format-desc": "A generation format is a mode in which Synapsy Write generates text." + "format-desc": "A generation format is a mode in which Synapsy Write generates text.", + "gen-settings": "Generation Settings" } diff --git a/app/i18n/locales/fr/common.json b/app/i18n/locales/fr/common.json index d0c90ee5..d01736b3 100644 --- a/app/i18n/locales/fr/common.json +++ b/app/i18n/locales/fr/common.json @@ -86,5 +86,6 @@ "tones-informative": "Informatif", "tones-funny": "Drôle", "table": "Tableau", - "format-desc": "Un format de génération est une manière dont Synapsy Write va générer du texte." + "format-desc": "Un format de génération est une manière dont Synapsy Write va générer du texte.", + "gen-settings": "Paramètres de génération" }