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

@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint-disable @coze-arch/max-line-per-function -- 迁移代码 */
/* eslint-disable @typescript-eslint/no-explicit-any -- 迁移代码 */
/* eslint-disable max-lines -- 迁移代码 */
/* eslint-disable max-lines-per-function -- 迁移代码 */
/* eslint-disable @coze-arch/max-line-per-function -- migrating code */
/* eslint-disable @typescript-eslint/no-explicit-any -- migrate code */
/* eslint-disable max-lines -- migrate code */
/* eslint-disable max-lines-per-function -- migrating code */
import {
useState,
@@ -171,7 +171,7 @@ const MockSetSelectComp = (
const bizCtx: BizCtx = {
...bizSceneCtx,
connectorUID: uid,
connectorID: CONNECTOR_ID, // 业务线为Coze
connectorID: CONNECTOR_ID, // Business line for Coze
};
const { jump } = usePageJumpService();
@@ -457,7 +457,7 @@ const MockSetSelectComp = (
content={getTooltipInfo()}
visible={disabled && focused}
position="left"
style={{ display: disabled ? 'block' : 'none' }} // visible disabled不生效
style={{ display: disabled ? 'block' : 'none' }} // Visible disabled not effective
>
<div
style={style}

View File

@@ -72,7 +72,7 @@ export const MockSetDeleteModal = ({
} = mockSetInfo || {};
const [mockSetRefCount, setMockSetRefCount] = useState(-1);
// space信息
// Space information
const spaceType = useSpaceStore(s => s.space.space_type);
const isPersonal = spaceType === SpaceType.Personal;

View File

@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint-disable @coze-arch/max-line-per-function -- 迁移代码 */
/* eslint-disable @coze-arch/max-line-per-function -- migrating code */
import { useRef } from 'react';
import { I18n } from '@coze-arch/i18n';
@@ -87,10 +87,10 @@ export const MockSetEditModal = ({
const [FLAGS] = useFlags();
// 根据是否传入 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;
@@ -216,7 +216,7 @@ export const MockSetEditModal = ({
>
{({ formState }) => (
<>
{/* mockSet名称 */}
{/* mockSet name */}
{disabled ? (
<Form.Slot
label={{
@@ -244,7 +244,7 @@ export const MockSetEditModal = ({
rules={mockSetInfoRules.name}
/>
)}
{/* mockSet描述 */}
{/* mockSet description */}
{disabled ? (
<Form.Slot
label={{
@@ -273,8 +273,8 @@ export const MockSetEditModal = ({
}}
/>
)}
{/* 二期支持autoGenerate*/}
{/* 社区版暂不支持该功能 */}
{/* Phase II supports autoGenerate*/}
{/* The community edition does not support this function for the time being */}
{isCreate && FLAGS['bot.devops.mockset_auto_generate'] ? (
<>
<Form.Checkbox