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 cli-migrate (#14708)

LobeHub Botae2afe860ab2
diff --git a/apps/cli/src/commands/migrate/openclaw.ts b/apps/cli/src/commands/migrate/openclaw.ts
index 98b64115d0d..a73aa88e091 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 (待定)(Chinese TBD), _(待定)_, (TBD), N/A, etc.
+ // Filter out placeholder text like (TBD), _(TBD)_, N/A, and Chinese-language equivalents.
const isPlaceholder =
rawAvatar && /^[_*((].*[))_*]$|^(?:tbd|todo|n\/?a|none|待定|未定)$/i.test(rawAvatar);
const avatar = rawAvatar && !isPlaceholder ? rawAvatar : undefined;