fix: Clarify new doc insertion menu items

This commit is contained in:
Tom Moor
2024-04-17 19:40:38 -04:00
parent 9d3ff7f35f
commit 30b7079508

View File

@@ -50,7 +50,19 @@ function NewChildDocumentMenu({ document, label }: Props) {
},
{
type: "route",
title: t("New nested document"),
title: (
<span>
<Trans
defaults="New document in <em>{{ collectionName }}</em>"
values={{
collectionName: document.title,
}}
components={{
em: <strong />,
}}
/>
</span>
),
to: newDocumentPath(document.collectionId, {
parentDocumentId: document.id,
}),