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

@@ -94,10 +94,10 @@ export type ProjectTemplateCopySuccessCallback = (param: {
export const useProjectTemplateCopyModal = (props: {
modalTitle: string;
/** 是否需要选择 space */
/** Do you need to choose space? */
isSelectSpace: boolean;
onSuccess?: ProjectTemplateCopySuccessCallback;
/** 埋点参数 - 当前页面/来源 */
/** Event tracking parameters - current page/source */
source: NonNullable<
ParamsTypeDefine[EVENT_NAMES.template_action_front]['source']
>;
@@ -167,7 +167,7 @@ export const useProjectTemplateCopyModal = (props: {
formProps={{
initValues,
onValueChange: val => {
// 当用户删除 input 中所有字符时val.name 字段会消失,而不是空字符串,神秘
// When the user removes all characters in input, val.name field disappears instead of empty string
setIsFormValid(!!val.name?.trim());
},
getFormApi: api => {
@@ -181,7 +181,7 @@ export const useProjectTemplateCopyModal = (props: {
sourceProduct: inputSourceProduct,
}: {
initValue: ProjectTemplateCopyValue;
/** 用于提取埋点参数 */
/** Used to extract event tracking parameters */
sourceProduct: ProductInfo;
}) => {
setInitValues({