Skip to content

Commit

Permalink
Added human document category
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Mar 23, 2024
1 parent f1c00a2 commit fb96900
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/i18n/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
3 changes: 2 additions & 1 deletion app/i18n/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
2 changes: 2 additions & 0 deletions components/generation-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit fb96900

Please sign in to comment.