mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: fix spelling mistakes
This commit is contained in:
@@ -184,7 +184,7 @@ export const checkPendantForm = (
|
|||||||
newValue: any
|
newValue: any
|
||||||
): { passed: boolean; message: string } => {
|
): { passed: boolean; message: string } => {
|
||||||
if (!fieldTitle) {
|
if (!fieldTitle) {
|
||||||
return { passed: false, message: 'Please input field title !' };
|
return { passed: false, message: 'The field title cannot be empty !' };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
@@ -195,7 +195,7 @@ export const checkPendantForm = (
|
|||||||
if (!newProperty) {
|
if (!newProperty) {
|
||||||
return {
|
return {
|
||||||
passed: false,
|
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) {
|
if (!newProperty) {
|
||||||
return {
|
return {
|
||||||
passed: false,
|
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) {
|
if (!newValue) {
|
||||||
return {
|
return {
|
||||||
passed: false,
|
passed: false,
|
||||||
message: `Please input content !`,
|
message: `The content of the input must not be empty !`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user