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

@@ -30,7 +30,7 @@ export const MessageList = () => {
const ref = useRef<HTMLDivElement>(null);
// 自动滚动到最后一条消息
// Automatically scroll to the last message
useEffect(() => {
const lastChild = ref.current?.lastElementChild;
lastChild?.scrollIntoView();

View File

@@ -33,7 +33,7 @@ export const useQuestionForm = (questionEvent: NodeEvent | undefined) => {
patch: store.patch,
}));
const eventSync = useMemoizedFn((event: NodeEvent | undefined) => {
// 结束
// end
if (!event) {
testRunService.continueTestRun();
return;

View File

@@ -38,7 +38,7 @@ export interface QuestionFormState {
}
export interface QuestionFormAction {
/** 更新状态 */
/** update status */
patch: (next: Partial<QuestionFormState>) => void;
}

View File

@@ -37,7 +37,7 @@ export const useSendMessage = () => {
const testRunService = useTestRunService();
const send = useMemoizedFn(async (text: string) => {
// 前端先填入回答
// Fill in the answer first
const temp: ReceivedMessage = {
content: text,
type: MessageType.Answer,