Skip to content
4 changes: 2 additions & 2 deletions frontend/src/__tests__/timingClaims.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ describe('timing claims in the copy', () => {
// at 2.54 s (install 1.83 + provision 0.63); walk 4: 2.47 s.
// QA report qa-hosted-oob-5, timing table.
test('click to live says "a few seconds", in both languages', () => {
expect(en.agentByo.mode.hostedMeta).toBe('Live in a few seconds · Beta: {{turns}} turns a day');
expect(en.agentByo.compact.lead).toBe('Live in a few seconds.');
expect(en.agentByo.mode.hostedMeta).toBe('Nothing to install. Live in a few seconds. Beta: {{turns}} turns a day.');
expect(en.agentByo.compact.lead).toBe('Live in a few seconds. Beta: {{agents}} hosted agent per account, {{turns}} turns a day.');
expect(zh.agentByo.mode.hostedMeta).toContain('几秒');
expect(zh.agentByo.compact.lead).toContain('几秒');
});
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/i18n/__tests__/i18n.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ describe('i18n configuration', () => {
});

it('uses a Chinese comma in the BYO machine hint', () => {
const hint = i18n.t('agentByo.mode.machineHint', { lng: 'zh-CN' });
expect(hint).toBe('在你已添加的电脑上运行,你的文件、你的 CLI');
const hint = i18n.t('agentByo.mode.machineMeta', { lng: 'zh-CN' });
expect(hint).toBe('在你已添加的电脑上运行,用你的文件和 CLI。需要那台电脑运行 Commonly 守护进程。');
expect(hint).not.toContain('—');
});
});
27 changes: 10 additions & 17 deletions frontend/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"avatar": {
"regenerate": "Regenerate",
"uploadPhoto": "Upload photo",
"description": "No face and no skin tone until you choose one. Regenerate for another, or upload a photo.",
"description": "Regenerate for another, or upload a photo.",
"descriptionAfterChoice": "Regenerate for another, or upload a photo.",
"uploadTitle": "Upload photo",
"cropPreview": "Avatar crop preview",
Expand Down Expand Up @@ -495,7 +495,7 @@
"people": "Invite people",
"agent": "Add agent"
},
"peopleHint": "Create a link anyone with a Commonly account can use to join this pod.",
"peopleHint": "Anyone with the link can join.",
"podMember": "Pod member",
"options": {
"expiresAfter": "Expires after",
Expand All @@ -513,7 +513,6 @@
"generate": "Generate invite link",
"generating": "Generating…",
"newLinkLabel": "New invite link",
"newLinkHint": "The new link also appears under Active links below.",
"activeLinks": "Active links",
"loadingLinks": "Loading links…",
"noActiveLinks": "No active invite links.",
Expand Down Expand Up @@ -541,7 +540,7 @@
"unavailable": "Expiry unavailable",
"expiresOn": "Expires {{date}}"
},
"agentHint": "Add an agent — Claude Code or Codex, or run one here — and it joins this pod. Takes about two minutes.",
"agentHint": "Claude Code, Codex, or run one here.",
"connectOwnAgent": "Connect your own agent →",
"errors": {
"loadFailed": "Could not load invite links.",
Expand Down Expand Up @@ -1627,7 +1626,7 @@
"description": "A running agent answers @mentions in its pod.",
"form": {
"nameLabel": "Agent name",
"nameHint": "Lower-case letters, digits, and dashes. It posts under this name.",
"nameHint": "Lowercase letters, digits and dashes.",
"podLabel": "Pod it joins",
"loadingPods": "Loading pods…",
"machineLabel": "Computer",
Expand Down Expand Up @@ -1682,7 +1681,7 @@
"cursorInstall": "Add to Cursor",
"cursorInstallHint": "The link adds Commonly with a placeholder key. Replace it in Cursor’s MCP settings with the key above.",
"memory": "Bring its memory (optional)",
"claudeCodeBody": "Gives your own Claude Code sessions Commonly’s tools. It does not make {{name}} answer @mentions; the command above does.",
"claudeCodeBody": "Gives your Claude Code sessions Commonly’s tools. Answering @mentions needs the command above.",
"claudeCodeBodyOwn": "Gives your own Claude Code sessions Commonly’s tools.",
"claudeCodeBodyWindows": "Paste both lines in PowerShell. They give your own Claude Code sessions on this machine Commonly’s tools.",
"claudeCodeMain": "Let Claude Code use the pod in your own sessions"
Expand Down Expand Up @@ -1738,17 +1737,12 @@
"mode": {
"label": "Where should it run?",
"hosted": "Run it here",
"hostedHint": "Commonly runs it for you. Nothing to install. Beta: {{turns}} turns a day.",
"byo": "Use my own agent",
"byoHint": "Your Claude Code or Codex, on your computer.",
"onCommonly": "on Commonly",
"yours": "your machine",
"hostedMeta": "Live in a few seconds · Beta: {{turns}} turns a day",
"byoMeta": "One command in Terminal",
"hostedMeta": "Nothing to install. Live in a few seconds. Beta: {{turns}} turns a day.",
"byoMeta": "Your Claude Code or Codex, on your computer. One command in Terminal.",
"moreAbout": "More about {{mode}}",
"machine": "On my computer",
"machineHint": "Runs on a computer you've added — your files, your CLIs",
"machineMeta": "Needs the Commonly daemon running there"
"machineMeta": "Runs on a computer you've added, with your files and CLIs. Needs the Commonly daemon running there."
},
"hosted": {
"offerAction": "Run it here instead",
Expand Down Expand Up @@ -1798,7 +1792,7 @@
},
"compact": {
"title": "Run an agent here",
"lead": "Live in a few seconds.",
"lead": "Live in a few seconds. Beta: {{agents}} hosted agent per account, {{turns}} turns a day.",
"joins": "It joins {{pod}} as {{name}}.",
"change": "Change",
"limits": "Beta: {{agents}} hosted agent per account, {{turns}} turns a day.",
Expand Down Expand Up @@ -2224,7 +2218,7 @@
},
"own": {
"title": "Your own agent",
"text": "Claude Code, Codex, or anything that speaks the protocol. One command on your machine; it keeps its identity here.",
"text": "Claude Code or Codex, from your own machine.",
"command": "npx @commonlyai/cli agent attach claude",
"setup": "Set it up"
}
Expand Down Expand Up @@ -2306,7 +2300,6 @@
"codeExpired": "The enable code expired.",
"connect": "Connect",
"connectChannel": "Connect a channel",
"connectChannelHint": "Choose a channel and the pod it should join.",
"copied": "Copied",
"copyCommand": "Copy command",
"description": "Each channel gets one agent from a pod. It answers there in its own name; the rest of the team stays behind it.",
Expand Down
27 changes: 10 additions & 17 deletions frontend/src/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"avatar": {
"regenerate": "换一个",
"uploadPhoto": "上传照片",
"description": "选择前不会显示面部或肤色。你可以换一个造型,或上传照片。",
"description": "你可以换一个造型,或上传照片。",
"descriptionAfterChoice": "你可以换一个造型,或上传照片。",
"uploadTitle": "上传照片",
"cropPreview": "头像裁剪预览",
Expand Down Expand Up @@ -495,7 +495,7 @@
"people": "邀请成员",
"agent": "添加智能体"
},
"peopleHint": "创建邀请链接,拥有 Commonly 账号的人都能用它加入这个 Pod。",
"peopleHint": "拿到链接的人都能加入。",
"podMember": "Pod 成员",
"options": {
"expiresAfter": "有效期",
Expand All @@ -513,7 +513,6 @@
"generate": "生成邀请链接",
"generating": "正在生成…",
"newLinkLabel": "新邀请链接",
"newLinkHint": "新链接也会出现在下方的有效链接中。",
"activeLinks": "有效链接",
"loadingLinks": "正在加载链接…",
"noActiveLinks": "暂无有效邀请链接。",
Expand Down Expand Up @@ -541,7 +540,7 @@
"unavailable": "无法查看有效期",
"expiresOn": "{{date}} 到期"
},
"agentHint": "添加一个智能体 —— Claude Code 或 Codex,或在这里运行一个 —— 它就会加入这个 Pod。大约需要两分钟。",
"agentHint": "Claude Code、Codex,或在这里运行一个。",
"connectOwnAgent": "连接你自己的智能体 →",
"errors": {
"loadFailed": "邀请链接加载失败。",
Expand Down Expand Up @@ -1686,7 +1685,7 @@
"description": "智能体运行期间会在所在 Pod 回复 @提及。",
"form": {
"nameLabel": "智能体名称",
"nameHint": "仅支持小写字母、数字和连字符。它会用这个名字发言。",
"nameHint": "仅支持小写字母、数字和连字符。",
"podLabel": "要加入的 Pod",
"loadingPods": "正在加载 Pod…",
"machineLabel": "电脑",
Expand Down Expand Up @@ -1741,7 +1740,7 @@
"cursorInstall": "添加到 Cursor",
"cursorInstallHint": "该链接会以占位密钥添加 Commonly。请在 Cursor 的 MCP 设置中将其替换为上面的密钥。",
"memory": "导入它的记忆(可选)",
"claudeCodeBody": "为你自己的 Claude Code 会话加上 Commonly 的工具。它不会让 {{name}} 回复 @提及,上面那条命令才会。",
"claudeCodeBody": "为你的 Claude Code 会话加上 Commonly 的工具。回复 @提及需要上面的命令。",
"claudeCodeBodyOwn": "为你自己的 Claude Code 会话加上 Commonly 的工具。",
"claudeCodeBodyWindows": "两行都粘贴到 PowerShell 里运行。这样你在这台电脑上的 Claude Code 会话就能用上 Commonly 的工具。",
"claudeCodeMain": "让 Claude Code 在你自己的会话里使用这个 Pod"
Expand Down Expand Up @@ -1797,17 +1796,12 @@
"mode": {
"label": "在哪里运行?",
"hosted": "在这里运行",
"hostedHint": "由 Commonly 代为运行,无需安装。测试期:每天{{turns}}轮。",
"byo": "用我自己的智能体",
"byoHint": "你电脑上的 Claude Code 或 Codex。",
"onCommonly": "在 Commonly 上",
"yours": "你的电脑",
"hostedMeta": "几秒即可上线 · 测试期每天{{turns}}轮",
"byoMeta": "只需一条终端命令",
"hostedMeta": "无需安装,几秒即可上线。测试期每天{{turns}}轮。",
"byoMeta": "你电脑上的 Claude Code 或 Codex,只需一条终端命令。",
"moreAbout": "更多关于{{mode}}的信息",
"machine": "在我的电脑上",
"machineHint": "在你已添加的电脑上运行,你的文件、你的 CLI",
"machineMeta": "需要那台电脑运行 Commonly 守护进程"
"machineMeta": "在你已添加的电脑上运行,用你的文件和 CLI。需要那台电脑运行 Commonly 守护进程。"
},
"hosted": {
"offerAction": "改为在这里运行",
Expand Down Expand Up @@ -1857,7 +1851,7 @@
},
"compact": {
"title": "在这里运行智能体",
"lead": "几秒后即可上线。",
"lead": "几秒后即可上线。测试期:每个账号{{agents}}个托管智能体,每天{{turns}}轮。",
"joins": "它会以 {{name}} 的身份加入 {{pod}}。",
"change": "更改",
"limits": "测试期:每个账号{{agents}}个托管智能体,每天{{turns}}轮。",
Expand Down Expand Up @@ -2214,7 +2208,7 @@
},
"own": {
"title": "你自己的智能体",
"text": "Claude Code、Codex,或任何支持该协议的工具。在你的机器上运行一条命令,它的身份保留在这里。",
"text": "你自己电脑上的 Claude Code 或 Codex。",
"command": "npx @commonlyai/cli agent attach claude",
"setup": "开始设置"
}
Expand Down Expand Up @@ -2296,7 +2290,6 @@
"codeExpired": "启用码已过期。",
"connect": "连接",
"connectChannel": "连接频道",
"connectChannelHint": "选择频道,以及它要加入的 Pod。",
"copied": "已复制",
"copyCommand": "复制命令",
"description": "每个频道从一个 Pod 接入一个智能体。它会在那里以自己的名义回复,其余团队成员都在幕后。",
Expand Down
Loading
Loading