Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🌐 chore: translate non-English comments to English in chat store (#13728)

LobeHub Bot44c569c5db18
diff --git a/apps/cli/src/commands/migrate/openclaw.ts b/apps/cli/src/commands/migrate/openclaw.ts
index 182b75bf9d1..98b64115d0d 100644
--- a/apps/cli/src/commands/migrate/openclaw.ts
+++ b/apps/cli/src/commands/migrate/openclaw.ts
@@ -208,7 +208,7 @@ function readAgentProfile(workspacePath: string): AgentProfile {
// Try to extract **Emoji:** value (single emoji)
const emojiMatch = content.match(/\*{0,2}Emoji:?\*{0,2}\s*(.+)/i);
const rawAvatar = emojiMatch ? emojiMatch[1].trim() : undefined;
- // Filter out placeholder text like (待定), _(待定)_, (TBD), N/A, etc.
+ // Filter out placeholder text like (待定)(Chinese TBD), _(待定)_, (TBD), N/A, etc.
const isPlaceholder =
rawAvatar && /^[_*((].*[))_*]$|^(?:tbd|todo|n\/?a|none|待定|未定)$/i.test(rawAvatar);
const avatar = rawAvatar && !isPlaceholder ? rawAvatar : undefined;
diff --git a/packages/types/src/aiChat.ts b/packages/types/src/aiChat.ts
index 92febbf53ee..2e1dd8eb855 100644
--- a/packages/types/src/aiChat.ts
+++ b/packages/types/src/aiChat.ts
@@ -73,7 +73,7 @@ export interface SendMessageServerParams {
preloadMessages?: SendPreloadMessage[];
sessionId?: string;
threadId?: string;
- // if there is activeTopicId,then add topicId to message
+ // if there is activeTopicId, then add topicId to message
topicId?: string;
}
diff --git a/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts b/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts
index d623310cffa..c6b38cc7cc0 100644
--- a/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts
+++ b/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts
@@ -305,7 +305,7 @@ export class ConversationLifecycleActionImpl {
files: fileIdList,
role: 'user',
agentId: operationContext.agentId,
- // if there is topicId,then add topicId to message
+ // if there is topicId, then add topicId to message
topicId: operationContext.topicId ?? undefined,
threadId: operationContext.threadId ?? undefined,
imageList: tempImages.length > 0 ? tempImages : undefined,
@@ -320,7 +320,7 @@ export class ConversationLifecycleActionImpl {
content: LOADING_FLAT,
role: 'assistant',
agentId: operationContext.agentId,
- // if there is topicId,then add topicId to message
+ // if there is topicId, then add topicId to message
topicId: operationContext.topicId ?? undefined,
threadId: operationContext.threadId ?? undefined,
// Pass isSupervisor metadata for group orchestration (consistent with server)
@@ -407,7 +407,7 @@ export class ConversationLifecycleActionImpl {
parentId,
},
preloadMessages: undefined,
- // if there is topicId,then add topicId to message
+ // if there is topicId, then add topicId to message
topicId: topicId ?? undefined,
threadId: operationContext.threadId ?? undefined,
// Support creating new thread along with message