Skip to content

Commit 516efe1

Browse files
committed
fix(macos): shorten onboarding work area options
Signed-off-by: xunzhuo <xunzhuo@vllm-semantic-router.ai>
1 parent fe6ae84 commit 516efe1

3 files changed

Lines changed: 63 additions & 59 deletions

File tree

apps/macos/Sources/AppLocalization.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,9 @@ enum AppText {
451451
case .workSubtitle:
452452
return pick(language, en: "Give Elephant enough context to meet you where life is happening now.", zh: "给 Elephant 一点当前语境,让它知道最近该从哪里接住你。", fr: "Donnez à Elephant assez de contexte pour vous rejoindre là où votre vie se passe maintenant.", de: "Gib Elephant genug Kontext, um dort anzusetzen, wo gerade etwas passiert.")
453453
case .currentWork:
454-
return pick(language, en: "Current roles", zh: "你现在承担的角色", fr: "Rôles actuels", de: "Aktuelle Rollen")
454+
return pick(language, en: "Work areas", zh: "职业领域", fr: "Domaines de travail", de: "Arbeitsbereiche")
455455
case .currentWorkPlaceholder:
456-
return pick(language, en: "Choose one or more", zh: "可以多选", fr: "Choisissez-en un ou plusieurs", de: "Eine oder mehrere wählen")
456+
return pick(language, en: "Choose one or more", zh: "可多选", fr: "Choisissez-en un ou plusieurs", de: "Eine oder mehrere wählen")
457457
case .school:
458458
return pick(language, en: "School or organization", zh: "学校/组织", fr: "École ou organisation", de: "Schule oder Organisation")
459459
case .optional:

apps/macos/Sources/AppModel.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ func onboardingBabyRoleTemplates(for occupation: String, language: AppLanguage)
322322
)
323323
}
324324

