From fb96900186661765c9f8f4ebbf0e3e84704358da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 23 Mar 2024 17:35:29 +0100 Subject: [PATCH] Added human document category --- app/i18n/locales/en/common.json | 3 ++- app/i18n/locales/fr/common.json | 3 ++- components/generation-item.tsx | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/i18n/locales/en/common.json b/app/i18n/locales/en/common.json index 01500492..e2116185 100644 --- a/app/i18n/locales/en/common.json +++ b/app/i18n/locales/en/common.json @@ -257,5 +257,6 @@ "manual": "Manual", "manual-desc": "Write a document manually.", "new-doc": "New document", - "doc-title": "Title" + "doc-title": "Title", + "manual-doc": "Document (Human)" } diff --git a/app/i18n/locales/fr/common.json b/app/i18n/locales/fr/common.json index 32ce0926..23d53137 100644 --- a/app/i18n/locales/fr/common.json +++ b/app/i18n/locales/fr/common.json @@ -255,5 +255,6 @@ "manual": "Manuel", "manual-desc": "RĂ©diger manuellement un document.", "new-doc": "Nouveau document", - "doc-title": "Titre" + "doc-title": "Titre", + "manual-doc": "Document (Humain)" } diff --git a/components/generation-item.tsx b/components/generation-item.tsx index d693d2a8..d064b457 100644 --- a/components/generation-item.tsx +++ b/components/generation-item.tsx @@ -92,6 +92,8 @@ export function GenerationItem(props: { return t("motivation-letter"); case "rephraser": return t("rephraser"); + case "manual": + return t("manual-doc"); default: return t("paragraph"); }