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

@@ -106,7 +106,7 @@ export function SkillsModal({
});
const imageFlowModalParts = useWorkflowModalParts({
// 如果是仅添加一次/或者添加多次,清空默认选中
// If it is added only once/or multiple times, clear the default selection.
workFlowList: imageFlowList,
onWorkFlowListChange: onImageFlowListChange,
flowMode: WorkflowMode.Imageflow,
@@ -215,7 +215,7 @@ export function SkillsModal({
);
}
// TODO: 后续添加返会新增skill需要用到
// TODO: Follow-up additions will add new skills that need to be used
// export const useSkillsModal = (props: SkillsModalProps) => {
// const pageJumpResp = usePageJumpResponse(PageType.BOT);
// // const [visible, setVisible] = useState(

View File

@@ -114,7 +114,7 @@ export const SingleMode: React.FC<SingleModeProps> = ({
/>
</ContentView>
{/* Debug调试台 */}
{/* Debug bench */}
<BotDebugPanel />
{rightSheetSlot}
<CoachMark />

View File

@@ -76,7 +76,7 @@ export const ToolArea: React.FC<ToolAreaProps> = props => {
title={I18n.t('bot_edit_type_skills')}
toolGroupKey={ToolGroupKey.SKILL}
>
{/* 工具 */}
{/* tool */}
<PluginApisArea
toolKey={ToolKey.PLUGIN}
title={I18n.t('Plugins')}
@@ -95,7 +95,7 @@ export const ToolArea: React.FC<ToolAreaProps> = props => {
title={I18n.t('bot_edit_type_knowledge')}
actionNodes={<DataSetSetting modelId={modelId ?? ''} />}
>
{/* 知识库 */}
{/* Knowledge Base */}
<DataSetArea
initRef={DataSetAreaRef}
toolKey={ToolKey.DOCUMENT}
@@ -125,7 +125,7 @@ export const ToolArea: React.FC<ToolAreaProps> = props => {
toolGroupKey={ToolGroupKey.MEMORY}
title={I18n.t('bot_edit_type_memory')}
>
{/* 变量存储 */}
{/* variable storage */}
<DataMemory
toolKey={ToolKey.VARIABLE}
title={I18n.t('user_profile')}
@@ -136,24 +136,24 @@ export const ToolArea: React.FC<ToolAreaProps> = props => {
toolGroupKey={ToolGroupKey.DIALOG}
title={I18n.t('bot_edit_type_dialog')}
>
{/* 开场白 */}
{/* opening statement */}
<OnboardingMessage
toolKey={ToolKey.ONBOARDING}
title={I18n.t('bot_preview_opening_remarks')}
/>
{/* suggestion 开关 */}
{/* Suggestion switch */}
<SuggestionBlock
toolKey={ToolKey.SUGGEST}
title={I18n.t('bot_edit_suggestion')}
/>
{/* 快捷键shortcut */}
{/* Shortcut shortcut */}
<ShortcutToolConfig
skillModal={SkillsModal}
toolKey={ToolKey.SHORTCUT}
botMode={BotMode.SingleMode}
title={I18n.t('bot_ide_shortcut')}
/>
{/* 聊天背景图片 */}
{/* Chat background image */}
<ChatBackground
toolKey={ToolKey.BACKGROUND}
title={I18n.t('bgi_title')}

View File

@@ -118,7 +118,7 @@ export const WorkflowMode: React.FC<WorkflowModeProps> = ({
toolGroupKey={ToolGroupKey.MEMORY}
title={I18n.t('bot_edit_type_memory')}
>
{/* 变量存储 */}
{/* variable storage */}
<DataMemory
toolKey={ToolKey.VARIABLE}
title={I18n.t('user_profile')}
@@ -129,12 +129,12 @@ export const WorkflowMode: React.FC<WorkflowModeProps> = ({
toolGroupKey={ToolGroupKey.DIALOG}
title={I18n.t('bot_edit_type_dialog')}
>
{/* 开场白 */}
{/* opening statement */}
<OnboardingMessage
toolKey={ToolKey.ONBOARDING}
title={I18n.t('bot_preview_opening_remarks')}
/>
{/* 聊天背景图片 */}
{/* Chat background image */}
<ChatBackground
toolKey={ToolKey.BACKGROUND}
title={I18n.t('bgi_title')}
@@ -240,7 +240,7 @@ export const WorkflowMode: React.FC<WorkflowModeProps> = ({
</ResizableLayout>
</ContentView>
{/* Debug调试台 */}
{/* Debug bench */}
<BotDebugPanel />
{rightSheetSlot}
</AbilityAreaContainer>