325-
if containsAny(["engineer", "developer", "code", "coding", "technical", "systems", "程序", "工程", "技术", "研发", "代码", "système", "technique", "technik", "system"]) {
325+
if containsAny(["engineer", "developer", "technology", "code", "coding", "technical", "systems", "程序", "工程", "技术", "研发", "代码", "système", "technique", "technik", "technologie", "system"]) {
326326
return [
327327
template("engineering-coding", "coding baby elephant", "编码小象", "Code changes and validation.", "写代码、改代码和验证。", "Use this baby elephant for implementation plans, code changes, terminal investigation, and validation-heavy engineering work.", "把实现方案、代码修改、终端排查和验证密集的工程任务交给这只小象。", "curlybraces.square"),
328328
template("engineering-research", "research baby elephant", "研究小象", "Context, APIs, and tradeoffs.", "查上下文、API 和技术取舍。", "Use this baby elephant for technical research, source reading, API comparison, and implementation options.", "把技术调研、资料阅读、API 对比和实现选型交给这只小象。", "doc.text.magnifyingglass"),
@@ -338,23 +338,23 @@ func onboardingBabyRoleTemplates(for occupation: String, language: AppLanguage)
338338
template("product-copy", "copy baby elephant", "文案小象", "Interface language and tone.", "界面语言和语气。", "Use this baby elephant for interface copy, empty states, labels, onboarding text, and tone consistency.", "把界面文案、空状态、标签、onboarding 文案和语气一致性交给这只小象。", "text.quote")
339339
]
340340
}
341-
if containsAny(["research", "student", "learning", "teaching", "study", "研究", "学生", "学术", "学习", "教学", "apprentissage", "enseignement", "recherche", "lernen", "lehren", "forschung"]) {
341+
if containsAny(["research", "student", "learning", "teaching", "study", "transition", "job search", "care", "education", "medical", "health", "研究", "学生", "学术", "学习", "教学", "转型", "求职", "换方向", "暂停", "照护", "教育", "医疗", "心理", "健康", "apprentissage", "enseignement", "recherche", "transition", "soin", "santé", "lernen", "lehren", "forschung", "fürsorge", "gesundheit"]) {
342342
return [
343343
template("research-synthesis", "research baby elephant", "研究小象", "Context, sources, and synthesis.", "上下文、资料和综合。", "Use this baby elephant for research, source comparison, reading notes, and synthesis before the primary Elephant answers.", "把研究、资料对比、阅读笔记和回答前综合交给这只小象。", "doc.text.magnifyingglass"),
344344
template("research-learning", "learning baby elephant", "学习小象", "Study paths and examples.", "学习路径和例子。", "Use this baby elephant for study plans, concept checks, examples, and learning follow-ups.", "把学习计划、概念检查、例子和后续学习提醒交给这只小象。", "graduationcap"),
345345
template("research-literature", "literature baby elephant", "文献小象", "Papers, docs, and references.", "论文、文档和引用。", "Use this baby elephant for paper digestion, long-document outlines, claims, limitations, and references.", "把论文消化、长文提纲、核心主张、局限和引用整理交给这只小象。", "books.vertical"),
346346
template("research-writing", "writing baby elephant", "写作小象", "Drafts, abstracts, and clarity.", "草稿、摘要和表达清晰度。", "Use this baby elephant for abstracts, paper drafts, study notes, and making complex material clear.", "把摘要、论文草稿、学习笔记和复杂材料的清晰表达交给这只小象。", "pencil.and.outline")
347347
]
348348
}
349-
if containsAny(["operations", "project", "process", "workflow", "运营", "项目", "推进", "流程", "projet", "processus", "opérations", "projekt", "prozesse", "abläufe"]) {
349+
if containsAny(["operations", "project", "process", "workflow", "support", "admin", "customer service", "运营", "项目", "推进", "流程", "支持", "行政", "客服", "助理", "事务", "projet", "processus", "opérations", "support", "administratif", "projekt", "prozesse", "abläufe"]) {
350350
return [
351351
template("ops-project", "project baby elephant", "项目小象", "Milestones, owners, blockers.", "里程碑、责任人和阻塞。", "Use this baby elephant for project plans, owner mapping, blocker summaries, and execution rhythm.", "把项目计划、责任人梳理、阻塞摘要和推进节奏交给这只小象。", "checklist"),
352352
template("ops-process", "process baby elephant", "流程小象", "Systems, handoffs, repeatability.", "系统、交接和可复用流程。", "Use this baby elephant for process design, SOPs, handoffs, and repeatable operating systems.", "把流程设计、SOP、协作交接和可复用运营系统交给这只小象。", "arrow.triangle.2.circlepath"),
353353
template("ops-review", "review baby elephant", "复盘小象", "Signals, lessons, next changes.", "信号、经验和下一步改动。", "Use this baby elephant for weekly reviews, retrospectives, metrics notes, and improvement options.", "把周复盘、项目复盘、指标笔记和改进选项交给这只小象。", "chart.line.uptrend.xyaxis"),
354354
template("ops-communication", "communication baby elephant", "沟通小象", "Updates, alignment, follow-up.", "同步、对齐和跟进。", "Use this baby elephant for updates, stakeholder notes, meeting follow-ups, and clear asks.", "把进展同步、相关方笔记、会议跟进和清晰请求交给这只小象。", "bubble.left.and.bubble.right")
355355
]
356356
}
357-
if containsAny(["founder", "business", "manager", "leadership", "team", "freelance", "创业", "经营", "管理", "团队", "自由职业", "entreprise", "indépendant", "équipe", "gründung", "geschäft", "team", "freiberuflich"]) {
357+
if containsAny(["founder", "business", "manager", "leadership", "team", "freelance", "services", "consulting", "legal", "finance", "advisory", "创业", "经营", "管理", "团队", "自由职业", "服务", "咨询", "法律", "财务", "顾问", "entreprise", "indépendant", "équipe", "services", "conseil", "droit", "finance", "gründung", "geschäft", "team", "freiberuflich", "beratung"]) {
358358
return [
359359
template("business-strategy", "strategy baby elephant", "策略小象", "Clarify direction and leverage.", "澄清方向和杠杆点。", "Use this baby elephant for strategy memos, market reads, prioritization, and decision options.", "把策略 memo、市场判断、优先级和决策选项交给这只小象。", "chart.line.uptrend.xyaxis"),
360360
template("business-ops", "ops baby elephant", "运营小象", "Turn plans into operating rhythm.", "把计划落成节奏。", "Use this baby elephant for operating checklists, weekly reviews, process design, and follow-through.", "把运营清单、周复盘、流程设计和推进跟踪交给这只小象。", "checklist"),

0 commit comments

Comments
 (0)