fix(core): fix delete doc property description (#8772)

This commit is contained in:
EYHN
2024-11-11 06:48:04 +00:00
parent 7bdad2dc4b
commit 9239eed6a7

View File

@@ -186,13 +186,12 @@ export const EditDocPropertyMenuItems = ({
description: ( description: (
<Trans <Trans
values={{ values={{
name: propertyInfo.name, name: name,
}} }}
i18nKey="com.affine.settings.workspace.properties.delete-property-desc" i18nKey="com.affine.settings.workspace.properties.delete-property-desc"
> >
The <strong>{{ name: propertyInfo.name } as any}</strong>{' '} The <strong>{{ name: name } as any}</strong> property will be
property will be removed from count doc(s). This action cannot removed from count doc(s). This action cannot be undone.
be undone.
</Trans> </Trans>
), ),
confirmText: t['Confirm'](), confirmText: t['Confirm'](),