chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -56,7 +56,7 @@ const mockSetInfoRules: {
message: I18n.t('create_plugin_modal_nameerror'),
}
: {
pattern: /^[\w\s\u4e00-\u9fa5]+$/u, //
pattern: /^[\w\s\u4e00-\u9fa5]+$/u, // Increased domestic support for Chinese
message: I18n.t('create_plugin_modal_nameerror_cn'),
},
],
@@ -115,10 +115,10 @@ export const MockSetEditModal = ({
}: MockSetEditModalProps) => {
const formApiRef = useRef<FormApi<EditMockSetInfo>>();
// 根据是否传入 id 判断是否为创建场景
// Determine whether to create a scene based on whether to pass in the id
const isCreate = !initialInfo.id;
// space信息
// Space information
const spaceType = useSpaceStore(s => s.space.space_type);
const isPersonal = spaceType === SpaceType.Personal;
@@ -213,7 +213,7 @@ export const MockSetEditModal = ({
>
{({ formState }) => (
<>
{/* mockSet名称 */}
{/* mockSet name */}
{disabled ? (
<Form.Slot
label={{
@@ -241,7 +241,7 @@ export const MockSetEditModal = ({
rules={mockSetInfoRules.name}
/>
)}
{/* mockSet描述 */}
{/* mockSet description */}
{disabled ? (
<Form.Slot
label={{