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

@@ -59,7 +59,7 @@ export const ProjectInfo = () => {
const { modalContextHolder, openModal } = useUpdateProjectModal({
onSuccess: () => {
updateProjectInfo();
// 更新 info 信息
// Update info
Toast.success(I18n.t('project_ide_toast_edit_success'));
},
});
@@ -71,13 +71,13 @@ export const ProjectInfo = () => {
);
/**
* 可编辑判断:
* 1. 有编辑权限
* 2. 非预览态
* Editable judgment:
* 1. Have editing permission
* 2. Non-preview state
*/
const canEdit = canAuthEdit && !version;
// 打开 project 编辑弹窗
// Open the project editing pop-up
const handleEditProject = useCallback(() => {
openModal({
initialValue,
@@ -119,7 +119,7 @@ export const ProjectInfo = () => {
>
{projectInfo?.name}
</COZTitle>
{/* 权限判断 */}
{/* permission judgment */}
{canEdit ? (
<IconButton
color="secondary"