Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: fix spelling mistakes

QiShaoXuan2d3ae52bbd22
diff --git a/libs/components/editor-core/src/block-pendant/utils.ts b/libs/components/editor-core/src/block-pendant/utils.ts
index 116328ead8..d2807dbb85 100644
--- a/libs/components/editor-core/src/block-pendant/utils.ts
+++ b/libs/components/editor-core/src/block-pendant/utils.ts
@@ -184,7 +184,7 @@ export const checkPendantForm = (
newValue: any
): { passed: boolean; message: string } => {
if (!fieldTitle) {
- return { passed: false, message: 'Please input field title !' };
+ return { passed: false, message: 'The field title cannot be empty !' };
}
if (
@@ -195,7 +195,7 @@ export const checkPendantForm = (
if (!newProperty) {
return {
passed: false,
- message: 'Ensure at least on non-empty option !',
+ message: 'Ensure at least one non-empty option !',
};
}
}
@@ -203,7 +203,7 @@ export const checkPendantForm = (
if (!newProperty) {
return {
passed: false,
- message: 'Ensure at least on non-empty option !',
+ message: 'Ensure at least one non-empty option !',
};
}
}
@@ -215,7 +215,7 @@ export const checkPendantForm = (
if (!newValue) {
return {
passed: false,
- message: `Please input content !`,
+ message: `The content of the input must not be empty !`,
};
}
}